Skip to content

🚀 Radar System using ESP32#86

Merged
Tejas-Santosh-Nalawade merged 3 commits into
acesdit:mainfrom
shirshanag:feat/ultrasonic-sensor
Oct 20, 2025
Merged

🚀 Radar System using ESP32#86
Tejas-Santosh-Nalawade merged 3 commits into
acesdit:mainfrom
shirshanag:feat/ultrasonic-sensor

Conversation

@shirshanag

@shirshanag shirshanag commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

🛰️ Overview

This project implements a Radar System using an Arduino, Ultrasonic Sensor (HC-SR04), Servo Motor, and I2C LCD Display.
The system continuously scans the surroundings using a servo-mounted ultrasonic sensor and displays the angle and distance of detected objects in real-time on the LCD.


⚙️ Features

  • 🔄 Servo motor sweep from 0° → 180° → 0°
  • 📏 Real-time distance measurement
  • 💡 Clear LCD display output
  • 🧠 Beginner-friendly and well-commented code

🔌 Hardware Connections

Component Arduino Pin Description
Servo Motor D3 PWM Signal
Ultrasonic Trig D9 Trigger Pin
Ultrasonic Echo D10 Echo Pin
LCD SDA A4 I2C Data
LCD SCL A5 I2C Clock
Power 5V, GND Power Connections

🧩 Libraries Used

  • Servo.h
  • Wire.h
  • LiquidCrystal_I2C.h

🧠 Working Principle

  1. The servo rotates the ultrasonic sensor from 0° to 180°.
  2. The HC-SR04 sensor measures the distance of nearby objects.
  3. The LCD displays both the angle and distance (in cm).
  4. The process repeats continuously to simulate a radar scan.

🧾 Output Example

Angle: 90°
Dist: 22 cm


📦 Future Improvements

  • ⚠️ Add LED/Buzzer alert for close obstacles
  • 📊 Visualize radar scan on PC or serial monitor
  • 🌐 Send data to IoT dashboard (ThingSpeak / Blynk)

Status: Ready for Review
Tested on: ESP32
Simulation Support: Optional (Tinkercad / Wokwi)

contributor: @shirshanag

Implement radar system functionality with servo control and distance measurement.
Added detailed documentation for the Arduino Radar System project, including components, working principle, pin connections, code overview, and features.
@Tejas-Santosh-Nalawade Tejas-Santosh-Nalawade merged commit ff6b4ec into acesdit:main Oct 20, 2025
@shirshanag shirshanag changed the title 🚀 Radar System using Arduino 🚀 Radar System using ESP32 Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants