Free Sensor Cable. GP2Y0A21YK is a IR(infrared) distance detector. It is able to detect distance from 10cm to 80cm. This sensor takes a continuous distance reading and reports the distance as an analog voltage. It is very useful for obstacle detection, distance measurement application.