0PricingLogin
Arduino & IoT Academy · Lesson

How Ultrasonic Ranging Works

Send a ping and time the echo to find distance.

Seeing with Sound

An ultrasonic sensor measures distance the way a bat does: it sends out a sound pulse and listens for the echo bouncing back. 🦇

Too High to Hear

The pulse is ultrasonic, around 40 kHz, far above what your ears can detect. The sensor works silently while still using real sound waves.

All lessons in this course

  1. How Ultrasonic Ranging Works
  2. Trigger & Echo Wiring
  3. pulseIn to Time the Echo
  4. Build a Proximity Alarm
← Back to Arduino & IoT Academy