Wake up from sleep


hi, desperately need this.

hardware

arduino pro mini atmega328 5v 16m
4x4 keypad attached d2 -> d9

case

i using power saving library puts arduino sleep 8 seconds, wake , check stuff - , falling sleep again.

http://www.rocketscream.com/blog/2011/07/04/lightweight-low-power-arduino-library/


during process, power arduino if asleep hitting key on keypad, , enter programming mode setting boolean, avoid getting sleep. when programming done, boolean set false - , arduino goes sleepmode.

is possible, , how do this? dont know interrupts , code behind it.

best regards, joakim

quote
i power arduino if asleep hitting key on keypad

since keypad nothing unless actively reading it, , doesn't happen while sleeping, won't happen.

you can connect switch external interrupt pin, , use wake arduino.



Arduino Forum > Using Arduino > Project Guidance > Wake up from sleep


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62