delabs Circuits

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

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

Mains Current LED Indicator

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.

Mains Voltage LED Indicator

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.
Running Lights with CD4017
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

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector