Ultrasonic Distance Sensors

work by measuring the time it takes for a sound pulse to echo back to the sensor .. they are an input device!  There are many examples of sensors you can buy or make!

  • An ultrasonic sensor looks like this ...

They work by measuring the time it takes for a sound wave to bounce back from a reflected surface.

  • after installing the appropriate sensor library, the can produce data shown on this screen.  The distance measurement is then used on the attached device.