Infrared proximity sensor made by Sharp. Part # GP2Y0A21YK has an analog output that varies from 3.1V at 10cm to 0.4V at 80cm. The sensor has a Japanese Solderless Terminal (JST) Connector. We recommend purchasing the related pigtail below or soldering wires directly to the back of the module.
We Also Recommend
Premium Splittable Jumper Wire with Alligator Clip (10 Pins Female 20cm)
Raspberry Pi Camera Module 3 NoIR - Wide Angle