LED-Circuits (Page 2)

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.

Constant Current Source for LED

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.

This indicates like LM3914 in dot-mode. It is a drawing i made made to troubleshoot a gadget, around two decades ago. Strangely it had a echo of a design i had made into a 7107 dpm years before that. Now i am scanning all my drawing and notes, useful or not. Clean or with errors. Many Errors = 1 Blunder. Some projects i made have been expensive Blunders. So see them with a skeptic eye, fix them, try them. Thats all for now.

See the Circuit Full Size – Microohm Meter with LED Analog Bar

Microohm Meter with LED Analog Bar

This has a 9V battery power. The 555 spins and a negative voltage for Opamp is created. This is a Low Offset amp of OP37 of Precision Monolithics, Inc PMI an early innovator. This diff-amp amplifies the uV of a 4 wire resistance measurement.

Now the current pump is the 2N2222 you see above the OP37. The FET and 555 do synchronous rectification. The LM324 is the Indicator and Analog to LED Dot-Bar Converter. The probes are Gold Plated, or use solid gold pins if you have them in plenty.

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.

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.

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.

Digital Timers Counters and Clocks

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.

This circuit is an User Interface part of a Security Alertness Monitor that i designed decades ago. The circuits are here – Digital Circuits – Part 1 The RAM and RTC part is missing, i will add later. It is without uC or Software. Only CMOS Logic.

Audio Visual User Interface with Ack

Every Hour “+V UR” Goes High for 120 Seconds. The Buzzer Sounds and a Red LED turns on. The Guard has to respond by Pushing the Switch. The Green Light Flashes and the external Flip-Flop logic brings “+V UR” Low, The Buzzer Sound Stops and Red Light Goes off..

If not pressed the Sound Stops after 120 Seconds and even the Red light goes off then. This records a Non-Alert Hour in the RAM for that Day. The Ram Stores 9 Days alertness status.

You could try porting this project into a 89C2051 for learning product and interface design.

This Circuit  is a DPM or digital panel meter. It has a analog bar graph display and a 3-1/2 digit digital display. ICL7107 is used in the 200mV configuration.

U4A opamp LF353 amplifies the 200mV Full scale input to the level required for the LM3914 display circuit. D13-D14 are clamping protection diodes. Adjust P1 trimpot for a reading of 1000 counts when a 100.0 mV signal is fed at Vin. Adjust R8 trimpot to get the 5th led  to just turn on at 100mV input.

Analog and Digital Voltmeter using ICL7107

A combination of digital and analog display is helpful for quick decision making. Analog indicates even from a distance the process dimension.

Human Brain understands analog better. The digital is required to note down and record values for determining a setpoint or performance of a system.

Sometimes a analog recorder with a ink-pen plot against time is a very good way of process analysis. Many systems are better studied using graphs not tables and lists of numbers. A Computer based data-logger gives greater power to this methods. You can measure and plot graphs of various types and at different points and for much longer periods.

This is a part of my Build a DMM or Digital Multi Meter

Here is a easy to read ‘Analog’ Millivoltmeter. Just like the Moving Coil Voltmeter, but does not have that resolution. This gives a easy indication of process progress or parameter magnitude from a large distance. A bargraph is easy on decision making too, compared to a digital readout.

How this Works ? – The analog input in mV – millivolts is fed to R18, RC reduces Noise and the Zener Clamps protect. The LF353 FET Opamp offers High Impedance as a Non-Inverting Amplifier, which nullifies measurement burden, Remember the Moving coil voltmeter loads the measured circuit, causing sizable errors. Then they invented the Vacuum Tube Voltmeter to solve this issue. An FET voltmeter is near ideal, they ought to have inventing this first.

The Zeners and C3 Plastic cap should not leak, even if they do it should be in Pico Amps. Get quality stuff and do a neat job putting them together. To master this leakage and other aspects, try building an Electrometer with CA3140. Another Measurement challenge is uV Microvolt measurements, you will be faced with new glitches in connectors and PCB due to thermocouple effects and contact resistance. A soldered joint near a hot resistor will set up enough thermal gradients and create many thermocouples all over the board. Try to measure 1 Microohm with a 10 Amp pulse or 1 A DC. You will learn many things. Connectors have a craze for the Precious Metal, they act funny if they do not have enough Gold on em.

Once i observed, very low voltages or circuits with nominal voltages but very low currents, cannot break a near invisible layer between the plates of a good connector. A sub-micron coat of corrosion, dust or even some organic deposit, was forming a dielectric layer which was impervious to uV and pA. A good cleaning with a volatile organic solvent solved the problem but messed up other plastics nearby.

Millivolt Meter using a LM3914 LED Dot Display

Millivolt Meter using a LM3914 LED Dot Display. – This circuit is a part of my Build a DMM or Digital Multi Meter