Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino By Example

You're reading from  Arduino By Example

Product type Book
Published in Sep 2015
Publisher
ISBN-13 9781785289088
Pages 242 pages
Edition 1st Edition
Languages
Authors (2):
 Adith Jagadish Boloor Adith Jagadish Boloor
Profile icon Adith Jagadish Boloor
Adith Jagdish Boloor Adith Jagdish Boloor
Profile icon Adith Jagdish Boloor
View More author details
Toc

Chapter 2. Digital Ruler

You've made it to chapter 2! Congrats! From now on things are going to get a bit complicated as we try to make the most of the powerful capabilities of the Arduino micro controller. In this chapter we are going to learn how to use a sensor and an LCD board to create a digital LCD ruler.

Put simply, we will use the ultrasound sensor to gauge the distance between the sensor and an object. We will use the Arduino and some math to convert the distance into meaningful data (cm, inches) and finally display this on the LCD.

  • Prerequisites

  • Using an ultrasound sensor

  • Hooking up an LCD to the Arduino

  • Displaying the sensor data on the LCD

  • Summary

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}