Why do you need "a fast response"? How fast is does your uC software read it?So wat kind of opamp should i use for a fast response. should i use a pull down resistor.
They are specifically designed to be used as comparators.why wat is special about LM393/399.
i am sorry i did connect to pin 11. but lm324 is not working as a comparitor
Is it connected like this:i am sorry i did connect to pin 11. but lm324 is not working as a comparitor
Wot exactly r u interfacing to your uController (via a 'comparator')? Just interested.I am using a lm324 voltage compatitor for a project of mine.
The output of the comparitor is to be connected to a microcontroller.
its the same except for the ground to which i connected a reference voltageIs it connected like this:
Note the non-ideal behavior. It works with one input at ground, but it is slow and it has some offset. The common-mode range includes ground at the bottom end, but only goes to about +3V when operated on single 5V supply.
What is the reference voltage? What is the supply voltage?its the same except for the ground to which i connected a reference voltage
the supply voltage is +5v so practically the output voltage will be +3.8v.What is the reference voltage? What is the supply voltage?
So are you saying you are interfacing a 'comparitor', via a comparator to your 89C51?i am interfacing using a comparitor and i am using atmel 89C51.
It does not have a comapritor.