Skip to content

gobinda789/Obstacle-Avoiding-Robot-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Obstacle Avoiding Robot 🚘

πŸ“Œ Overview

This project demonstrates an autonomous obstacle avoiding robot that detects obstacles using an ultrasonic sensor and changes its direction automatically. The robot continuously scans its surroundings and avoids collisions without human intervention.

🎯 Problem Statement

Autonomous robots must be able to navigate safely in unknown environments. Manual control is not practical in dynamic spaces. This project solves the problem by enabling real-time obstacle detection and avoidance.

πŸ› οΈ Hardware Components

  • Arduino Uno / Nano
  • Ultrasonic Sensor (HC-SR04)
  • L298N Motor Driver
  • DC Motors
  • Robot Chassis
  • Battery Pack
  • Connecting Wires

πŸ’» Software & Tools

  • Arduino IDE
  • Embedded C/C++

βš™οΈ Working Principle

  1. Ultrasonic sensor measures distance to nearby objects.
  2. Arduino calculates distance using echo time.
  3. If an obstacle is detected within a threshold distance, the robot stops or changes direction.
  4. Motor driver controls motor movement accordingly.

✨ Features

  • Real-time obstacle detection
  • Automatic direction control
  • Collision-free navigation
  • Simple and cost-effective design

πŸ§ͺ Results

  • Successfully avoids obstacles in real-time.
  • Smooth movement and quick response.
  • Reliable distance measurement.

πŸ“· Project Images

Robot photos and wiring diagrams are available in the images folder.

▢️ Demo Video

(Add demo video link here)

πŸš€ How to Run

  1. Assemble the hardware as per the wiring diagram.
  2. Upload the Arduino code from the code folder.
  3. Power the robot.
  4. Place the robot in an obstacle-filled environment.

πŸ“š Future Improvements

  • Add servo-mounted ultrasonic sensor for wider scanning
  • Implement PID-based motion control
  • Integrate IR sensors for better accuracy
  • Add Bluetooth/Wi-Fi control

πŸ‘¨β€πŸŽ“ Author

Govinda Bhandari
Final Year ECE Student

About

Autonomous obstacle avoiding robot using ultrasonic sensor and Arduino to detect and avoid obstacles in real time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages