AVRactivePower

Save battery energy by slowing the clock and/or switching off un-needed modules in the microcontroller.

Author
Greg van Paassen
Website
https://github.com/gvp-257/AVRactivePower
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
avr

For ATmega168P/328P/1284P/2560 and ATtiny44/84/45/85 based projects, especially breadboard Arduinos. Don't use analogRead()? Power-off the internal analog-to-digital converter (ADC). Not using Serial or Wire or SPI? Power-off the internal USART, SPI, TWI or USI hardware blocks. Power them back on again when you do need them. Waiting around but can't sleep the processor? Slow down the system clock - the AVR uses a quarter the power at 1 MHz compared to 16 MHz. NOTE: Use Narcoleptic or LowPower for the big battery savings: sleeping the microcontroller. And remove the power LED. This library is for that final percent of battery life. C++ alternative to avr/power.h.

Downloads

Filename Release Date File Size
AVRactivePower-0.5.1.zip 2025-09-15 10.54 KiB
AVRactivePower-0.5.0.zip 2025-09-01 9.83 KiB