This Sharp-GP2Y0A21 sensor can be used to detect objects within the range of 10cm to 80cm. The sensor senses objects ahead of it and output an analog voltage corresponding to the distance between the sensor and the object. You can easily read this signal from the ADC for an Arduino/Raspberry Pi or a Microcontroller and get the distance of the object. This sharp sensor is great to add obstacle avoidance or motion sensing to your robot or any other project. The sensor comes with a compatible 3 pin JST 3-pin connector with crimped wires. Since it is a very popular distance sensor, sample codes, tutorials and libraries for Arduino/Raspberry Pi and popular microcontroller are readily available.
Note: In the Sharp sensors there are different models, with each model comes a different sensing range. Surf our website to find the sharp sensor that suits your project
1 x IR Distance Sensor for Arduino Raspberry Pi Sharp-GP2Y0A21YK0F