Ovidiu22 / PwrMgmt-Atmega328p_interruptButton

Power Management of Arduino Nano (Atmega-328p) using external interrupts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PwrMgmt-Atmega328p_interruptButton

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.

Schematic

Schematic

About

Power Management of Arduino Nano (Atmega-328p) using external interrupts

License:GNU General Public License v3.0


Languages

Language:C 94.8%Language:Makefile 5.2%