Arduino IR Sensor - GP2Y0A21YK0F is the updated version of Arduino IR Sensor GP2D12
And compared with GP2D12, GP2Y0A21YK0F have more stable function and performance, lower power consumption.
1、Measuring Detecting distance : 10 to 80 cm
2、The maximum allowable Angle : > 40 °
3、The power supply voltage : 4.5 to 5.5 V
4、The average power consumption : 35 mA
5、Peak power consumption : about 200 mA
6、The frequency of updates/cycle : 25 Hz/40 ms
7、Analog output noise : < 200 mV
8、Less influence on the color of reflective objects, reflectivity
9、Line-up of distance output/distance judgement type ：
- Distance output type (analog voltage) : GP2Y0A21YK
- Distance judgement type : GP2Y0D21YK
- Judgement distance : 24cm
- (Adjustable within the range of 10 to 80cm [Optionally available])
Arduino take six channel 10 ADC with itself, so we can directly connect the GP2Y0A21YK0F sensor with Arduino analog interface, and read the feedback value of this sensor.
According to the official manual, it is known that the output of the GP2Y0A21YK0F is 0.4 V ~ 2.4 V analog signals, corresponding 10 ~ 80 cmkjtance, output is inversely proportional to distance, and nonlinear.
10、External control circuit is unnecessary