benclifford / msf Goto Github PK
View Code? Open in Web Editor NEWreads MSF data on a raspberry pi GPIO pin and feeds it into ntpd
reads MSF data on a raspberry pi GPIO pin and feeds it into ntpd
msf === Reads the time from an MSF radio receiver and feeds it into an NTP daemon running on a Raspberry Pi. Copyright Ben Clifford and CQX Limited, 2013-2017 Installing =============== * Get the hardware: * A Raspberry Pi 2 * (the right kind of) MSF radio board. I use a SYM-RFT-60 from Symtrik. * Get the code git clone https://github.com/benclifford/msf.git * Build the code make * Attach the output of the clock module to GPIO pin 25 * Configure ntpd: Add these lines to /etc/ntpd.conf and restart ntpd: server 127.127.28.2 fudge 127.127.28.2 refid MSF time1 0.018 and restart ntpd: sudo /etc/init.d/ntp restart * Start msf: sudo ./start.sh * Watch a few minutes for the output to appear. You should see the symbol . appear every time the LED on the clock module turns on or off, and after a minute or two if a decode is successful, you should see a bunch of decoding information, including a timestamp. * Move the radio board/antenna around until you get a decent signal: there should be about one pulse per second visible in the onboard LED rather than nothing, or random flickering. * After even more minutes, check ntp is receiving the time from msf. ntpq -p ... *SHM(2) .MSF. 0 l 64 64 317 0.000 -18.261 8.695 ...
Hi
I'm not programmer, but would like to adapt this to decode dcf77 signals. There is code to do this elsewhere, but nothing that puts it into NTP that i can find. Which functions would i need to replace?
thanks..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.