0% found this document useful (0 votes)
32 views2 pages

Clock Other Serial: Target Display: 402B Processor: 68HC05C8

This program receives time data from a GPS module in Greenwich Mean Time (GMT) format and displays it in a 12 or 24 hour format with optional time zone adjustment. It can output the time once per second in either HHMMSS or HHMM format for use as a driver board or master. Daylight savings time is also automatically applied based on date. The program requires a 4MHz crystal, battery, Dallas 1302 chip, and 60Hz signal for proper operation.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

Clock Other Serial: Target Display: 402B Processor: 68HC05C8

This program receives time data from a GPS module in Greenwich Mean Time (GMT) format and displays it in a 12 or 24 hour format with optional time zone adjustment. It can output the time once per second in either HHMMSS or HHMM format for use as a driver board or master. Daylight savings time is also automatically applied based on date. The program requires a 4MHz crystal, battery, Dallas 1302 chip, and 60Hz signal for proper operation.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PROGRAM DESCRIPTION SHEET

04/06/09

CLOCK
Processor:
Target Display:

7SEG0183

OTHER

SERIAL

68HC05C8
402B

Path: N:\6805C\GPS
Source Loc: N:\6805C\GPS
Compiled w/: COSMIC
Language: C
Based on: 7SEG0146
Description: General program that receives from the Global Set Positioning GPS module. GPS transmits Time in
UTC Greenwich time, so time zone adapter settings are needed. Program has the ability to display
12 or 24 hour format. Also has transmission once per second to be used as a driver board or a
master. This program also supports daylight savings time automatically based on day of the week
and the correct date from the GPS. Output is selectable between hhmmss and hhmm.
For this to operate properly with gps and slaves - all must be set to 4800 baud.
GPS transmits data at 4800 baud, no parity, and 1 stop bit.
4MHZ CRYSTAL, BATTERY, DALLAS 1302, AND 60HZ REQUIRED:
Control Bd:

1700-402

Baud Rate In:

4800

Baud Rate Out:

4800

Input Protocol:

<$GPRMC><,><HHMMSS.sss><,><A><,><DDMM.MMM><,><d><,><z.z><,><y.y>
<,><DDMMYY><,><d.d><,><v><*hh><CR><LF>
See Manual for Explanation of these characters.

Output Protocol:

<STX><HHMMSS><ETX> if ADDRESS SW 3 is on, or <STX><HHMM><ETX> if off. The HH will


have leading a leading blank if hour is 0-9.

Other inputs:
Other outputs:
Dip Switches:

ADDRESS SWITCH:
BAUD RATE
SWITCH 2
1200 BAUD....................OFF
2400 BAUD....................OFF
4800 BAUD....................ON
9600 BAUD....................ON

SWITCH 1
OFF
ON
OFF
ON

ADDRESS SWITCH 3 - CONTROLS HHMMSS (ON) AND HHMM (OFF) TRANSMIT FORMAT.
12/24 HOUR SELECT:
FUNCTION SWITCH 7
12 HOUR MODE.........................ON

24 HOUR MODE.........................OFF
ADDITION OR SUBTRACTION OF HOURS BASED ON FUNCTION SWITCH:
FUNCTION SWITCH 8
ADDITION OF HOURS.........................OFF
SUBTRACTION OF HOURS................ON

FUNCTION SWITCH:
TIME ZONE ADJUSTMENT:
SWITCH 4
SWITCH 3
SWITCH 2
SWITCH 1
NONE..............................OFF.......................OFF...................OFF......................OFF
1 HOUR...........................OFF.......................OFF...................OFF......................ON
2 HOURS........................OFF.......................OFF...................ON......................OFF
3 HOURS........................OFF.......................OFF...................ON.......................ON
4 HOURS........................OFF.......................ON....................OFF......................OFF
5 HOURS........................OFF.......................ON....................OFF......................ON
6 HOURS........................OFF.......................ON....................ON.......................OFF
7 HOURS........................OFF.......................ON....................ON.......................ON
8 HOURS........................ON........................OFF...................OFF......................OFF
9 HOURS........................ON........................OFF...................OFF......................ON
10 HOURS......................ON........................OFF...................ON.......................OFF
11 HOURS......................ON........................OFF...................ON.......................ON
12 HOURS......................ON........................ON....................OFF......................OFF
13 HOURS......................ON........................ON....................OFF......................ON
14 HOURS......................ON........................ON....................ON........................OFF
15 HOURS......................ON .......................ON .....................ON .......................ON
Date In:
Comment:
Logic:

05/30/02
NOTE: SINCE UTC TIME IS ALWAYS SENT FROM THE GPS, 5 HOURS WILL NEED TO BE
SUBTRACTED FROM TEH FUNCTION SWITCH SETTINGS TO DISPLAY CENTRAL TIME!
Program receives serial input from GPS and retransmits display data.

Released: 05/30/02
Who?: DAVE
Tester: TECHS

Revision History
Revision

Date

Who?

What?

05/30/02

COM

Initial release

You might also like