SparkFun will be closed Monday 7/4/2022 for the 4th of July holiday. Orders placed after 2 pm MT on Friday 7/1/2022 will be processed on Tuesday 7/6/2022. SparkFun Support will also resume on Tuesday 7/6/2022. Have a safe holiday!
Infrared proximity sensor made by Sharp. Part # GP2Y0A02YK0F has an analog output that varies from 2.8V at 15cm to 0.4V at 150cm with a supply voltage between 4.5 and 5.5VDC. 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.
This sensor is great for sensing objects up to 5 feet away!
If you are trying to use a TV remote/IR remote control, the sensor can have issues if the control is shining directly at the IR sensor.
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Noob - You don't need to reference a datasheet, but you will need to know basic power requirements.
See all skill levels
Based on 2 ratings:
The analog signal from this sensor is working quite well with my Arduino. I use this sensor to indicate when I am at my desk. The desk is positioned such that my wife can't see me sitting there. The Arduino activates a "Christmas" star ornament positioned on the top of a hutch located on the desk. This sensor is replacing an incandescent thru beam sensor that has a history of burned out bulbs due to heat. This sensor has great range and was easy to setup.
This sensor is really good for the range. The only thing I wish was different is that it had a closer range that still worked well. I'm not sure what would be involved in that, but it's a good IR sensor with good readings.