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.

A Cold Light To Warm Your Heart

Halloween is coming rapidly and what far better way to add to your Halloween ornamentation than [Wagiminator]’s sweet NeoCandle tea light-weight simulator.

[Wagiminator] has modified a 3D printed ghost alongside with extending [Mark Sherman]’s light-weight simulation code to generate a adorable light which is ideal for the getaway time. The NeoCandle uses an ATtiny85 chip to ability 4 WS2812 NeoPixel jelly bean LEDs. The unit has an infrared (IR) receiver to be in a position to handle it from a distant that speaks the NEC protocol. There is a light sensor that enables the device to dim when it detects ambient light and the whole device is driven off of a micro-USB connection.

The ATtiny85 have limited system flash and [Wagiminator] packs in a ton of performance in these types of a tiny offer, squeezing in a bit-banging NeoPixel driver in only 18 bytes of flash that can drive out a transfer amount 762 kpbs to update the LEDs. The pseudo-random amount uses a Galois linear opinions shift sign up and comes in at 86 bytes of flash, with the IR receiver implementation code being the biggest working with 234 bytes of flash. The ATtiny85 alone has 8 KB of flash memory so probably it is doable to force [Waginminator]’s code to even far more restrictive Atmel devices in the ATtiny spouse and children.

With microcontrollers and LEDs turning into so low-priced and ubiquitous, generating realistic flames with them is becoming available, as we have witnessed with prior assignments on digital candles.

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

Leave a Reply