Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I asked "what's connected to the input of the comparator [that needs comparing], and got the reply:
So are you saying you are interfacing a 'comparitor', via a comparator to your 89C51?
I'm confused now! Normally you connect to the comparator input a transducer of some kind. But I've not heard of a comparitor connected to the input of a comparator. What kind of signal does a comparitor provide to the comparator?
Maybe you don't need a comparator at all and you can just send signal to the 89C51's A-to-D converter instead, and do the comparatoring in software?
Hello????I asked "what's connected to the input of the comparator [that needs comparing], and got the reply:
Quote:
Originally Posted by neo_star
i am interfacing using a comparitor and i am using atmel 89C51.
It does not have a comapritor.
So are you saying you are interfacing a 'comparitor', via a comparator to your 89C51?
I'm confused now! Normally you connect into the comparator input, a transducer of some kind (what I was asking about). But I've not heard of a comparitor connected to the input of a comparator. What kind of signal does a comparitor provide to the comparator?
Maybe you don't need a comparator at all and you can just send signal to the 89C51's A-to-D converter instead, and do the comparatoring in software?
The non inverting input is connected to a light sensor and the inverting input is connected to a reference voltage of about 1v.
Does the op-amp comparator work on its own without the light sensor by varying the voltage on the non-inverting input?
Maybe you don't need a comparator at all and you can just send the lightsensor signal to the 89C51's A-to-D converter instead, and do the comparatoring in software?
89c51 has no built in A to D converter and i need to interface some 6 light sensors to the microcontroller. So if i use 6 A to D convertorsit would be impractical. It would also be impractical if i use single A to D convertor and multiplex it to the 6 sensors because i have deal with complex programming.
i think i answered ur question![]()
Oh! I thought 89C51 had a muxed ADC inside it. Well that told me. I sincerely apologise for shouting earlier.
Just wondering, can you use the input threshold voltage of the 89C51 as a 'comparator', instead of a discrete external comparator? It wouldn't have hysteresis (unless you coupled an '51 output back into input via a resistor)
What's a light deductor?
Does it by chance replace external discrete comparators?
He is using an LED as a light detector. Its output is very low at a few millivolts.
Why were there no results when I googled "light deductor" ? Are you sure an LED used as in this way is called a "light deductor"?