LED-Circuits (Page 3)

This is a LED Analog Meter, This can be used as a Resistance Meter and Low Impedance Voltmeter for Battery Levels. To measure battery voltage, the R5-R12-R17 etc. part of the Reference Resistor Divider Network can be modified to suit. Shown here is for 4 LEDs, Use Three LM324 for 12 or More LEDs and Cascade as shown.

Resistance Measurement Analog LED Meter

This cannot Measure Voltage levels from High Impedance Sources, will work for Battery Voltage Tests. To make it into a Continuity tester. R27 must be a short and R23 5 Ohms. The Black probe should have a Built in Resistance of 2 Ohms. If you want it to be a dedicated voltmeter, remove R3, The Probe has to be a 10X Attenuator with 10M Ohm and The Resistor Divider Steps in 100mV per Step. The R27, R23 etc. is 20K. A Leakage Tester a Mains Voltage Monitor are other possibilities. Use LM3914 for a easier solution. A nice book for your Design Library – Measuring Circuits By Rudolf F. Graf

The proximity switch can work for a wide range of power, from 8v to 18v DC, D3 protects reverse power supply connections, and U1 regulates the supply to +5v , -5v is derived from U2 555 oscillator which serves dual purpose.

Circuit Operation

Part of – InfraRed LED Flasher for Optical Switch

The infra red diode D2 detector gets the reflected light from LED and some ambient light, The forward voltage drop of D2 will vary with the amount of light falling on it. Ambient light causes a DC component and the pulsing light from D1 causes an AC component.

Proximity Switch - Driver Supply

The capacitor C6 blocks DC and only transfers AC pulses if any to opamp amplifier U3A whose gain is set by R18, D9 rectifies the pulses to DC and this DC voltage is used by opamp comparator U3B which drives Q1 through Q2 for an open collector output for relays. LED D7 turns on when relay Output is high.

R14 and R13 can be replaced with potentiometer for threshold adjustment if required.

Testing
Connect 12v DC supply to +V and GND Ports, Connect a relay coil Between OUT and GND Ports, you can use the relay contacts as you require to turn on a lamp, heater, fan or motor.

If all connections are ok and ICs are working you should see a +5V at U3 pin8 VCC and around -4 to -5 at U3 pin4 VDD.

See also – Mixed and Interface Circuits

Optical Proximity Switch - Detector

Construction

The Optic switch can be used for both reflecting detection (retro reflective) or obstacle detection. The mechanical construction will decide this, for obstacle detection the diodes D1 and D2 could be put in two different tubes and can be kept far apart 2mts+ and both should be exactly opposite each other, any obstacle like a passing person will be detected.

To make a retro reflective proximity switch this circuit is ideal, it can be housed in a cylindrical 30mm by 70mm metal unit with m30 threads and nuts for mounting, both D1 and D2 have to be fitted in the front of this tube on a plastic plug optically insulated from each other yet beside each other.

This circuit shows the voltage doubler working with a 555. LM555 has good drive 200mA, both Vcc and Gnd.

555 has the advantage of having a high drive as well as being a Mixed Design, Analog Programmable chip. That may be a High Title for such humble a chip.

It has the capability of a Mini ADC due to its VCO function. It could form even a simple switching supply. Power Line Modems have been designed using this chip.

Timers, Modulators, Trip Relays and even a Timer for The Humble Bread Toaster. Musical circuits, Piano and Metronome Galore, it drives Speakers directly.

The Star of what we used to Know as Chip as IC. Too small today in the days of ASIC and FPGA. But ideal for Education of Electronics and Simple Real times Solutions.

This is a constant current source using a FET. This is the most simple replacement to series resistor to limit current. The N-Channel FET BF256C can give 15mA current.

Simple Methods

Before you get to use chips, experiment with some methods, which will help you learn about the LEDs better. The first is just One Resistor in series. This is to Limit the max current in a Series LED Chain. If you have a Regulated Supply with a Fixed Voltage, then you can use this method.

Let us take a 12V SMPS, Each HB White LED has a drop of around 3.2 (please see datasheet). If you put 3 LEDs in series it is a drop of 3 X 3.2 = 9.6 V.

12V – 9.6V = 2.4 V. This is the drop across the Resistor, let us keep the current at 20mA for a Long life for LED. Some LEDs will get damaged at 30mA some take more that that. We now have LED Modules which can take even 1 or 2 A.

V/I = R as per OHM. 2.4V/20mA = 120 E or Ohms.

How Hot? W = VI Power in Watts. 20mA x 2.4V = 48mW. This is where you lose the Money. Keep it low, else the Green Goblin will frown. Unless you want LED Lighting to double up as a Room Heater, Nice idea if you are in the Artic.

Now you have a chain of 3 LED with one R, make many such chains and put it in parallel to around 70% of SMPS capacity. If you have 20 Strips of 3 LEDs each, 20 X 20mA = 400mA. You will need a 12V 600mA SMPS .

MOSFET Drive for LED Constant Current

Let us assume, you have a supply that is varying and not stable. Then use a SMPS and Resistor as shown above. Closely matching the LED Chain to the SMPS voltage to keep the heat loss minimum. At Low voltages the above idea may not work. So you can try a MOSFET circuit shown.

You can use Transistors too but The Heat is more, as the Drop is more. When you use batteries, you cannot afford to lose even 0.5V. So the MOSFET is the answer.

This circuit is a nice design idea about LED drive with low voltage and watts burden. In combination with a Joule Thief – and PWM you can make many White LED utilities like Lanterns and Flashlights. PWM is to modulate brightness and also Extend LED Life.

The Essence is The LED has to have a long life, constant current is the answer. The Efficiency has to be High, Switching MOSFET is the answer. For just a LED or Two, you do not need to bother about Efficiency, but Constant Current, No Compromise. Why? Because it is in the Absolute Maximum Rating.

“You do not cross the road, when the light is RED. You do not Drive Faster, than the Speed Limit. You do not Eat, more than you can Digest.You do not Stress the Absolute Max in the Ratings.”

The Elektrik Jedi

Read More