Skip to content

A real-time radar system using Arduino, SG90 servo, HC-SR04 ultrasonic sensor, LEDs, and a Python radar visualization with start/stop control.

Notifications You must be signed in to change notification settings

Mindtecture/arduino-servo-radar-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Arduino Servo Radar System πŸ“‘

A complete real-time radar system using:

  • Arduino UNO / Nano
  • SG90 Micro Servo
  • HC-SR04 Ultrasonic Sensor
  • Red & Green LEDs
  • Python + Pygame Visualization
  • Serial Start/Stop Control

This project demonstrates full hardware + firmware + software integration.


πŸ”§ Hardware Components

  • Arduino UNO / Nano
  • SG90 Servo Motor
  • HC-SR04 Ultrasonic Sensor
  • 2x LEDs
  • 2x 220Ξ© Resistors
  • Breadboard & Jumper Wires

πŸ”Œ Pin Connections

Part Arduino Pin
Servo Signal D9
HC-SR04 TRIG D10
HC-SR04 ECHO D11
Red LED D6
Green LED D7
Power 5V
Ground GND

🧠 Features

  • Real-time distance scanning
  • LED object indication
  • Python radar visualization
  • Keyboard-controlled start/stop
  • Scaled radar for close-range detection

🐍 Python Requirements

This project works with any modern Python version (3.9+), including Python 3.14.

Install the required libraries using:

pip install pyserial pygame

▢️ How to Run

  1. Upload the Arduino sketch from the Arduino/ folder to your Arduino board.
  2. Connect the Arduino via USB.
  3. Run the Python radar visualizer:
python Python/radar.py
  1. Press S in the radar window to toggle START / STOP.

πŸŽ“ Educational Use

This project is suitable for:

  • Pre-university robotics students
  • Engineering freshmen
  • Mechatronics and embedded systems courses

πŸ“œ License

MIT License β€” Free to use and modify.

About

A real-time radar system using Arduino, SG90 servo, HC-SR04 ultrasonic sensor, LEDs, and a Python radar visualization with start/stop control.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages