This circuit creates a set of LED-based electronic birthday candles that are just as much fun as blowing out wax candles, but are also reusable, scalable, and even eco-friendly. It uses a thermal sensor that’s maintained at a temperature above the ambient temperature. When you blow air over the sensor, the resistance changes. The circuit detects this change and turns off the eight LEDs. When you stop blowing, all but one of the LEDs turn on. This cycle continues until you’ve blown across the sensor eight times and all LEDs remain off.
The “blow sensor” consists of a 47-O, 1/4-W heating resistor attached to a 180-O NTC thermistor. To attach the resistor, scratch the paint off one of the leads of the thermistor bead to expose the metallic contact. Then cut one of the resistor’s leads near the cap. Scrape the paint from the resistor cap to expose its metallic surface. Then solder the resistor to the exposed thermistor contact (Fig. 1).
Soldering ensures firm thermal contact between the devices. When voltage is applied to the heating resistor, the thermistor’s temperature rises and its resistance decreases. If you blow air on this sensor, it cools down and its resistance increases. Thus, the sensor detects air blown over it.
The circuit runs on 6 V, either four AA cells or a rechargeable lead-acid battery. A mains-connected supply was avoided as a safety precaution. The blow sensor consists of heating resistor R1 and the thermistor R4 (Fig. 2). R1 is fed through a small resistor, R2, in series. The thermistor forms a voltage divider with R3. Node X is connected to the inverting terminal of op-amp U1A (LM324). Node Y of the divider formed by R5 and R6 is connected to U1A’s non-inverting terminal. U1A amplifies the difference voltage between nodes X and Y. Q1 (TIP 122) boosts U1A’s output current.
A T-filter (R9, R10, and C2) smoothes the voltage fluctuations in U1A’s output. These fluctuations are caused by the varying current drawn by the blinking multicolor LEDs. The filtered voltage is then fed to the inverting terminal of comparator U1B, whose non-inverting terminal is held at 0.5 VBAT by voltage divider R11 and R12. The comparator’s output passes through Schmitt-trigger inverters U3A and U3B (74HC14) and is connected to the clock input of shift register U2 (74HC164).
The shift register comprises an 8-bit serial-in/parallel-out device that’s used to turn off the LEDs one after the other. Inputs A and B of the shift register are tied to logic high. The clear pin is connected to the power-on reset circuit, which consists of C1, R14, and Schmitt-trigger inverter U3C. The outputs of the shift register are connected to eight PNP transistors, Q2 through Q9. In the collector circuit of each of these transistors, LED1 to LED8 are connected. Power for ICs U2 and U3 is derived from VBAT using a Zener regulator (D1) of 5.1 V.
At power ON, Q1’s emitter voltage is zero because voltage at node X is higher than at node Y. As heater resistor R1 heats thermistor R4, the voltage at node X starts decreasing. Gradually, voltage at Q1’s emitter starts to build up. The power-on reset circuit clears the shift register contents and all eight outputs of U2 become low. Therefore, transistors Q2 to Q9 turn on. As Q1’s emitter voltage builds up, the LEDs gradually turn on. The emitter voltage stabilizes at about 4.7 V. This process takes about 40 to 50 seconds and all LEDs glow with full brightness. The circuit is ready for use.
When the birthday honoree blows air on the sensor, the voltage at node X increases, reducing the voltage at Q1’s emitter. This reduces the brightness of the LEDs. When the LEDs fully turn off, the voltage at the non-inverting terminal of comparator U1B goes below 0.5 VBAT. U1B’s output then goes high and generates a clock pulse to the shift register. Since shift register inputs A and B are high, output QA goes high and transistor Q2 turns off. When all of the LEDs are off and the blowing stops, the LEDs again turn on gradually. But LED1 will not turn on since transistor Q2 is off. To turn off all of the LEDs, repeat the process eight times.
The circuit was assembled on a circular printed-circuit board PCB) with the eight LEDs equally spaced on the periphery (Fig. 3). The sensor was located on the front side and the supply wires on the back side. The finished unit includes a CD used as a reflector to enhance the light output from the LEDs—and to hide the components on the PCB (Fig. 4).
Implementers can customize this circuit in a number of ways:
The circuit was tested at an ambient temperature between 20°C and 30°C (68°F to 86°F). For lower temperatures, you may have to reduce the value of R2 to compensate for higher heat losses.
To speed up the turn on and turn off of the LEDs, U1A’s gain can be increased by boosting the value of R8.
You can increase the number of LEDs by having more than one LED in parallel for each transistor.
You can reduce the number of cycles for turning off LEDs by controlling more than one transistor with one shift register output.
Thanx for your reply..... It has actually solved our problem and we have completed the circuit successfully.yes this circuit is working properly by using higher value of thermistor.
we have used 395 ohm thermistor and by using the proportionate resistance value i.e 100 ohm.
Bir Inder Singh -July 16, 2008
The circuit should work properly with higher values of thermister also. One change you have to make. The value of R4 should be changed in the same proportion. For example, if you want to use 350 ohm thermister, then proportionately the value of R4 will have to be increased to (47/180)*350 = 91.38 ohms ie you can use 89 ohm resistor.
Abhijeet -July 15, 2008
The circuit should work properly with higher values of thermister also. One change you have to make. The value of R4 should be changed in the same proportion. For example, if you want to use 350 ohm thermister, then proportionately the value of R4 will have to be increased to (47/180)*350 = 91.38 ohms ie you can use 89 ohm resistor.
Abhijeet -July 15, 2008
if higher value of thermistor (350 ohm) is used instead of 180 ohms, then how will it respond in circuit.
please reply as soon as possible.
thanking you.
chetna -July 14, 2008
we are also try to make this circuit but the themistors of these low ohm values are not easily available infact are not available in the market. what should we do to make this circuit by using higher values of thermistor? please give your views and ideas about this question. thanks.
Bir Inder singh -July 09, 2008
Dear John,
Thanks for pointing out the typographical mistake in the value of R1 in Fig. 2. It should be 47 ohms. (It is wrongly written as 4.7 ohms. However, in the text for Blow Sensor it is correctly mentioned as 47 ohms). Sorry for that, as we did not catch it in our reviews. The measured current in our prototype when all LEDs are ON is 200 mA and when all LEDs are OFF, it is 160 mA. Therefore, the power consumed is about 1.2 watts, which is reasonable.
The worst case dissipation in R1 (47 ohms) when R2 is made zero is 0.76 watts. We have tested it for more than 200 power cycles still the resistance has not failed. As R1 is in good thermal contact with thermister R4, the sensor assembly is able to handle higher dissipation. The sensor attains a maximum temperature of about 70 deg C, which is not hazardous.
As discussed above, the power consumed is 1.2 watts. Assuming the circuit remains ON for about 10 minutes during a birthday party, the energy consumed will be barely 0.2 watt hours, which is small.
Finally, our goal was to eliminate use of fossil fuels, which is the need of the hour and we have achieved it thru this concept.
Thanks and regards
Abhijeet Deshpande
Abhijeet Deshpande -May 25, 2008
Dear Editor,
Regarding the article Ideas For Design "Electronic birthday candles" in issue 04:24:08, page56
With an issue that opens with your editorial on green design, I'm quite suprised and dismayed by the circuit in this article for a couple of reasons.
The claim of being "eco friendly" is improbable.The batteries required will be significantly more environmentally expensive that birthday candles. Doing a quick calculation of power consumption, the circuit draws in the order of 580mA with all the LEDs off, up to approx 904mA with all the LEDs on. If run from a set of 4 AAA batteries, say each of capacity 1Ah, these will be flat pretty quickly. If as the foot-note suggests resistor R2 is reduced in value then power consumption increases yet more.
Designing with a 1/4W resistor dissipating 1.42W is bad practice under any circumstances - the component will fail before long, and is a fire or burn hazard especially if the device were left unattended or used by unsupervised children. (Admittedly, candles also have this problem, both in ultimate failure and the hazards.)
But the main reason is the poor example this sets in a design which unnesccessarily dissipates over 3.3W in heat, to measure blowing, when the electronics design community is trying to work toward energy efficiency. The concept, which is a nice entertaining idea, could instead have been constructed and demonstrated as an example of how to design for low power and efficiency. When designing products or preseneting examples we should all be using the best practices available, whether they be for energy efficiency, greenness, EMI/EMC compliance, cost, manufactureability, recycling, etc.
As your Editorial Mission notes, "to provide the most current, accurate, and in-depth technical coverage of the key emerging technologies that engineers need to design tomorrows products today", current accurate technical coverage to design tomorrows products should include design with better efficiency. The burden on us all as electronic engineers is to demonstrate and encourage this in design.
Regards, John (reader of Electronic Design since 1980's)
John D. Lord -May 16, 2008
Nice circuit but with a big flaw... :^) The tradition in the USA (at least) is for the birthday boy (or girl) to "make a wish" and then blow out the candles with ONE breath. This circuit guarantees you will NOT get your wish. It needs to have the sensor gate an oscillator which will extinguish all the LEDs... if you blow long enough.
Harry Bissell -May 02, 2008
Your Comments:
Enter the text from the image below
Please refresh the page if you have trouble reading this text.
Search Electronic Design
Email Newsletter
Sponsored By:
Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.