A Cold Light To Warm Your Heart

0
A 3d printed ghost next to the base of an LED tea light that has 4 LEDs poking out and the IR receiver port and micro-USB connector showing.

Halloween is coming rapid and what greater way to incorporate to your Halloween ornamentation than [Wagiminator]’s adorable NeoCandle tea light simulator.

[Wagiminator] has modified a 3D printed ghost alongside with extending [Mark Sherman]’s gentle simulation code to build a adorable mild that is fantastic for the holiday period. The NeoCandle employs an ATtiny85 chip to ability 4 WS2812 NeoPixel jelly bean LEDs. The gadget has an infrared (IR) receiver to be able to handle it from a remote that speaks the NEC protocol. There is a mild sensor that lets the unit to dim when it detects ambient light and the entire unit is powered off of a micro-USB link.

The ATtiny85 have minimal plan flash and [Wagiminator] packs in a whole lot of features in this sort of a little package deal, squeezing in a bit-banging NeoPixel driver in only 18 bytes of flash that can drive out a transfer fee 762 kpbs to update the LEDs. The pseudo-random number makes use of a Galois linear feedback shift register and will come in at 86 bytes of flash, with the IR receiver implementation code currently being the premier employing 234 bytes of flash. The ATtiny85 alone has 8 KB of flash memory so possibly it is doable to push [Waginminator]’s code to even more restrictive Atmel products in the ATtiny family members.

With microcontrollers and LEDs becoming so inexpensive and ubiquitous, generating real looking flames with them is becoming obtainable, as we’ve witnessed with past assignments on digital candles.

https://www.youtube.com/view?v=n4UFV3BMcBM

Leave a Reply