Hi people, I have read a lot of discussions here about this sensor and figured out a lot of problems. I have mounted the sensor on a robot to detect black lines on the surface. The current is that when I try to calibrate the sensor, the calibration
always returns 2500 for minimum and maximum reflectance. However, when I bring my robot to position 2 (refer to the images), and manually move a piece of paper across the sensor, it returns decent calibration and then also, detects the line on the paper as it supposed to. I speculate that in position 1, there are too many shadows which are causing problems in the sensor’s calibration. If so, then can someone tell me how to deal with this.
The sensors give a purple color to the camera, the voltage supplies and arduino wirings are right.