From owner-freebsd-hackers Thu Jan 8 23:00:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA22292 for hackers-outgoing; Thu, 8 Jan 1998 23:00:24 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA22207 for ; Thu, 8 Jan 1998 23:00:00 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id RAA28347; Fri, 9 Jan 1998 17:29:28 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA06082; Fri, 9 Jan 1998 17:29:28 +1030 (CST) (envelope-from grog) Message-ID: <19980109172927.06125@lemis.com> Date: Fri, 9 Jan 1998 17:29:27 +1030 From: Greg Lehey To: Tim Tsai Cc: David Kelly , FreeBSD Hackers Subject: Re: GPS for xntpd Stratum 1 servers References: <199801090340.VAA13302@nospam.hiwaay.net> <19980108232535.39313@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <19980108232535.39313@futuresouth.com>; from Tim Tsai on Thu, Jan 08, 1998 at 11:25:35PM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk On Thu, Jan 08, 1998 at 11:25:35PM -0600, Tim Tsai wrote: >>> On Wed, 7 Jan 1998, David Kelly wrote: >>>> If you are on the 15th floor of a 30 floor building then you are going >>>> to have troubles with the GPS in any case. Any view out the window will >>>> have less than half the sky visible. Sometimes there may not be enough >>>> satelites visible for a lock. >>> >>> Yeah, Mike Smith suggested RS-232 <==> Fiber <==> RS-232 to the roof, but >>> unfortunately doing that costs an arm and a leg in this concrete jungle. >>> Er, maybe just a leg these days. > > You only need three satellites to get a 2D position. I believe 1 > satellite in view is all that is necessary to get the time. That is very > practical nowadays [in Mississippi we easily get 8-10 satellites in clear > view] even if you only have a clear view of the sky on one side of the > building. Recall that there are only 24 active satellites, 12 above the horizon and 12 below the horizon. If you block out half the sky, the most you can hope for is 6. But that's enough, and I've had plenty of success with a GPS receiver mounted just inside a window. >> So whatcha do is take that old 386sx16 and put it on ethernet, up on the >> roof with the GPS, and let it be the timeserver. > > It'd be easier to use a couple of RS232<->RS422/RS485 converters. At > the typical GPS baud rate (4800/9600 baud) you should be able to run the > wire hundreds of meters if not more (RS422 spec escapes me at the moment). > The converters run for about $30-$100 a piece. What sort of time accuracy are you hoping for here? To transmit a short datagram (say, 16 bytes) at 9.6 kb/s will take you 16 ms. Greg