Electronic – Sharp Distance Sensor

sensortroubleshooting

I have a Sharp GP2D120 which is a distance sensor for the range 40mm-300mm. Reading the datasheet the output voltage should change from quite high to very low. I cannot get this change to happen. The most i can get the output voltage to move by is about 0.1V and its averaging about 0.3V at a distance of about 50-60mm. Has anyone got any ideas why this is happening?

Best Answer

Check the wires are wired correctly from the JST on the sensor to your project. Check the order on that particular model looking at the connector with the sensor facing away from you the output pin is the left one, middle is ground and right is VCC. Check these where you connect them to your project. As having them connected the wrong way round could damage them and will give you this reading.