November 30, 2022


Melts In Your Tecnology

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 quickly and what far better way to include to your Halloween ornamentation than [Wagiminator]’s cute NeoCandle tea light-weight simulator.

[Wagiminator] has modified a 3D printed ghost along with extending [Mark Sherman]’s gentle simulation code to build a sweet mild that’s excellent for the holiday getaway season. The NeoCandle employs an ATtiny85 chip to electricity 4 WS2812 NeoPixel jelly bean LEDs. The machine has an infrared (IR) receiver to be able to manage it from a distant that speaks the NEC protocol. There is a light-weight sensor that makes it possible for the device to dim when it detects ambient light and the entire unit is run off of a micro-USB relationship.

The ATtiny85 have restricted software flash and [Wagiminator] packs in a large amount of functionality in these kinds of a tiny package deal, squeezing in a little bit-banging NeoPixel driver in only 18 bytes of flash that can force out a transfer level 762 kpbs to update the LEDs. The pseudo-random amount utilizes a Galois linear responses change sign up and comes in at 86 bytes of flash, with the IR receiver implementation code remaining the largest utilizing 234 bytes of flash. The ATtiny85 alone has 8 KB of flash memory so perhaps it is attainable to thrust [Waginminator]’s code to even a lot more restrictive Atmel units in the ATtiny family.

With microcontrollers and LEDs getting so low cost and ubiquitous, creating real looking flames with them is turning out to be accessible, as we’ve noticed with prior initiatives on electronic candles. at?v=n4UFV3BMcBM