⚡ 4-Step Visual System Flow
No Text Walls • 1-Glance Architecture
Step 1
🔄
180° Turret Sweep
SG90 Servo (GPIO 4)
Smoothly pans ultrasonic sonar turret 0° to 180°.
Step 2
📡
Ultrasonic Sonar Ping
HC-SR04 (40kHz Echo)
High-frequency soundwave measures target cm distance.
Step 3
💻
Live Radar Dashboard
connectrobo.in/radar
Draws 60FPS green phosphor radar sweep & target blips.
Step 4
🚨
Perimeter Siren Alarm
5V Active Buzzer (<25cm)
Triggers rapid audible beeps when threat penetrates zone!
1
🧰 Today's Real Hardware Components (19 Nov — Class 8th, 9th & 10th)





2
🎯 How Our 2-Way Live Radar Works (3 Simple Steps)
1️⃣ Sweep & ScanSG90 Servo 15°–165° ghoomta hai; HC-SR04 har angle par distance (cm) naapta hai.
2️⃣ Buzzer + RGB AlertObject Alert Range (<30cm) me aate hi Active Buzzer beep karta hai aur RGB RED hota hai!
3️⃣ 2-Way Live DashboardUSB Serial se live Red blips connectrobo.in/radar par dikhte hain — aur browser se Pause, Mute, Aim sab control hota hai!
★
📡 Live Interactive 180° Radar Simulator (Touch to Test!)
60FPS Phosphor ScopeSimulate Real Obstacle Distance
Drag the distance slider below to see the radar scope react live! When an obstacle enters under 25cm, the active buzzer triggers an immediate alarm!
Obstacle Distance: 18 cm
🚨 BUZZER ACTIVE
5 cm (Close)
25 cm Threat Threshold
50 cm (Clear)
3
🔌 Circuit Diagram & Exact Pinout (ESP32-S3 & Class 10th 38-Pin)
Tape/Mount HC-SR04 right on top of the SG90 Servo Horn!
Sensor & Actuator VCC
Red Jumper connecting Sonar, Servo, and Buzzer to 5V
Common Ground (GND)
Black Jumper connecting all GND pins to ESP32
HC-SR04 Trigger (Trig)
Yellow Jumper Wire from ESP32 to Sonar Trig
HC-SR04 Echo (Echo)
Green Jumper Wire from Sonar Echo to ESP32
SG90 Servo PWM Signal
Blue Jumper Wire to Servo Orange Control Pin
5V Active Buzzer (+)
Orange Jumper Wire to Buzzer Positive Pin
4
⚡ Step-by-Step Verified Code (Click "⚡ Open in IDE" — Auto Board + Code!)
step1_radar_hw_check.ino
ESP32-S3
59 lines
/*
* Connect Robo Radar — Step 1: 5-Second Hardware Check (Buzzer + Servo + Ultrasonic)
* Wiring (ESP32-S3):
* HC-SR04 : VCC->5V | GND->GND | TRIG->GPIO 12 | ECHO->GPIO 13
* SG90 : Red->5V | Brown->GND | Orange->GPIO 14
* Buzzer : Long(+)->GPIO 15 | Short(-)->GND
*/
#define TRIG_PIN 12
✅ Output: Buzzer beeps 2x ➔ Servo sweeps Left-Right-Center ➔ Ultrasonic prints live cm!
step2_standalone_alarm.ino
ESP32-S3
56 lines
/*
* Connect Robo Radar — Step 2: Standalone 180-Deg Radar + Proximity Buzzer Alarm
* Sweeps left-to-right; beeps faster & glows RED whenever an object comes inside 30 cm!
*/
#define TRIG_PIN 12
#define ECHO_PIN 13
#define SERVO_PIN 14
#define BUZZER_PIN 15
✅ Output: Standalone Radar! Beeps & glows RED whenever anything comes within 25 cm.
step3_live_web_radar_s3.ino
ESP32-S3
135 lines
/*
* Connect Robo LIVE Web Serial Radar Firmware (ESP32-S3 — Zero External Libraries!)
* Connect to: https://www.connectrobo.in/radar (115200 baud)
*
* Hardware Wiring (ESP32-S3):
* HC-SR04 Ultrasonic : VCC -> 5V | GND -> GND | TRIG -> GPIO 12 | ECHO -> GPIO 13
* SG90 Servo Motor : Red -> 5V | Brown -> GND | Orange -> GPIO 14
* Active 5V Buzzer : Long (+) -> GPIO 15 | Short (-) -> GND
✅ Output: FINAL (Class 8th/9th): Upload ➔ Close IDE Serial ➔ Open connectrobo.in/radar & Connect USB!
class10_live_web_radar_38pin.ino
ESP32 38-Pin
88 lines
/*
* Connect Robo LIVE Web Serial Radar Firmware (Class 10th — 38-Pin ESP32 Dev Module!)
* Connect to: https://www.connectrobo.in/radar (115200 baud)
*
* Safe 38-Pin ESP32 Wiring (Avoid GPIO 6-11 SPI Flash!):
* HC-SR04 Ultrasonic : VCC -> 5V (VIN) | GND -> GND | TRIG -> GPIO 5 | ECHO -> GPIO 18
* SG90 Servo Motor : Red -> 5V (VIN) | Brown -> GND | Orange -> GPIO 19
* Active 5V Buzzer : Long (+) -> GPIO 23 | Short (-) -> GND
✅ Output: FINAL (Class 10th 38-Pin ESP32): Auto-selects ESP32 Dev Module! Works on exact same /radar dashboard!
5
🚀 How to Connect to Live Radar Dashboard (Zero Errors!)
Step A: Upload & Close SerialWeb IDE me code Upload hone ke baad IDE ka Serial Monitor Disconnect/Close kar do (COM port ek baar me ek hi tab use kar sakta hai).
Step B: Open /radar & Connectconnectrobo.in/radar kholo ➔ Green 🔌 Connect ESP32 USB dabao ➔ COM port choose karo!
Step C: Try 2-Way Controls!Haath/notebook saamne rakho ➔ Red blip + Buzzer! Radar screen par kahin bhi click karke Servo ko manually aim karo!