gauravkothari23
Advanced Member level 2
Hi all,
I am working on a project, where i have to use Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm.
what i need is... when any person crosses the IR sensor upto the distance of 70cm the LED connected to the output should get OFF till the person is in the front of the IR sensor. I am using LM393 comparator (circuit attached).
what my problem is.. the sensor detects the person only upto 45 to 50 cm.
what is the problem with the circuit. can anybody help me out.
I am working on a project, where i have to use Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm.
what i need is... when any person crosses the IR sensor upto the distance of 70cm the LED connected to the output should get OFF till the person is in the front of the IR sensor. I am using LM393 comparator (circuit attached).
what my problem is.. the sensor detects the person only upto 45 to 50 cm.
what is the problem with the circuit. can anybody help me out.