802.15.4 6LoWPAN Clock
deece — Thu, 03/12/2009 - 7:02am
As a precursor to an 802.15.4 controlled watering system, and to get familiar with the development environment, I am building a clock based around a Jennic JN5139.
So far, I have a timer interrupt firing once every 16x10^6 cycles, or nominally once per second. Measuring the drift over an 8 hour period, the clock has so far lost 1 minute. I'll tweak the timer to account for this drift tonight, after I have more data.
Some ideas to implement:
- Put the CPU into a low power state between timer ticks
- Drive an LED matrix, rather than outputting to the serial port
- Use 6LoWPAN to sync time, maybe via NTP?
- RSS Feeds?
- Login or register to post comments
- Printer-friendly version




Drift
deece — Thu, 03/12/2009 - 7:23pm21 hours on and the timer is still 1 minute behind. Maybe it is accurate and I misread the time initially?
I'll restart the test tonight.