Sharp IR Sensor — 0A41SK
4–30cm Infrared IR Distance Measuring Sensor —Ardu_Serie # 82
The Sharp distance sensors are a popular choice for many projects that require accurate distance measurements.
The lower minimum detection distance makes this sensor great for detecting very close objects.
The distance is indicated by an analog voltage, making this sensor very easy to use.
How it Works:
IR Sensors work by using a specific light sensor to detect a select light wavelength in the Infra-Red (IR) spectrum. By using an LED which produces light at the same wavelength as what the sensor is looking for, you can look at the intensity of the received light.
Installing SharpIR library
In the fig 2 you can choose which one is your IRSharp sensor model.
I have two of them:
/* Model :
GP2Y0A02YK0F → 20150
GP2YA41SK0F → 430
Download the Lib
See Fig 2.
Fritzing Schematic
Here is the code
Here is the Lab
Credits & References
Datasheet found on: https://www.pololu.com/file/0J713/GP2Y0A41SK0F.pdf
Library SharpIR by guillaume-rico/SharpIR hosted in Github Repo
Sharp GP2Y0A41SK0F Analog Distance Sensor 4–30cm by pololu.com
GP2Y0A02YK0F GP2Y0A02YK0F Distance Measuring Sensor Unit Measuring distance: 20 to 150 cm Analog output type by www.sparkfun.com
GP2Y0A41SK0F 0A41SK 4–30cm Infrared IR Distance Measuring Sensor by www.aliexpress.com
https://www.arduinolibraries.info/libraries/sharp-ir from Arduino Library List
Pololu all IrSensor page: https://www.pololu.com/search?query=Sharp+GP2Y0A02YK0F+analog+distance+sensor+20-150cm
How to use a SHARP GP2Y0A710K0F IR Distance Sensor with Arduino by Makerguides.com