While a well-known use of this is sonar, ultrasonic sensors can also be ... A motor rotates it around a 180-degree field-of-view and an Arduino takes and records measurements during its trip.
Using the Arduino microcontroller, we will explore some of the essential and useful electronic sensors (light, sound, motion, sonar, infrared, angle bending), powerful actuators (relays, motors, ...
He turned to two common ultrasonic sensors and Python to do the job. There is also, of course, an Arduino. You can see a video of the results, below. The Arduino code reads the distance from both ...