Hi guys I am building on a ir sensor (bumper) This is the circuit map: I add a second resistor with a second ir LED.
This is the sensor datasheet: http://www.robot-italy.net/downloads/IS471F.pdf
How can I interface it with arduino?
I tried with analog input 5v and ground. I ask to show with serial port data from sensor: the value rolls from 1018 1021 and 1022 1023 but i can't understand how can I use this values to determinate if there is an object or not in front of the sensor. data seems a little random.
I put a resistor that links analog input and 5v + the values are changed to 500 510 to 640 700 or something like this, but seems just casual. :-[ :-[ help plzzz