Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 18th April 2004, 03:33 AM   (permalink)
Default Voltage polarity indicator help

Hello, i have to design a citcuit which will light a colred LED if the voltage is less than 5v and another LED would light if the voltage is more than 5v. i would like some ideas or tips on how to construct such a circuit and what type of components is need. if you could pass on any helpful websites that would be great.

thanks a lot
skithat2004 is offline  
Old 18th April 2004, 04:50 AM   (permalink)
Default

It sounds like you're looking for a LOGIC PROBE.

here is a link to a recent discussion on Logic probes, which has some good links to circuits, as well as a circuit diagram included.

http://www.electro-tech-online.com/viewtopic.php?t=8005

Also, if you search the web under logic probe, I'm sure you'll find plenty of circuits.

Good luck. I hope this is what you're looking for.
Johnson777717 is offline  
Old 18th April 2004, 01:59 PM   (permalink)
Default

Without bothering to look at the link johnson supplied, couldn't you just use a comparator with voltage dividing network??
__________________
www.winpicprog.co.uk - Great PIC language tutorials.
pike is offline  
Old 18th April 2004, 11:18 PM   (permalink)
Default

i've heard ideas of using opamps to construct this circuit, any suggestions as to how i can go about it using opamps?
skithat2004 is offline  
Old 19th April 2004, 12:29 AM   (permalink)
Default

Use the 5 volt rail as a reference,
and it becomes easy.

John
Attached Images
File Type: jpg Logic_339.jpg (7.0 KB, 1496 views)
john1 is offline  
Old 19th April 2004, 03:13 AM   (permalink)
Default

ok, how would i use the opamp so that the LED knows how much voltage its getting? this is the first time ive had to design a circuit and i really appreciate all the advice.
skithat2004 is offline  
Old 19th April 2004, 04:38 AM   (permalink)
Default

Using an Op-amp here would suggest a comparitor circuit, as mentioned above by Pike.

check here for an op-amp tutorial which describes a comparator.
http://www.uoguelph.ca/~antoon/gadgets/741/741.html

here
http://faculty.dbcc.cc.fl.us/cox/Op_amp%20B.htm

This should give you a good start! Good luck!
Johnson777717 is offline  
Old 20th April 2004, 02:58 AM   (permalink)
Default

thanks a lot for the links, i'll try to see if i can make sense of it and try to make a design for my circuit
skithat2004 is offline  
Old 25th April 2004, 01:22 AM   (permalink)
Default

Ok, i think i understand the concept of how a comparator works, but i'm still having trouble applying it to the circuit i need. how do i make it so that it responds to the 5v cut off range (green led on when above 5V, red on when below).

ive heard that i only need one op-amp to do this, but i still need to figure out what kind of resistors i need and how to connect the LED's to the op-amp. any advice would be greatly appreciated, i'll try to look around for more info as well

thanks
skithat2004 is offline  
Old 25th April 2004, 01:50 AM   (permalink)
Default

Here is a suggestion.

Len
Attached Images
File Type: gif Voltage_indicator.gif (3.2 KB, 1382 views)
ljcox is offline  
Old 26th April 2004, 03:04 AM   (permalink)
Default

Hey thanks for the suggestion. i've done my best to figure this all out and i think i've found a good design. i wasn't too sure about what the value of my resistor should be though or about the positive or negative power supply's

sorry for the crude drawing
Attached Images
File Type: jpg opamp.JPG (7.1 KB, 1317 views)
skithat2004 is offline  
Old 26th April 2004, 04:37 AM   (permalink)
Default

This one has two disadvantages.

1. there is no hystersis. So if the input voltage is close to 5 Volt, neither of the LEDs will glow. However you can add hystersis to your circuit by providing a feedback resistor from the output to the + input and series resistors as in my circuit. If you use the same resistor values, you will have about 60 mV of hystersis.

2. you need two supply voltages.

However, it has the advantage that there will be less current required since it does not have the 2 resistors in series across the supply that mine does.

As for your question about the about the positive or negative power supply's, I don't know which IC you intend to use, so I don't know what common mode range it has. In general, you would need supply voltages of at least 8 Volt.

If you make the resistor in series with the LEDs 1k, you will have a LED current of about 6 mA for supply voltages of +/- 8 Volt. If you want the LEDs brighter or dimmer, change the resistor to another value.

You should check the data sheet of the IC you use to ensure that it can source the LED current.
ljcox is offline  
Old 26th April 2004, 11:38 AM   (permalink)
Default

Appears to be a good app for a comparator IC such as a LM339, heres a link to some info.

http://home.cogeco.ca/~rpaisley4/Comparators.html
__________________
Two roads diverged into a woods...i took the one less travelled by. R. Frost.
nettron1000 is offline  
Old 26th April 2004, 11:49 PM   (permalink)
Default

Yes but, unlike the op amps, comparitors have open collector outputs. So if the LM311 is used, 2 resistors are necessary to make 2 LEDs work.

If the LM339 is used, 3 resistors will be necessary since the emitter of the output transistor is connected to the negative supply pin.

Len
ljcox is offline  
Old 27th April 2004, 09:41 PM   (permalink)
Default

wow, ok im pretty sure the circuit i posted up before works. only problem is im having a lot of trouble trying to get it made correctly on a breadboard. if anyone knows how to put such an opamp on a breadboard correctly, your advice would be so great. the way i set up up, i have the opamp staddling the break in the middle of the breadboard. im sure i have a wire out of place somewhere so that all the connections aren't being made right, if anyone can help me correct this it would be awesome


thank you
skithat2004 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:33 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker