Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need help designing a led indicator

Status
Not open for further replies.

scampo77

Newbie level 2
Joined
Apr 10, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
i have a rheostat that is variable from 0-90 ohm. i am wondering if anyone would be willing to help me figure out how to make the LEDs come on as the voltage rises, 0-3 ohm is 1 led and at 85-90ohm is all the leds.

im not sure if i should use op-amps for each step or if there is a simpler way.

any help would be appreciated scampo77@gmail.com
 

Use OP AMPs. I'm not exactly sure how to do it, but I believe it involves hooking them up in series with different values of transistors between them. The rheostat can control the amount of current that will go into the series. I'm sorry for my vague answer (I know next to nothing about electronics myself) but I hope it helps!
 

Not quite right...

There are two methods you can use, one is to use a series of comparators and connect the outputs to the LEDs. The comparator switches state when the voltage on one of it's inputs exceeds the other. You connect the voltage from the rheostat to one input of all the comparators and a stepped voltage level to each of the others. For example, you put 1V on the first comparator, 2V on the second, 3V on the third and so on. As the voltage from the rheostat reaches each of these voltages, the matching comparator turns its LED on. The good news is there are several dedicated ICs for doing just this so it is a relatively trivial task.

The second method is more versatile but a little more difficult to implement. You use a cheap micro-controller (for example a PIC) with a built in ADC. The ADC measures the voltage and software does the comparison with fixed levels you have chosen. Then, as each level is exceeded, you turn on one more pin of the processors port to light an LED. This method probably costs less than using comparators and it uses fewer components (possibly only one, plus the LEDs and their series resistors) but it would involve writing a very simple program.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top