Skip to content

These were the files for line following bot competition conducted by Electronics Robotics Club of IIT Bombay in 2018

License

Notifications You must be signed in to change notification settings

tayalmanan28/Line-Following-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino-Robot-Car-Line-Following-Obstacle-Avoidance

Abstract

The goal of this project is to build and develop a robot car using Arduino, that is able to follow a line, avoid obstacles if found while following the line and then come back to the original path. In this repository will be provided the whole code used to achieve the goal, the circuit diagram, and the NewPing library used for the ultrasonic sensor. About the hardware part: has been used an Arduino Uno as board, a Sensor Shield v5.0 and an L298N Dual Bridge, both optional, used to manage cables of wheels. A servo motor to rotate the ultrasonic sensor, an ultrasonic sensor to measure the distance from obstacles and two infrared sensor to track the line. As will be showed in some videos, the result has been achieved. If you wish to implement the code available in this repository make sure to tune parameters of the delay() functions in the code. Since the delay changes basing on the voltage of your batteries and the quality of your sensors, more or less delay will be needed to perform actions like a turn or any other movement.

Component List

  • 1x Arduino Uno
  • 1x Battery Holder
  • 1x Ultrasonic Sensor
  • 2x IR Sensor
  • 1x Sensor Shield v5.0
  • 1x L298N Dual Bridge
  • Libraries used

    For this project has been used the NewPing library, since it has pre built functions to measure distance in centimeters, the library is available in this repository or you can find the latest version on the official website.

    Examples of usage

    Here some videos of usage, mp4 videos of some example are available in the Resource folder.

    Simple line following:

    148898f698cab7c40.md.gif

    Line Following + Obstacle avoidance:

    2dd369ddd45ee19f3.th.gif

About

These were the files for line following bot competition conducted by Electronics Robotics Club of IIT Bombay in 2018

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages