The HCSR04 ultrasonic sensor can sense the distance between itself and the object in front of it. It uses the formula d=(v*t)/2 to calculate the distance. We can display the output on an LED matrix, rather than viewing it on the serial monitor. This makes the project more portable and we can avoid having it attached to a computer for just viewing the distance. Here’s a tutorial on how to use the LED matrix.
This tutorial will involve not only...