This LED candle is built to mimic the look of a traditional candle without the dangers associated with an open flame. It uses high brightness LED and is controlled by ATtiny85. It could be useful as movie props where you cannot afford to have a candle go out during a take or in your home in places not suitable for traditional candles such as in a wall niche or alcove.
Pete made this candle with a Light Detecting Resistor ( LDR ) and a fixed resistor acting as a voltage divider. This is fed to one of the ATtiny85′s ADC inputs and sampled at discrete time intervals.
For more detail: AVR LED Candle using ATtiny85 microcontroller