Showing posts with label led. Show all posts
Showing posts with label led. Show all posts
Wednesday, 2 October 2013
30mA LED Dimmer
If you’ve ever tried dimming a LED with a simple potentiometer, you know that the approach does not work very well. Just as with ordinary diodes, the voltage-current characteristic of LEDs is far from linear. The result - depending on the potentiometer setting the LED brightness will hardly change most of the time as the pot is turned and a sudden variation at the end. The best method to tackle this problem is to power the LED from a current source with zero to 100% adjustment range. The circuit shown here is an example. A low-current LED (D1) is used to generate a reference voltage that’s first buffered by one half of an LM358. The actual current source that powers the LED(s) is built around the second opamp in the chip.
The potentiometer allows the output current to be adjusted, with R2 acting as a current sense, the resistor dropping the same voltage as the one obtained from the pot. Using Ohm’s law we find that the maximum current through R2 amounts to about 29 mA (I LED = 1.6 V / 56 Ω). If necessary, the current may be adapted to suit other LED types, for example, 20 mA is obtained with R2 = 82 Ω and 10 mA at R2 = 150 Ω. It is also possible to connect several LEDs in series. The total voltage available for the LEDs is determined by the voltage drop across series resistor and the opamp, and, of course, the supply voltage.
In this way, the highest number of LEDs may be found from ULED, total = Ubatt – 5.1 V. In principle, it is possible to increase the supply voltage to 30 V in order to connect even more LEDs in series. This does, however, call for the value of series resistor R1 to be increased to prevent overloading the low-current LED used in the voltage reference. If you intend to experiment with larger numbers of LEDs (say, in arrays) then the maximum loading of the opamps becomes an issue. The DIP version of the LM358 may dissipate up to 830 mW. The power, P, is calculated from P = Ubatt – 1.6 – ULED,total × I LED,max.
ContinueReading..
The potentiometer allows the output current to be adjusted, with R2 acting as a current sense, the resistor dropping the same voltage as the one obtained from the pot. Using Ohm’s law we find that the maximum current through R2 amounts to about 29 mA (I LED = 1.6 V / 56 Ω). If necessary, the current may be adapted to suit other LED types, for example, 20 mA is obtained with R2 = 82 Ω and 10 mA at R2 = 150 Ω. It is also possible to connect several LEDs in series. The total voltage available for the LEDs is determined by the voltage drop across series resistor and the opamp, and, of course, the supply voltage.
In this way, the highest number of LEDs may be found from ULED, total = Ubatt – 5.1 V. In principle, it is possible to increase the supply voltage to 30 V in order to connect even more LEDs in series. This does, however, call for the value of series resistor R1 to be increased to prevent overloading the low-current LED used in the voltage reference. If you intend to experiment with larger numbers of LEDs (say, in arrays) then the maximum loading of the opamps becomes an issue. The DIP version of the LM358 may dissipate up to 830 mW. The power, P, is calculated from P = Ubatt – 1.6 – ULED,total × I LED,max.
Monday, 30 September 2013
Novel White LED Torch
Although this design is reproduced directly from the manufacturer’s datasheets, its use in this application is rather novel. Originally intended for high-visibility LED bargraph readouts, here the LM3914 is used as the basis of a 10-step variable brightness current-regulated white LED torch! The circuit has only four components in the control and regulation circuit: R1, R2, VR1 and the LM3914. The circuit can be built directly on the pins of the LM3914 to produce a package not much bigger than the LM3914 itself. The LM3914 is set to operate in bargraph mode so that the LEDs light progressively as its input signal increases.
This signal comes from the wiper of VR1, which provides a variable voltage between 0V and the supply voltage to pin 5 of the LM3914. The internal resistor ladder network of the LM3914 has its low end (pin 4) connected to ground and the high end (pin 6) connected to the supply voltage via R2. The purpose of R2 is to give LED 10 a clear turn-on zone. Resistor R1 (620Ω) on pin 7 of IC1 sets the current through each LED to about 20mA. As VR1 is rotated from the 0V position (all LEDs off) to the supply voltage position (all LEDs on), the LEDs will progressively light. With all LEDs off, the circuit will draw about 5mA. With all LEDs illuminated, it will draw about 205mA and dissipate 307mW with a 4.5V supply.
Editors note:
These are nominal figures only. Actual device dissipation will depend entirely on the input voltage and LED forward voltage. In use, we recommend that a resistor (R3) be inserted in series with the positive supply, chosen so that the LM3914’s dissipation is limited to about 500mW. Typically, this would be needed for supply voltages of 6V and higher. The inclusion of the resistor necessitates a 10μF decoupling capacitor across the supply rails.) By carefully selecting the LEDs, this torch can be as bright as 15,0000mCd while costing less than $20.
ContinueReading..
This signal comes from the wiper of VR1, which provides a variable voltage between 0V and the supply voltage to pin 5 of the LM3914. The internal resistor ladder network of the LM3914 has its low end (pin 4) connected to ground and the high end (pin 6) connected to the supply voltage via R2. The purpose of R2 is to give LED 10 a clear turn-on zone. Resistor R1 (620Ω) on pin 7 of IC1 sets the current through each LED to about 20mA. As VR1 is rotated from the 0V position (all LEDs off) to the supply voltage position (all LEDs on), the LEDs will progressively light. With all LEDs off, the circuit will draw about 5mA. With all LEDs illuminated, it will draw about 205mA and dissipate 307mW with a 4.5V supply.
Editors note:
These are nominal figures only. Actual device dissipation will depend entirely on the input voltage and LED forward voltage. In use, we recommend that a resistor (R3) be inserted in series with the positive supply, chosen so that the LM3914’s dissipation is limited to about 500mW. Typically, this would be needed for supply voltages of 6V and higher. The inclusion of the resistor necessitates a 10μF decoupling capacitor across the supply rails.) By carefully selecting the LEDs, this torch can be as bright as 15,0000mCd while costing less than $20.
Thursday, 26 September 2013
LED Noughts And Crosses
Here’s a twist to the age-old game of noughts and crosses. Instead of pen and paper, it uses nine 10mm tri-colour LEDs arranged in a 3 x 3 grid. One player has nine red buttons while the other player has nine green, set out in identical grids. The aim, of course, is to make three LEDs in a row glow the same colour – red or green! Pushing a red button causes the LED in the equivalent position on the grid to glow red in colour. Likewise, pushing a green button lights the equivalent green LED.
If a player pushes a button for a LED that is already glowing red or green, then that LED changes to yellow, exposing the false move! All the LEDs are then turned off, ready for the next game, by pressing the "Clear" button. For simplicity, the circuit shows only one tri-colour LED and a pair of opposing buttons. This circuit fragment must be repeated another eight times to create a complete 3 x 3 grid. A brief press on a button fires the associated SCR and turns on the LED. The common (cathode) lead of all LEDs is connected to the 0V rail via the normally-closed contacts of the "Clear" pushbutton (S3).
ContinueReading..
If a player pushes a button for a LED that is already glowing red or green, then that LED changes to yellow, exposing the false move! All the LEDs are then turned off, ready for the next game, by pressing the "Clear" button. For simplicity, the circuit shows only one tri-colour LED and a pair of opposing buttons. This circuit fragment must be repeated another eight times to create a complete 3 x 3 grid. A brief press on a button fires the associated SCR and turns on the LED. The common (cathode) lead of all LEDs is connected to the 0V rail via the normally-closed contacts of the "Clear" pushbutton (S3).
Subscribe to:
Posts (Atom)

