Learn how to connect IR Range Distance Sensor Sharp GP2Y0A41SK0F - Short, Medium, Long range type to Arduino. Includes pinout, wiring diagram, and tested code. Free tutorial by MJR Ai.. The SHARP GP2Y0A21YK0F (https://amzn.to/2tcqZxb) is an easy to use IR distance sensor with a range of 10 - 80 cm. It is a great sensor to use for autonomous robots or non-contact optical switches. In this tutorial, you will learn how the sensor works and how to use it with Arduino. I have included a wiring diagram and example code so you can start experimenting with your sensor. If you are.
Learn to measure distance. Powered by the Sharp IR Distance Sensor With Arduino! Includes wiring diagrams, code examples, and IR sensing tips.. SHARP 2Y0A21 SHARP 2Y0A21 sensor works on infrared technology, it consists of a transmitter and a receiver diode which calculates the distance between the sensor and the target by measuring time interval between transmitted and received wave.