Published

Sonar - Style Distance Sensing System

This project is a simple sonar system built using Arduino, an ultrasonic sensor, a servo motor, and a Python visualization using PyGame.

BeginnerFull instructions provided6
Sonar - Style Distance Sensing System

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Capacitor 10 µF
Capacitor 10 µF
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
VS Code
Microsoft VS Code

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Code

Sonar - Style Distance Sensing System

The repository contains arduino and python files for controlling the system and real time visualization using pygame. Make sure that: 1. The arduino pin connected to your components matches to that in code. 2. The Com Port in the python code is same as the one to which the arduino is connected. 3. Your desktop has both python and pygame properly installed.

Credits

Comments