iamI am building aan IR based faucet i. I need to include a battery backup here iam. I am using only an ATmega328 with a crystal and a capacitor, iamI am not using a regulator or LED ...i
I need to increase the battey life iam. I am using 4AA batteries in series ofwith a capacity 2000mahof 2000 mAh and thd device is currently consuming 15ma15 mA when no hand is not detected ,when their in nod.
When there is no hand infrontin front of the irIR receiver it should be in sleep mode and when a hand comes near to the sensor it should wake up and energise a solenoid...insted
Instead of waking arduino atthe Arduino every 2sec2 s is theirthere any way that it shouldcould wake up only when a hand is near ?