Giter Club home page Giter Club logo

arduino-robot-car-line-following-obstacle-avoidance's Introduction

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

arduino-robot-car-line-following-obstacle-avoidance's People

Contributors

salvatore-arienzo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.