WWV Receiver/decoder? aka Atomic Clock Chip
Harbor
Posts: 73
I've been postponing writing the code to have the Linux boxes here send a time hack to a BS2P/PINK combination I'm putting on the local network. It's one of those jobs best done by a chip and a week's pain to do in Ruby code or the like. Since I have the professional programmer's lazy gene, my subconscious has been looking for a way out. I may have thought of one.
Those "atomic clocks" that update regularly from WWV have gotten down to about fifteen dollars now. Surely someone is selling a standard chip that combines an 80khz receiver with a decoder for the time signal. (Or one of the other WWV freqs.) Anyone heard of one?
Incidentally, this may be ripe for introduction as a Parallax product, guys. "Add Atomic Time to your Stamp project!" for... I don't know, forty bucks? It would certainly be cheaper than using a GPS receiver just to get time hacks, and it would be worth forty or fifty to a lot of us to avoid the programming hassle of keeping a Stamp on the local·LAN synced with the big boxes. But that's figuring it as a little daughter board, like the appmods.·The cost·might be as little as five bucks if some company has reduced the whole thing to a single chip and a few external parts like an antenna.
Any ideas?
Those "atomic clocks" that update regularly from WWV have gotten down to about fifteen dollars now. Surely someone is selling a standard chip that combines an 80khz receiver with a decoder for the time signal. (Or one of the other WWV freqs.) Anyone heard of one?
Incidentally, this may be ripe for introduction as a Parallax product, guys. "Add Atomic Time to your Stamp project!" for... I don't know, forty bucks? It would certainly be cheaper than using a GPS receiver just to get time hacks, and it would be worth forty or fifty to a lot of us to avoid the programming hassle of keeping a Stamp on the local·LAN synced with the big boxes. But that's figuring it as a little daughter board, like the appmods.·The cost·might be as little as five bucks if some company has reduced the whole thing to a single chip and a few external parts like an antenna.
Any ideas?
Comments
Here is an interesting more than you want to know info on the signal format as well as a telephone number (page 50) you can call to "listen" to the WWV information if you don't
have a shortwave receiver.
http://tf.nist.gov/general/pdf/1383.pdf
here is another article that might be of interest...
http://www.buzzard.me.uk/jonathan/radioclock.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 6/25/2006 4:56:56 AM GMT
If you want a receiver IC, then you'll have to hack a working unit.· I think that it was TEMIC used to make these, but not available from Mouser, DigiKey, etc.
It's PWM (longs, shorts, = 1s, 0s).
WWV/WWVH transmit 1-bps (that's pretty darned slow) time and date information, but I haven't seen how to isolate (from the aural transmission) and demodulate the data.
I once tried faking it·this, trying to make a super Hi-Q filter to trigger a clock update based on the 1kHz tone at the top of the hour, but sometimes a voiced frequency (allophone, fricative, or whatever) would sneak through it.· I thought to make my clock updatable only if the time was between xx:59:30 and xx:00:30, but never got round to it.
[noparse][[/noparse] I may have told this story before, but I think I probably left out a comma. ]
Post Edited (PJ Allen) : 6/25/2006 11:45:08 AM GMT
http://madlabs.info/atomic_nixie_clock.shtml
Since you can't get the WWVB unit anymore, what I did was set up a local re-broadcast of the time using a 433mHz RF unit. Now all of my projects needing a time base can use a cheap RF receiver to get the time. I currently have 4 projects that use the system.
I think the easiest way to get atomic time these days is to use a GPS. Motorola untis are very cheap on ebay these days.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Thanks for the tip, guys, though an $85 GPS to tell me the absolute speed of my gatepost seems... like overkill. Especially since the cable costs another 20 to 35 unless I want to try cobbling one together that is weather-proof. And I would regret not spending the extra $35 about fifteen minutes into an effort like that.
Incidentally, I need the power part of the tandem cable to provide an external, rechargeable arrangement with solar cells. The GPS operates on 2.5V to 3.0V but the cable is a 12V adapter and apparently includes internal regulation to take it down to 3.0V.
It is a crying shame to stack enough solar cells to reach a 12V level just to have the regulator disperse the extra energy in heat. I'd rather set up solar cells to provide the five volts I need for the included stamp and regulate that down one step further to below three volts for the GPS unit.
Has anyone tried hacking that cable?
Although the cable has a db9 on the end (unless you got the USB version...) be aware that your gps only uses 3 wires (also, regardless of the 4 pins on the back of the GPS.
I think the GPS has a power contact in there for cigarette lighter adapters...but for the most part it's RS232 Tx/Rx and ground.
All I did was solder a couple of wires to the pads I wanted. You don't leave the heat so long that you melt the plastic around....and if you're concerned that you opened up the hole around the contact with the solder heat, then dab a little silicone on there for extra protection.
Google will help you find the actual pinouts....go to Garmin and download their manual...pretty sure it states right in there!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
An $85 Garmin does seem a waste. Look for a Motorolla Oncore I or II on Ebay. I got one with an antenna for about $35. It has no LCD or anything, just a GPS unit. Also, there are several new GPS chips out there in the $20 range I think. I haven't used any of them, so I can't provide details.
Another option is to hack a regular clock with a WWVB receiver. Most of them have a 1PPS output that you can easily use to synch a RTC. You will in that case have to set the time manually, but it will keep in synch with WWVB once set.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
A long way around this would be to visit your PINK web site and the PINK could steal the time from the visiting PC using javascript. Look for posts I made last winter which should show the java script you need.
A direct answer to your question might be something like this:
www.atomictimeclock.com/radsynreceiver.htm
I am afraid it's $$ and maybe not the way you want to go.
The GPS route may be the best answer cost wise. Don't forget the GPS antenna needs to have a good view of the sky. The LF devices can sit in the basement but may need a day to get the sync signal.
Regards
Tim
I plan to buy a tandem cable from Garmin or a second source that provides a data lead on one side and a second lead that goes to the 12V source. This is a molded unit that with a little care eliminates concern about foul weather problems. But a 12V connector is great for cars with a hunking lead acid battery under the hood, and problematic for me. What I'm hoping is that I can cut the 12V connector off the end and solder the power lead directly into my rechargeable power unit (not designed yet). With strain relief and weatherproof grommeting of course.
What I'm trying to figure out -- before cutting into things -- is whether I can simply supply 3V on the correct lead of that cable with its connector removed, or if the regulation actually takes place closer to the GPS unit itself. (Or inside the unit, despite that statement about external regulation. Though this seems very unlikely.)
Obviously, since I'm going to be relying on solar cells, I'd much prefer providing 3V since that is what's needed internal to the GPS. Upping the ante to 12V, just to have it regulated back down, is one of those inelegant design solutions. Not to mention being more expensive.
Is the "Oncore" an out-of-production unit? Didn't find any reference to it at all in an admittedly quick search. The extra fifty bucks for a Garmin unit certified waterproof to the IPX7·standard is not really excessive. I'd pay $85 in a heartbeat for "Precision Time Unit, good to one meter immersion for 30 minutes". It's just the irony of strapping a waterproof "Navigation Unit" onto a gatepost. Once you've logged the first thousand position reports to know your gate post's location to the nearest meter... well, what's it all about after that, Alfie?
Saving work of course. Or at least making it more enjoyable work.·Any way I do this is going to be work. Either I have to write code for the Linux boxes to forward UDP messages to the PINK, or I have to hack an "Atomic Clock" to get the pps output and write code to sync a DS1302 to that, or... Well, I go this way and get to mess around with a GPS for the first time since the bygone days when they took up entire racks. So I might as well take the path of greatest entertainment value to go with the work.
Besides, my wife has been bugging me to put our gate post on the Internet so it's about time I guess...
Of course, my wife really does want that web-enabled gate... Have to think about this one. Thanks, Tim.
So I'm using a Parallax 433 MHz transceiver pair to ship time hacks off to the main building. (Somehow I think I'll skip the position reports after the testing phase is complete.) Once I've done that, it means precision time will available to any unit on the property with just a cheap 433 MHz receiver. Not constantly, since the drift of a DS1302 doesn't justify using up the solar power like that. Probably one hack an hour at most. Maybe only four a day.
Thanks, Jon.
They don't have online ordering, from the looks of things maybe they only do volume (??).· There's an EM2S, antenna for it, and an MCMRS232 decoder module -- price = $x.xx
Incidentally, yesterday I received a Garmin eTrex I ordered from Amazon for $84 including delivery. I added a two-headed cable that plugs into the GPS and has a 12V connector on one lead and a serial port adapter on the other. Plugging it into the same serial cable I use to program Stamps, Google Earth spotted the Gps immediately. Although I would recommend it for use with a clear view of the sky, it actually did quite well getting a fix from inside my home office, apparently using the two windows on the North and West side to pick up sat transmissions.
I'll post on the progress of this project when I have interfaced the GPS to a spare BS2. Time hacking a BS2P/DS1302 is not trivial when the BS2P unit is doing other real time work. So I plan to use a dedicated BS2 collocated with the GPS somewhere with good reception. That BS2 will update it's own DS1302 regularly. Then I'll use a 433 mHz transceiver pair to let the BS2P ask for the current time at its leisure and use that to update the DS1302 that is keeping my network time.
Or maybe I'll buy a sundial...
Would that work for you, $27 @ Digikey in stead of $150 @ Galleon...
http://rocky.digikey.com/WebLib/C-MAX/Web Data/CME8000-BUS.pdf
http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail?Ref=110485&Row=195187&Site=US
I might be ordering one myself...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
· Heckuva find.
If you do decide to try it out please keep me informed...
I'll let you do the dirtywork, figuring out how to read the time etc...
Then I'll order one when I know it works with a BS2...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Of course, I already have that Garmin GPS unit... So many chips, so little time.
If you want to order it from Digikey, just do a part search for CME8000-BUS-LP...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Guess the search link for Digikey didn't work...
Just to let everyone know that i have tried to use search link for Digikey works sometime and sometime it dose not work
is Because Digikey·says that they are up grading there system and at tiimes it may not work
I thought i would let you guys knows
Sam··
······················································· ·· These· guys are having to muck fun
My WWVB reciever failed, so I used a Motorola Oncore to replace it. It is MUCH better than the WWVB unit, it can aquire a signal anytime, and quickly. The one PITA is that you have to manually calculate DST, as the GPS has no DST flag, whereas WWVB does. If you go that route, let me know, I'd be happy to pass on the DST routine.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot