Showing posts with label LED-Circuits. Show all posts
Showing posts with label LED-Circuits. Show all posts

## Monday, June 05, 2017

### Constant Current Source for LED

This article will explain the way a simple transistor based current source is designed, this will give an idea on how some components can be used in a practical way to make the circuit do some function, the objective is not design but to become familiar with the basic ideas.

Design of a Constant Current Source

In the circuit the LED is used as a reference so to keep it cool a 2.2K is chosen. (20V - 1.6V) / 2.2K = 8.3mA on the high side and when voltage is 10V the current will be 3.8mA min.

You should know that the LED forward drop can change with ambient light as it is photo sensitive and will vary with temperature.

The circuit can be improved by using a zener in place of the LED or better still a temperature compensated reference like LM336.

Operating Current of LM336 is 400uA to 10mA, 20V The max. voltage 20V / 3.3K = 6mA. so within limits. Then you can compute the rest, wire it up to see if your design works.

## Thursday, July 09, 2015

### Mains Current Indicator with a LED

This is a mains 230V AC load current indicator and is a LIVE CIRCUIT, so take care. The Resistors have to be a fusible ceramic wire wound.

More at Mains Voltage and Power Circuits

This circuit has been drawn from my memory and i have not tried it out again, just see if it is ok and then try. You should use the fuse of 1A a slow blow if you want but it is very important. You can design the shunt R3 and Fuse rating as required by your load.

Note that this circuit is to be put in series with the load like an ammeter. If you put it across the supply like a voltmeter it will fuse out or burn out. This circuit has to be enclosed in a plastic sealed enclosure to avoid contact.

### Mains Voltage Indicator with a LED

This is a mains 230V AC voltage indicator and is a LIVE CIRCUIT, so take care. The Resistor has to be a fusible ceramic wire wound and the capacitor 630V AC or higher capacity.

More at my Home Made Circuits.

This circuit has been drawn from my memory and i have not tried it out again, just see if it is ok and then try. You should use the fuse of 100mA a slow blow if you want but it is very important. This circuit has to be enclosed in a plastic sealed enclosure to avoid contact.

## Saturday, February 14, 2015

### Running Lights with CD4017

The 555 Astable generates a clock for this circuit, an oscillator giving a square wave output at pin 3 which is counted by 4017 to give a running lights effect.

The decade counter-divider CD4017 has 10 outputs, for every low to high transition at the clock input, rising edge, the counter advances one LED. After going one full circle the the first LED lights again and it goes on. You can vary the value of R2 100K Linear potentiometer to make LEDs run fast or slow.

The frequency of oscillation of astable 555 is given as f = 1.44 / ((R4 + 2 * (R2 + R3)) * C3)
The 10 outputs have 10 green LEDs. The current thru the LED is limited by R1, the current can be calculated like this (9V - 1.6V) / 1K = 7.4mA this is within 20mA which is the danger limit of the CMOS output. You want it to be bright use transistors for every output.

The cap C1 is a filter and C2 is to prevent noise at pin 5 influencing the output as it is a control voltage point.
You can cascade or chain many more counters with the CO or carry out pin 12 of 4017. The pin 15 reset is kept at low for counting, on high it will reset the counter but is not used in this circuit.

pdf links may take time to load in the browser if you just click it, do right click save target to your disk.

## Thursday, February 01, 2007

### Constant Current Source LED Drive

This is a Constant Current Source LED Driver, When the LED driver Upper-NPN is driven by a voltage thru 4.7K the LED lights up. Assume that the Lower-NPN at bottom is absent. The current via LED and NPN is limited by R. 20mA may be ok 15mA even better. Or LED blows even transistor goes.

BC547 is like 100mA-40V-200b, Limit collector current to 60mA, use it at less than 25V and depending on the individual transistor you may get a DC current amplification of 200 times. That is 1uA of base-emitter current could give a whooping 200uA of collector-emitter current.

Still Thinking we do not have the Lower-NPN we calculate the resistor. Vcc - ( 2 LEDs * 1.7) - Vce = Vr that is the voltage across the resistor. You know ohms law and the current needs to be 15mA for a bright and long lasting LED. Lastly 1.7 the forward drop of a green LED and 0.6 a saturated or Turrned-On NPN Vce.

Now you use the Lower-NPN, The above calculations do not hold anymore. Let us think a small current is flowing in the LED. Then the voltage across R is less than 0.7V, that means base-emitter diode of the Lower-NPN will not get to conduct. The Collector does not draw any current away. Now think that more current flows in LED, the voltage across R builds up above 0.7V the Lower-NPN is biased. The collector of Lower-NPN starts drinking current from the base of the Upper-NPN. So The Upper-NPN starts losing its bias. This lowers the LED current and contains, regulates or controls the LED current as shown in the formula.

## Circuits by Application

 Analog Circuits SCR and Triac Mains Power Digital Circuits Measureall DMM Mixed Circuits 555 Circuits Discrete Circuits Opamp Circuits Power Electronics uC and uP Instrumentation Circuits Process Control