Posts with «arduino led candle» label

This faux candle lights, flickers, smokes, and smells like the real thing

Keith of “Keith’s Test Garage” wanted an LED candle. While somewhat realistic flicking units are easy to find, he was in search of something much more like the actual thing, and after several years of work has come up with a rather amazing replica.

The device’s wax-embedded glass enclosure houses an Arduino, along with a series of six  RGBW LEDs inside that randomly flicker away to simulate a flame. This effect is triggered via a real match, which is sensed by an IR module. To stop the effect, one literally blows out the candle through a microphone input that picks up on this action. 

Most impressively however, upon putting out the faux flame, a length of resistive wire heats up glycerin and smelling oil on a wick, producing a puff of smoke to end the light performance.


Blow out this Arduino LED candle!

LED candles can provide a nice sense of ambiance, without the inherent associated risk of fire. For better or worse, however, they don’t normally respond to air currents. 

Paul Dietz, however, shows that this kind of response is actually possible, as an LED’s forward voltage drop is affected by how well it dissipates heat due to ambient air conditions.

This means that when you puff on an LED, the resulting voltage changes can be picked up by an Arduino Uno.

LEDs are designed to emit light, but they also make surprisingly capable sensors. Using only an Arduino UNO, an LED and a resistor, we will build a hot LED anemometer that measures wind speed, and turns off the LED for two seconds when it detects you are blowing on it. You can use this to make breath controlled interfaces, or even an electronic candle that you can blow out!

How Does This Work? 

When you run current through an LED, its temperature rises. The amount of rise depends on how effectively you are cooling it. When you blow on a hot LED, the extra cooling lowers the running temperature. We can detect this because the forward voltage drop of an LED increases as it gets cooler.

The circuit is very simple and looks much like driving an LED. The only difference is that we will add an extra wire to measure the voltage drop of the LED while it is on. To work well, you want to use a very small LED (I suggest using an 0402 surface mount LED) connected by the thinnest possible wires. This will allow the LED to heat and cool very quickly, and minimize the heat lost through the wires. The voltage changes we are looking for are just millivolts – at the very edge of what can be reliably detected via the UNOs analog pins. If the LED is resting on something that conducts heat away, it may not be able to get hot enough, so it works best if it is up in the air.

As shown in the video below, he turned this concept into a novel “candle” setup, blowing his tiny 0402 SMD-format LED out over and over—like a trick birthday candle!

Arduino Blog 21 Aug 18:48