Lesson 18: Measure Distance with Arduino and Ultrasonic Sensor

10 10 views
6y Jul 16, 2014

In this tutorial we show simple step-by-step lesson on how to measure distance with an arduino microcontroller and an ultrasonic sensor. The measured distance is based on the ping time to the target of an ultrasonic ping. The measured distance is displayed via a servo and hand drawn scale. The sensor used is the virtuabotix ultrasonic sensor, and the servo is from the Sparkfun Inventor kit. Key concept in this lesson is to show students how important it is to apply what they know from Algebra related to lines in order to map inputs (distance measurements) onto outputs (servo angle).

About Paul McWhorter

I am Paul McWhorter from toptechboy.com and I will be putting together a series of tutorials on use of the Arduino microcontroller.


Markdown is supported.

4 years ago
EEVblog – E563
6 years ago
EEVblog – E952
3 years ago