What you'll learn
- Understand how ultrasonic waves are used to calculate distance via 'Time of Flight'.
- Be able to use the pulseIn() function to measure the duration of a digital signal.
- Learn to convert raw time data into physical measurements (centimeters) using mathematical constants.
- Identify the difference between Trigger (output) and Echo (input) pins in sensor communication.
What's in the kit
- Arduino UNO
- HC-SR04 Ultrasonic Sensor
- Breadboard
- Jumper Wires (M-M)×4
- USB Cable (Type A to B)
Protocol: digital
Related projects
Project 10
IR Obstacle Sensor Module
Build a smart proximity detector that 'sees' objects using invisible infrared light.
Project 6
Mood Cue
Build a doorknob dial that points an arrow at your current mood.
Project 24
Dual-Axis Joystick Module
Master the mechanics of gaming controllers by building your own 2-axis input system.
