Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rating: Thread Rating: 1 votes, 4.00 average.
Author
Thread Post New Thread    Reply
Registered
 
djmcmath's Avatar
 
Join Date: Nov 2003
Location: West of Seattle
Posts: 4,718
Tech question: need a low cost NTP server

I'm building a DIY datalogger for the track. It's based around my elderly MacBook, and uses USB GPS and 3-axis inertial sensing to, basically, do Kalmann filtering to get a 100hz position.

The trick is time. The inertial sensor has it's own time reference, and it's "close enough" over the course of a half hour track session to be usable. The GPS, unfortunately, provides data on a "when I feel like it" basis. So the time that I'm getting from the GPS is within a second (or two), which is nearly useless.

If I synchronize with GPS time via NTP over my home network, then take it out for a run, it's shockingly accurate. The trick is that the track I run at doesn't have free wireless. So it's not standalone, and doggonit, it should be.

So I've found a number of really great NTP servers -- rack-mounted gigs that constantly get a GPS or CDMA signal, then distribute time to the network. But they're WAY expensive. I don't need anything like that. I really just need a high precision oscillator, e.g. a device that can connect to the network, get the time, then just keep track of it and distribute via NTP for a couple of days without a network signal.

Does a device like that exist?


Thanks,
Dan




PS -- for those who say "Just spend $600 and get a basic datalogger," I say "That's no fun. I'm doing this as a hobby."

__________________
'86 911 (RIP March '05)
'17 Subaru CrossTrek
'99 911 (Adopt an unloved 996 from your local shelter today!)
Old 10-23-2013, 05:34 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Scott R's Avatar
 
Join Date: Feb 2001
Location: Aspen CO US
Posts: 16,054
Garage
Any tiny linux server can be an NTP server.
__________________
2021 Model Y
2005 Cayenne Turbo
2012 Panamera 4S
1980 911 SC
1999 996 Cab
Old 10-23-2013, 06:22 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
Join Date: Jul 2006
Posts: 845
Garage
Doing a quick web search shows how to get Mac OSX be a NTP server. Would that work for you?
Old 10-23-2013, 07:06 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Slackerous Maximus
 
HardDrive's Avatar
 
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,181
Not sure if this helps:

Building a Raspberry-Pi Stratum-1 NTP Server

US source for Raspberry boards:

Raspberry Pi : Adafruit Industries, Unique & fun DIY electronics and kits
__________________
2022 Royal Enfield Interceptor.
2012 Harley Davidson Road King
2014 Triumph Bonneville T100.
2014 Cayman S, PDK.
Mercedes E350 family truckster.
Old 10-23-2013, 07:08 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Formerly bb80sc
 
Vipergrün's Avatar
 
Join Date: Aug 2001
Location: Hollywood Beach, CA
Posts: 4,361
If you just need to point to an NTP server....time.windows.com
__________________
Cheers
-Brad
2015 Cayman GTS
2015 4Runner Limited
Old 10-23-2013, 07:19 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,338
Quote:
Originally Posted by Vipergrün View Post
If you just need to point to an NTP server....time.windows.com
Yes, as long as you have a (no ports blocked) network connection to the intertoobs there are lots of public NTP servers.

Setting one up on a Debian system (or debian based) is as simple as "apt-get install ntpd"

I'd build one up using a Pi for local access, get to track, set it up, confirm time synch, disconnect from network and just reference the local network one.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 10-23-2013, 07:41 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
Registered
 
djmcmath's Avatar
 
Join Date: Nov 2003
Location: West of Seattle
Posts: 4,718
So the trick is that the MacBook itself can't tell time accurately enough once I lose the network connection to the time server. So it'll run as an NTP server, but it distributes a lie. Not quite good enough.

Also, simply setting it to get time from time.windows.com (or wherever) is no good, as I need it to work without an external connection.

Hard drive: your Raspberry Pi option may be the best. I've looked at doing a PPS GPS to get the time signal, but I don't have a serial port to work with on this laptop. (I could get another laptop, and a PPS serial GPS... And that might be as simple...)

But then, if I'm going to build a RP mini computer to get the time via GPS, I could also get GPS on the board. And, while I'm at it, I could pipe the inertial data in as well, and make the itty bitty computer BE the data logger, not just the time server.

Thanks for the idea, Harddrive.

Old 10-24-2013, 02:56 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Reply


 


All times are GMT -8. The time now is 01:25 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.