Built with an Arduino Uno,
Ultrasonic Sensor, and a Servo Motor
The following Arduino radar scanner is built to detect and display the distance of an object seen in the sensors range. An ultrasonic sensor is attached to a servomotor, which rotates 180 degrees. When in range of an object, the sensor measures the distance by calculating the duration of the pulse of an ultrasonic wave (in microseconds) multiplied by the speed of sound (in cm/μs) and dividing the result by 2 to get the distance from an object to the sensor. It displays the data onto a semi-polar plot using matplotlib pyplot.
Project based on https://makersportal.com/blog/2020/3/26/arduino-raspberry-pi-radar