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
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
Post a Comment