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 speedy and what superior way to include to your Halloween ornamentation than [Wagiminator]’s sweet NeoCandle tea gentle simulator.

[Wagiminator] has modified a 3D printed ghost along with extending [Mark Sherman]’s light-weight simulation code to build a cute light that’s ideal for the holiday break time. The NeoCandle uses an ATtiny85 chip to ability four WS2812 NeoPixel jelly bean LEDs. The gadget has an infrared (IR) receiver to be in a position to management it from a distant that speaks the NEC protocol. There is a gentle sensor that lets the device to dim when it detects ambient gentle and the entire device is run off of a micro-USB relationship.

The ATtiny85 have limited system flash and [Wagiminator] packs in a great deal of operation in this sort of a modest package deal, squeezing in a bit-banging NeoPixel driver in only 18 bytes of flash that can thrust out a transfer fee 762 kpbs to update the LEDs. The pseudo-random range makes use of a Galois linear feedback shift register and arrives in at 86 bytes of flash, with the IR receiver implementation code becoming the greatest working with 234 bytes of flash. The ATtiny85 alone has 8 KB of flash memory so possibly it’s possible to press [Waginminator]’s code to even a lot more restrictive Atmel units in the ATtiny relatives.

With microcontrollers and LEDs turning into so low cost and ubiquitous, earning practical flames with them is getting accessible, as we’ve viewed with earlier tasks on electronic candles.


Leave a Reply