Very simple LED candle which shines only in the dark. It is powered by 2 AA batteries and creates the flickering effect using an Attiny13 microcontroller with a pseudorandom number generator inside. It turns on only when the voltage on an infrared diode drops below a certain threshold, indicating a darker environment.
Schematic and firmware for Attiny13 are available here.
Copyright © 2023 Jiri Stepanovsky. All Rights Reserved.