Skip to content

Built a collision detecting car that stops when any obstacle is detected in its path.

License

Notifications You must be signed in to change notification settings

manojjahgirdar/collision-detecting-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Collision detecting car

Built a collision detecting car that stops when any obstacle is detected in its path.

Learnings & Skills

  1. Arduino C programming language
  2. Working of HC-SR04 ultrasonic sensor
  3. Working of gear motors
  4. Working of 4x4 motor driver

Diagram

architecture

Technical Description

The car consists of 4 gear motors that powers the 4 wheels of the car. There is a motor driver that takes power from 9V battery and powers upto 4 motors. I choose gear motor over the regular motor because of the good traction between the wheels and ground. The car is equipped with ultrasonic sensor HC-SR04 at the front that keeps calculating the distance of any object in-front of it based on the time taken for the ultrasonic wave to return after hitting the object. If the distance is less than 7in, the vehicle stops to avoid collision. The brain of this car is an Arduino uno and the code has been written in Arduino C language.

Source code

The source code can be found here: - collision_detecting_car.ino

Demo

V_20150702_203942.mov

car

References

  1. Ping Ultrasonic Range Finder
  2. Control DC, Stepper & Servo with L293D Motor Driver Shield & Arduino

About

Built a collision detecting car that stops when any obstacle is detected in its path.

Topics

Resources

License

Stars

Watchers

Forks

Languages