Our flickering LED circuit combined two known circuit, and certainly wasn’t graceful because of it. [sprite_tm] saw quite a few areas where the circuit could be reduced. He ended up taking it down to just two LEDs, a battery, and an ATtiny13. The first step was getting rid of the current limiting resistors. The datasheet shows that with a 3V supply the AVR will limit the current well below the maximum current. The light sensor was removed next. [sprite_tm] referenced an earlier post on sensing with LEDs. He measures the voltage across one of the LEDs while it is off to see how much light is hitting it. The current draw while on is 10mA and 50uA while off.
Minimalist LED light detecting candle
November 5, 2008 By 17 Comments