1132451Sroberto<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2132451Sroberto<html>
3290000Sglebius<head>
4290000Sglebius<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5290000Sglebius<meta name="GENERATOR" content="Mozilla/4.01 [en] (Win95; I) [Netscape]">
6290000Sglebius<title>Heath WWV/WWVH Receiver</title>
7290000Sglebius<link href="scripts/style.css" type="text/css" rel="stylesheet">
8290000Sglebius</head>
9290000Sglebius<body>
10290000Sglebius<h3>Heath WWV/WWVH Receiver</h3>
11290000Sglebius<p>Author: David L. Mills (mills@udel.edu)<br>
12290000Sglebius  Last update:
13290000Sglebius  <!-- #BeginDate format:En2m -->11-Sep-2010  05:56<!-- #EndDate -->
14290000Sglebius  UTC</p>
15290000Sglebius<hr>
16290000Sglebius<h4>Synopsis</h4>
17290000Sglebius<p>Address: 127.127.19.<i>u</i><br>
18290000Sglebius  Reference ID: <tt>WWV</tt><br>
19290000Sglebius  Driver ID: <tt>WWV_HEATH</tt><br>
20290000Sglebius  Serial Port: <tt>/dev/heath<i>u</i></tt>; 1200 baud, 8-bits, no parity<br>
21290000Sglebius  Features: <tt>tty_clk</tt><br>
22290000Sglebius  Requires: <tt>/usr/include/sys/termios.h</tt> header file with modem control</p>
23290000Sglebius<h4>Description</h4>
24290000Sglebius<p>This driver supports the Heath GC-1000 Most Accurate Clock, with RS232C Output Accessory. This is a WWV/WWVH receiver somewhat less robust than other supported receivers. It's claimed accuracy is 100 ms when actually synchronized to the broadcast signal, but this doesn't happen even most of the time, due to propagation conditions, ambient noise sources, etc. When not synchronized, the accuracy is at the whim of the internal clock oscillator, which can wander into the sunset without warning. Since the indicated precision is 100 ms, expect a host synchronized only to this thing to wander to and fro, occasionally being rudely stepped when the offset exceeds the default CLOCK_MAX of 128 ms.</p>
25290000Sglebius<p>The internal DIPswitches should be set to operate at 1200 baud in MANUAL mode and the current year. The external DIPswitches should be set to GMT and 24-hour format. It is very important that the year be set correctly in the DIPswitches; otherwise, the day of year will be incorrect after 28 April of a normal or leap year.</p>
26290000Sglebius<p>In MANUAL mode the clock responds to a rising edge of the request to send (RTS) modem control line by sending the timecode. Therefore, it is necessary that the operating system implement the <tt>TIOCMBIC</tt> and <tt>TIOCMBIS</tt> ioctl system calls and <tt>TIOCM_RTS</tt> control bit. Present restrictions require the use of a POSIX-compatible programming interface, although other interfaces may work as well.</p>
27290000Sglebius<p>The clock message consists of 23 ASCII printing characters in the following format:</p>
28290000Sglebius<pre>hh:mm:ss.f&nbsp;&nbsp;&nbsp;&nbsp; dd/mm/yr&lt;cr&gt;
29132451Sroberto
30132451Srobertohh:mm:ss.f = hours, minutes, seconds
31132451Srobertof = deciseconds ('?' when out of spec)
32132451Srobertodd/mm/yr = day, month, year</pre>
33290000Sglebius<p>The alarm condition is indicated by '?', rather than a digit, at A. Note that 0?:??:??.? is displayed before synchronization is first established and hh:mm:ss.? once synchronization is established and then lost again for about a day.</p>
34290000Sglebius<p>A fudge time1 value of .07 s appears to center the clock offset residuals.</p>
35290000Sglebius<h4>Fudge Factors</h4>
36290000Sglebius<dl>
37290000Sglebius  <dt><tt>time1 <i>time</i></tt></dt>
38290000Sglebius  <dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.</dd>
39290000Sglebius  <dt><tt>time2 <i>time</i></tt></dt>
40290000Sglebius  <dd>Not used by this driver.</dd>
41290000Sglebius  <dt><tt>stratum <i>number</i></tt></dt>
42290000Sglebius  <dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.</dd>
43290000Sglebius  <dt><tt>refid <i>string</i></tt></dt>
44290000Sglebius  <dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <tt>WWV</tt>.</dd>
45290000Sglebius  <dt><tt>flag1 0 | 1</tt></dt>
46290000Sglebius  <dd>Not used by this driver.</dd>
47290000Sglebius  <dt><tt>flag2 0 | 1</tt></dt>
48290000Sglebius  <dd>Not used by this driver.</dd>
49290000Sglebius  <dt><tt>flag3 0 | 1</tt></dt>
50290000Sglebius  <dd>Not used by this driver.</dd>
51290000Sglebius  <dt><tt>flag4 0 | 1</tt></dt>
52290000Sglebius  <dd>Not used by this driver</dd>
53290000Sglebius</dl>
54290000SglebiusAdditional Information
55290000Sglebius<p><a href="../refclock.html">Reference Clock Drivers</a>&nbsp;</p>
56290000Sglebius<hr>
57290000Sglebius<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
58290000Sglebius</body>
59290000Sglebius</html>
60