The file 'Flickering LED Tealight Candle 3D Printer Model' is (scad,stl) file type, size is 105.2KB.
There are plenty of candle-flicker LED projects out there, but I was looking for one that had a few additional properties:
The thing I created uses an ATTiny85 to generate a binomial distribution of random numbers that are then fed to a PWM output that drives the LED intensity. The LED is the Adafruit Sequin LED that is compact and comes with its own resistor for ease of use. I've added a light sensitive resistor that is connected to one of the analog inputs of the MCU, which triggers a change in the LED flickering when someone moves their hand over the object.
As an added bonus I connect the battery back (in the base) to the electronics (in the cap) through some copper tape along the inside of the candle, so it is possible to switch the thing on and off just by twisting the top.
I've made a video of the final thing in action and one more video that shows how the LED candles behave compared to a real tealight candle.
tealightv1.1.scad | 5.6KB | |
tealight_all.stl | 731.8KB | |
tealight_base.stl | 65.7KB | |
tealight_battery_pack.stl | 123.5KB | |
tealight_cap.stl | 372.4KB | |
tealight_diffuser.stl | 180.6KB |