ATTINY13A Fake Fire LEDA while back I wrote about a neat project that I had read about where a couple of LEDs and an ATTINY13 had been used to simulate the flicker flame of a candle or fire. I built a prototype and quickly realized that project deserved more of my attention, I spent the next couple of days tweaking the design and code to come up with this! My primary design focus was battery life and I’ve been running this board with 3 standard AA batteries for nearly 2 months. Good enough for me! This design incorporates a photocell to turn the LEDs off during light hours and a deep sleep mode for the AVR when the LEDs are not illuminated. A watchdog timer triggers the AVR to wake up and sample the photocell to decide if it’s dark enough to start illuminating the LEDs. I’ve included the Eagle schematic and board files in addition the the AVR C code and high-res pictures in the attached zip.

ATTINY13A LED Fake Fire

ATTINY13A Fake Fire LED

Fake Fire PCB Zip File
Title: Fake Fire PCB (2038 clicks)
Caption: Fake Fire PCB Zip File
Filename: fakefirepcb.zip
Size: 3 MB

Fake Fire PCB Zip File
Title: Fake Fire PCB (2038 clicks)
Caption: Fake Fire PCB Zip File
Filename: fakefirepcb.zip
Size: 3 MB