The Sharp GP2Y0A21YK0F is a medium range infrared proximity sensor with an analog output.
Part # GP2Y0A21YK0F has an analog output that varies from 0.25V at 10cm to 0.55V at 80cm with a supply voltage between 4.5 and 5.5VDC. The sensor has a Japanese Solderless Terminal (JST-PH) Connector. We recommend purchasing the related pigtail below or soldering wires directly to the back of the module.
This sensor is great for sensing objects up to 2.5 feet away!