Introduction: Explore Distance Meter With Big Fonts

About: We make Embedded Design tools, boards, sensors, peripherals, DIY kits and awesome tutorials. We also help companies and individuals prototype embedded electronics.

In this simple tutorial, I will show you how to make a distance meter. It uses a ultrasonic sensor to read distance and display it in custom big fonts on a LCD display. It is powered up by a battery, so that you can take it around for a ride. We also plan to put up a case around it and make a kit. How does that sound?

Step 1: Components Required


You'll require the components below to make it happen. Please consider buying them from the Explore Embedded Store to help us make all the awesome stuff. Each of the product is linked with the URL


1Explore One for Arduino
2Character LCD 16 x 2 - White on Blue
3HC-SR04 Ultrasonic Sensor Module
4LCD Breakout Board for 16x1 16x2 20x4 128x64
5Large Breadboard

Step 2: Wiring Diagram

In real world it looks like below:

Step 3: Sample Code

You can download the code from the link below:

https://gist.github.com/Xplorer001/bb75ae0048212cc...

If you happen to put this setup in a case, do not forget to share the pictures with us! Happy Hacking!

Do visit our website wiki for more details and support about this tutorial.