![]() | ![]() | ![]() |
| |||||||
| 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. |
![]() |
| | Tools |
| | #1 |
|
working on a comparator circuit which measures two different voltages on two seperate op amps then using a NAND gate , if both op amp outputs are same then output drives LED (going to be a 400 ohm relay)
| |
| |
| | #2 |
|
oups got to quick it works in LT spice | |
| |
| | #3 |
|
How about using two open-collector voltage comparators like LM339s? Set one up to switch high when it's input is >3V; set the other up to switch high when it's input is >4V. Wire the two outputs together to a common pull-up resistor. The combined output will be high if and only if both comparators are above their respective trip points.
__________________ Mike ML. Last edited by MikeMl; 24th October 2009 at 03:11 AM. | |
| |
| | #4 |
|
besides I have several LM324's on hand that I want to use. have similar project using same LM342 (had 20 units given to me) | |
| |
| | #5 | |
| Quote:
You could use a couple of diodes and resistor to make an OR gate to replace the logic ic.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #6 |
| Looks like he used two NAND gates to make an AND gate, not a OR gate, both inputs need to be logic 1, or did I miss something?
__________________ Pay it forward. Last edited by Mikebits; 24th October 2009 at 11:54 AM. | |
| |
| | #7 |
| | |
| |
| | #8 | |
| Quote:
Why dont you suggest to the OP a way of solving the problem rather than nit picking my humble submission.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #9 |
| hi Deb Please post your LTS asc file and I will add diodes as required. Confirm the operating sense of the relay drive transistor that you require.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | |
| |
| | #10 |
|
Sorry Eric, no offense to you, you did say or gate. Not to negate your input. My apologies.
__________________ Pay it forward. | |
| |
| | #11 |
| Not quite, two diodes reversed bias with pullup will make And gate.
__________________ Pay it forward. | |
| |
| | #12 | |
| Quote:
![]() IF the OP had wanted the relay to denenergise when either of the comp outputs had gone low then it would be an OR gate.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #13 |
|
I was under the assumption that both inputs must be true, else relay is off. Actually after re-reading OP I wonder if he wants XOR function? I did not mean to offend, often forum communication creates misinterpretation.
__________________ Pay it forward. | |
| |
| | #14 | |
| Quote:
![]() Like you I dont not know for sure what the OP wants to do. ![]() I assumed that the mention of two diodes would start bells ringing in MrDebs head, as a possible solution.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 24th October 2009 at 12:39 PM. | ||
| |
| | #15 |
|
in order for relay to energize hope I got this right?? | |
| |
|
| Tags |
| amp, circuit, comparator |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Comparator circuit, op-amp exam question help | shorty864 | General Electronics Chat | 7 | 23rd January 2009 04:14 PM |
| Comparator circuit + OP Amp 741 help | Hussain | Electronic Projects Design/Ideas/Reviews | 10 | 22nd January 2009 12:50 PM |
| Please Help ADC & Comparator | Edy_Tse88 | Micro Controllers | 2 | 8th December 2007 05:32 PM |
| LM347 comparator/op-amp | erictham83 | Datasheet/Parts Requests | 9 | 26th August 2006 03:32 AM |
| learning op amp comparator reference volatge | waqar | General Electronics Chat | 1 | 6th April 2003 10:42 PM |