| Author |
Message |
IndiJones
Joined: 13 Aug 2001 Posts: 157
|
02 Nov 2001 4:18 |
|
|
|
| I need to design a digital circuit that will output logic 1 and lit an LED when the input analog voltage is within a certain range (say 2-5 volt) and will output logic 0 elsewhere. A schematic would be very helpful. Thanks in advance!
|
|
| Back to top |
|
 |
Alexg
Joined: 14 May 2001 Posts: 51
|
02 Nov 2001 4:29 |
|
|
|
What you need is called a "window comparator". Follows a link to one of many many ways of doing it. Do a search with windows comparator and you will find a lot of different circuits to opt from.
http://w*w.acroname.com/robotics/info/ideas/window/window.html
Best regards,
Alexg
|
|
| Back to top |
|
 |
sigint
Joined: 01 Jan 1970 Posts: 1010 Helped: 14 Location: State of total confusion
|
02 Nov 2001 6:02 |
|
|
|
Use a window comparator for indication only, not for voltage control - whwn used for control it will always oscillate.
Skip
|
|
| Back to top |
|
 |
MITSUKO
Joined: 06 Jun 2001 Posts: 49
|
04 Nov 2001 21:07 |
|
|
|
I think the chip you need is
TCA965 , by siemens if i'm not mistaking .
You can set the lower and higher trippoint and it gives you a signal inside window or without to high or without to low .
I must have a data sheet here somewhere , i'll see if i can find it .
Mitsuko
|
|
| Back to top |
|
 |
sigint
Joined: 01 Jan 1970 Posts: 1010 Helped: 14 Location: State of total confusion
|
04 Nov 2001 22:28 |
|
|
|
| LM324
|
|
| Back to top |
|
 |
IndiJones
Joined: 13 Aug 2001 Posts: 157
|
05 Nov 2001 3:39 |
|
|
|
| Thanks! Any schematic would be very helpful.
|
|
| Back to top |
|
 |
sigint
Joined: 01 Jan 1970 Posts: 1010 Helped: 14 Location: State of total confusion
|
05 Nov 2001 7:06 |
|
|
|
Check out Poptronix magazine they recently, within the last couple of years, had a column that addressed comparator usage. If that doesn't prove fruitful I think I have a couple of old designs I could share.
Skip
|
|
| Back to top |
|
 |
unkarc
Joined: 28 Apr 2001 Posts: 280 Helped: 36
|
05 Nov 2001 13:44 |
|
|
|
Hi Indijones,
If you do not insist on a digital circuit schematics to solve your problem, then check the following "analog" schematics: http://www.mitedu.freeserve.co.uk/Circuits/Switching/comparator.htm
It should work with a "digital" +5V supply as well.
I found it on a circuit schematics "eldorado" at http://www.commlinx.com.au/schematics.htm that was already referred to earlier at this Forum.
Regards
unkarc
|
|
| Back to top |
|
 |
IndiJones
Joined: 13 Aug 2001 Posts: 157
|
08 Nov 2001 8:20 |
|
|
|
Thanks! I've done it with LF356N Opamp from National Semiconductor.
|
|
| Back to top |
|
 |