What is GP2Y0A21YK0F?

What is GP2Y0A21YK0F?

GP2Y0A21YK0F is a distance measuring sensor unit, composed of an integrated combination of PSD (position sensitive detector) , IRED (infrared emitting diode) and signal processing circuit. So this sensor can also be used as a proximity sensor.

How fast does the sharp IR sensor take new readings?

Currently, the library takes the mean of 25 readings which takes roughly 53 ms.

Can I measure distance using IR sensor?

Infrared sensors work on the principle of reflected light waves. Infrared sensors are also used to measure distance or proximity. The reflected light is detected and then an estimate of distance is calculated between sensor and object.

How does IR sensor calculate distance?

Infrared sensors work on the principle of reflected light waves. Infrared light reflected from objects or sent from an infrared remote or beacon. Infrared sensors are also used to measure distance or proximity. The reflected light is detected and then an estimate of distance is calculated between sensor and object.

How far can infrared sensors work?

Passive infrared sensors can detect movement up to 30 feet away. When a PIR detector is placed in a room, the sensor will be able to “see” the entire room.

Is the sharp gp2y0a21yk0f lead free?

Note: The GP2Y0A21YK0F model is a lead-free, RoHS-compliant version of the Sharp GP2Y0A21 Distance Sensor. The manufacturer recommends you insert a bypass capacitor of 10 µF or more between Vcc and GND near this sensor to stabilize your power supply line.

How is a sharp IR distance sensor used?

Sharp GP2Y0A21YK0F is an IR sensor useing infrared wave to measure distance. The output of the sensor is analog voltage, which can be read easily by microcontroller’s ADC converter. This sensor can be used in industry and especially in robotics. The efficient range of this module is 10 to 80 cm.

How big of capacitor do I need for IR distance sensor?

GP2Y0A21YK0F IR distance sensor with Arduino​ wiring diagram. These type of distance sensors tend to be a bit noisy, so it is recommended to add a capacitor between Vcc and GND. The datasheet suggests a capacitor of 10 µF or more (I used 220 µF).

What kind of JST cable does gp2y0a21 use?

The GP2Y0A21 uses a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors (not included), as shown in the upper picture on the right. These cables have 3-pin JST connectors on one end and are available with pre-crimped male pins, pre-crimped female pins, and with unterminated wires on the other end.