AR-31ArduinoAdvancedPremium

Measuring Distance Using LCD Display

4.6(45)
59 completed
Measuring Distance Using LCD Display
A tool that measures distance without a ruler: move your hand back and forth in front of the sensor and watch the number change. The HC-SR04 sends out a sound wave and listens for its echo, and the Arduino works out the distance in centimeters and writes it on a two-line LCD screen several times a second. You see on your own desk how a car's parking sensor works.

Source Code

This project also comes with blocks. Like the code, they unlock with Premium. What is block coding?

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions