Using a Sharp GP2Y0A51SK0F IR Distance Sensor with Arduino (2cm to 15cm)

Using a Sharp GP2Y0A51SK0F IR Distance Sensor with Arduino (2cm to 15cm)

In this tutorial, we learn how to use the Sharp Infrared Distance sensor GP2Y0A51SK0F and measure distances from 2 cm to 15 cm. We will display the distance as "cm" or "inch" on an LCD1602 or LCD2004 with an I2C module, which has only four wires. Wiring, code, and a demonstration are shown.

344-Arduino code for Sharp GP2Y0A51SK0F distance sensor
语言: C++
已复制!

文件📁

没有可用的文件。