SKU: OT3494 Article number: AB065 EAN: 8720828223291
This popular GP2Y0A02 sensor from Sharp produces an analog output that varies from 2.5V at 20cm to 0.4V at 150cm.
Based on Sharp's "typical values," the formula to translate SensorValue into Distance (the formula is only valid for a SensorValue between 80 and 490) is:
Distance (cm) = 9462 / (Sensor value - 16.92)
Note: the output of this sensor varies from unit to unit and is based on the characteristics of the target (reflection, size, direction of movement, object alignment). If you find that you are not getting good results with the standard formula, you can adjust it as desired to achieve the intended result.
Distance measuring range: 20 to 150 cm
Type of signal output: analog voltage signal;
Package size: 29.5 × 13 × 21.6 mm
Current consumption: nominal 33 mA
Supply voltage: 4.5 to 5.5 V