Lesson 38 Make a Distance Measuring Device
Introduction
In this lesson, we will learn how to make a distance measuring device based on ultrasonic
module and LCD1602.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * LCD1602
- 1 * I2C Interface Module
- 1 * Ultrasonic Sensor Module
- 1 * 4-Pin Wires
- 4 * Jumper Wires
Experimental Principle
In this experiment, we program the Raspberry Pi to detect the distance between the
obstacle and ultrasonic module, and then display the data on the LCD1602.
Experimental Procedures
Step 1: Build the circuit