Specification: Sharp GP2Y0A02YK0F - Analog distance sensor 20-150 cm - Pololu 1137
- Measurement range 20-150 cm
- Supply voltage of 4.5-5.5 V
- The average current consumption 33 mA
- Response time: 38 ms
- Output: voltage-analog signal
- Case: 29.5 x 13,0 x 21.5 mm
- Weight: 4.8 g
Description of the distance sensor GP2Y0A02YK0F
The sensor can detect objects at a distance of from 20 to 150 cm Output is the analog signal whose value depends on the distance between the detected object and the sensor. The closer the object is, the voltage at the output will be higher.
The product is compatible with Arduino
The sensor's output should be connected to any analog pin, the measurement is done using the function analogRead(sensorPin);. Example of the project with code can be found onthe bildr websiteand inour guide.
Accessories for sensor Sharp GP2Y0A02YK0F
The other optical distance sensors
Pins of the distance sensor Sharp GP2Y0A02YK0F
The sensor has three pins: power supply - Vcc (voltage is from 4.5 to 5.5 V), ground - GND and analog output signal Vo, the value of which depends on the distance between the sensor and the detected object, this dependence is presented onthis chart. The following figure shows the location of the pins.