Power Management of Atmega-328p (Arduino Nano)
This sequence displays the possibility to save power by keeping the processor in sleep mode. Following sleep modes are available:
- SLEEP_MODE_IDLE
- SLEEP_MODE_ADC
- SLEEP_MODE_PWR_SAVE
- SLEEP_MODE_STANDBY
- SLEEP_MODE_PWR_DOWN
Wake-up is done using an external interrupt - a button on pin PIND2 (INT0).
For further details visit http://donalmorrissey.blogspot.com/2010/04/putting-arduino-diecimila-to-sleep.html or chapter 14 in Atmega datasheet.