×

With the recent surge in Omicron cases, shipping may be slower than stated times. We are working to build, ship and respond to everything as quickly as possible. Please see all COVID-19 updates here. Thank you for your continued support.

Member #68932

Member Since: April 29, 2009

Country: United States

  • 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)
    
  • 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 :(