Back to Projects
Embedded Systems

Collision Detection Robot

Autonomous obstacle-avoidance robot using ultrasonic sensing and real-time motor control — exhibited at Cummins & PICT College of Engineering

< 50ms
Latency
95% accuracy
Accuracy
Real-world
Testing
On-device
Processing
System Overview

An autonomous collision detection and avoidance robot built from scratch using Arduino Uno, ultrasonic sensors, and a dual-channel motor driver. The robot continuously scans its surroundings and intelligently navigates around obstacles in real time without any human intervention.

The system uses an HC-SR04 ultrasonic sensor mounted at the front to emit sonar pulses and measure the time-of-flight of reflected signals. When an obstacle is detected within 20 cm, the microcontroller halts forward motion, activates a buzzer alert, and triggers reverse-and-turn maneuvers before resuming normal navigation.

The project was selected for exhibition at two prestigious engineering college events — Cummins College of Engineering (April 2025) and PICT College of Engineering (March 2025) — where it attracted significant interest from students and faculty for its clean engineering and real-world applicability.

Hardware Components
Arduino Uno
ATmega328P Microcontroller
HC-SR04
Ultrasonic Sensor (Sonar)
L298N
Dual-Channel Motor Driver
Li-ion Power
Rechargeable Battery Pack
Logic Flow & Architecture
  ┌──────────────────────────────┐
  │      HC-SR04 Ultrasonic      │
  │   Trigger → Pulse → Echo     │
  └─────────────┬────────────────┘
                │ Distance (cm)
  ┌─────────────▼────────────────┐
  │         Arduino Uno          │
  │   distance < 20cm?           │
  │   YES → STOP + ALERT + TURN  │
  │   NO  → FORWARD              │
  └──────┬──────────┬────────────┘
         │          │
  ┌──────▼──┐  ┌────▼───────┐
  │  L298N  │  │ Buzzer+LED │
  │ Motor   │  │  Alert     │
  │ Driver  │  └────────────┘
  └──┬───┬──┘
     │   │
  ┌──▼─┐ ┌▼───┐
  │ M1 │ │ M2 │  ← Gear Motors (x4)
  └────┘ └────┘
Key Features
Real-time obstacle detection within 20 cm using ultrasonic time-of-flight sensing
Autonomous reverse-and-turn avoidance maneuver triggered on detection
Dual-channel L298N motor driver controls 4 gear motors independently
Buzzer + LED alert system for visual and audible collision warning
Li-ion battery powered — fully wireless and portable
Exhibited at Cummins College of Engineering (April 2025)
Exhibited at PICT College of Engineering (March 2025)
[01]False triggers from angled surfaces — resolved by averaging 3 consecutive readings before acting
[02]Motor jitter at low battery — fixed by adding a dedicated Li-ion power regulation stage
[03]Sensor blind spots on the sides — mitigated by programming wider turn arcs
Knowledge Acquired
[01]Embedded Systems Programming — writing low-level C/C++ for Arduino microcontroller
[02]Ultrasonic Sensing — understanding time-of-flight physics and implementing echo-based distance calculation
[03]Motor Control — using PWM signals through L298N to control speed and direction of DC gear motors
[04]Circuit Design — integrating multiple components (sensors, driver ICs, batteries) in a stable circuit
[05]Real-world Hardware Debugging — diagnosing and fixing issues in live embedded systems
[06]Exhibition Presentation — explaining technical concepts to non-technical audiences at college events
Live Sonar Detection Flow
🤖
🧱
Distance < 20cm → AVOIDING
1. Emit Sonar Pulse
HC-SR04 sends out a 40kHz ultrasonic wave.
2. Detect Obstacle
Wave reflects back; Arduino calculates distance.
3. Collision Avoidance
If < 20cm, trigger buzzer, stop motors, reverse, and turn.
Hardware Prototype
Prototype
PROTOTYPE BUILD
Prototype
PROTOTYPE BUILD

College Exhibitions

Showcasing the collision detection robot at prestigious engineering events.

EXHIBITION
Cummins College of Engineering
April 2025 • Hardware & AI Showcase
Cummins Exhibition
CUMMINS EVENT
Cummins Exhibition
CUMMINS EVENT
Cummins Exhibition
CUMMINS EVENT
Cummins Exhibition
CUMMINS EVENT
Cummins Exhibition
CUMMINS EVENT
Cummins Exhibition
CUMMINS EVENT
EXHIBITION
PICT College of Engineering
March 2025 • Tech Symposium
PICT Exhibition
PICT SYMPOSIUM
PICT Exhibition
PICT SYMPOSIUM
PICT Exhibition
PICT SYMPOSIUM