Alex Lechkin sent in this cool electronic candle project he made using ATtiny13V
Why not make an electronic candle that will simulate real? After all, thiscandle will work as long as you want, until you “sit” battery. Ask such a purpose, the author has developed an electronic candle on the popular microcontroller ATtiny13V. Included is such a candle in an unusual way. It is worth it just to blow like a candle ignited and begins to reproduce the effect of the light of burning flame. If you blow again, the candle goes out. Thus, organized on-off electronic candles. In order to save battery life after approximately 10 minutes of the candle turns off automatically. To re-enable it, you need to blow on it again. The scheme provided for the control voltage and decrease below the level of the candle goes into alarm. The whole structure is compact enough and. located in Corpus cup from under present candles.