Project 39 – Ultrasonic Distance Display

Now you're going to use the ultrasonic sensor to create a (fairly) accurate distance display. You are going to use the MAX7219 LED driver IC used back in Chapter 7 to display the distance measured. Instead of a dot matrix display, however, you're going to use what the MAX7219 was designed for, a set of 7-segment LED displays.

Parts Required

LV-MaxSonar EZ3* images

100µF Electrolytic Capacitor images

2 × 100 ohm Resistor

10K ohm Resistor

Toggle Switch

5 × 7-Segment LED displays (Common Cathode)

MAX7219 LED Driver ...

Get Beginning Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.