Wake up with several triggers


overview of project:
rf key fob dead bolt electronic locks buttons on inside.
the code looks see state of bolt (locked/unlocked) , act depending on if locking locked door or unlocking locked door, etc... there 4 cases deal states , buttons.
the main inputs 2 rf based triggers, 2 button based triggers.
a servo used actuate bolt.
locking locked door or unlocking open door play tone , blink led little bit.

my question regarding sleeping. plan pull processor out of board , wire on own minimize power use , size. running circuit off 4 aa batteries , see circuit last a  while before changing batteries. 

should worry power consumption circuit have described , if how should implement sleep circuit powers down after 30 sec of inactivity , comes on after of 4 main inputs have been triggered? not act triggers code relies on inputs going high determine do.

there low power library arduino collection of boards allows wake sleeping chip on interrupt pin.  if want 4 possible sources of interrupt, or them together, , write code sort out source caused interrupt.

also, of boards can sleep lot less power.  believe promicro can modified down microamps while sleeping.


Arduino Forum > Using Arduino > Project Guidance > Wake up with several triggers


arduino

Comments