Brilliantly explained. I have a few of these and some use LM358 and some use LM393 comparators with the same schematic. I can never get them to be accurate past 5cm. Which, for my application, is fine, but not for others.
The 10k potentiometer is given with 5 volts. We can adjust the potentiometer to get a particular voltage. This voltage is given to the inverting terminal of the opamp. The voltage across the other 10k resistor (varies due to photodetector output) is given to non-inverting terminal. The opamp compares the two voltages. You should know the working of the opamp to understand better.
Brilliantly explained. I have a few of these and some use LM358 and some use LM393 comparators with the same schematic. I can never get them to be accurate past 5cm. Which, for my application, is fine, but not for others.
very clear explanation. thank you very much and pls upload more
What is the output voltage of this sensor with respect to ground? Because I want to use its output as clock input of a counter circuit.
Great vide , can you explain how does the comparator (op amp) compares the two voltages
The 10k potentiometer is given with 5 volts. We can adjust the potentiometer to get a particular voltage. This voltage is given to the inverting terminal of the opamp. The voltage across the other 10k resistor (varies due to photodetector output) is given to non-inverting terminal. The opamp compares the two voltages. You should know the working of the opamp to understand better.
How can we increase the maximum range in this setup?
THE TRANSMITTER RESISTOR WILL BE 100R not 100K.
osm boss!
ily