jscrane / LowPower

ATTiny low-power experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8MHz ATTiny84 with Optiboot

These sketches are compiled with uC-Makefile against ATTinyCore.

A valuable source of information was Nick Gammon's Power saving techniques for microprocessors.

Current

sketch current description
0 2.36m blank sketch
1 226u sleep_mode_pwr_down
2 219u 2 + bod disabled
3 <218u 2 + power_all_disable
4 <1u 3 + ADCSRA = 0
5 5u 2 + ADCSRA = 0 + WDT(8s)
6 5u 3 + ADCSRA = 0 + WDT(8s)

Notes

  • SLEEP_MODE_PWR_DOWN reduces idle current by 90%
  • disabling the Brown-out Detector and all other devices saves about 7uA
  • disabling the Analog comparator saves almost all of the remaining current draw
  • enabling the Watchdog timer costs about 5uA

About

ATTiny low-power experiments

License:Apache License 2.0


Languages

Language:C++ 92.6%Language:Makefile 7.4%