during "sleep mode" my Attiny 85 draws approx. 5.6 microamps, which is really REALLY COOL" because it is battery powered. However, during the "delays" in the loop it's pulling 7.5 milla amps. I sure would like to lose these and be able to run at 5.6 microamps during the delays. does anyone have a recommendation. Timer 1 is already being used, Timer 2 is already being used as well as the WDT. Are there any other options? Thanks, FRED
I can't see the delays in loop, but it seems really obvious to me that you get rid of them, if you want to save power.
If you have used up all the timers, then your only option for a timed sleep is an external timer.
One such is the Adafruit power down/wakeup timer, which can actually make the project power consumption zero during "sleep".
Consider both TPL511x options.
That sounds interesting. I just have a servo. It sweeps CW, then CCW, random stuff. In between the "sweeps" are delays. (1000), (2000), 300000)....... they are sucking up power. 7.5 mA per hour.
The TPL51111 reset timer can wake the Arduino from sleep via a pin change or external interrupt.
The TPL51110 power timer can turn off the power to the Arduino, so that it consumes zero power, and turn it on again after a timed period. The Arduino can send a shut down signal back to the timer. When turned "on" the Arduino reboots, so that it won't automatically keep track of the last program state.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.