SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
April 29, 2009
about 2 years ago
The issue i found was in the software. In the interrupt routine, it resets the timer value for the next second.
You can fix it by deleting “TCNT1 = 49911;” from the ISR and changing the timer setup in ioinit() to this:
//Init Timer1 for second counting
TCCR1A |= _BV(WGM11);
TCCR1B = _BV(WGM13)|_BV(WGM12)|_BV(CS12)|(_BVCS10);
TIMSK1 = _BV(TOIE1); //Enable overflow interrupts
ICR1 = 15625;//set the top value (more reliable than the original)
about 3 years ago
I love this kit! I added a 18650 holder and changed the source code dramatically. I increased the feature set to 4 alarms with different tones for each, 24h time keeping, battery voltage measurement, internal temperature (doesn’t work due to VREF tied to VCC), and adjustable display brightness.
No public wish lists :(
Forgot your password?
No account? Register one!