Git Product home page Git Product logo

harshitshukla-dev / line-following-car Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 252 KB

Code and design files for a line following car with Uno Arduino, motor driver, and infrared sensor. The car follows a black line on white surface and adjusts its movement. Develop coding and circuit design skills and explore automation and robotics applications.

Home Page: https://www.harshitshukla.me/Line-Following-Car/

C++ 100.00%
arduino-uno circuit electronics line-following-robot line-following-car

line-following-car's Introduction

Arduino Line Following Car

License: MIT LPU Arduino

A line following car built using an Uno Arduino, motor driver, and infrared sensor. The car is programmed to follow a black line on a white surface and adjust its movement using the sensor input.

Working

The line-following car project works by using infrared sensors to detect the black line on a white surface. The sensors are placed underneath the car and are used to determine the position of the line relative to the car. The car is equipped with four motors, which are controlled by an Arduino board using the AFMotor library. The car is programmed to move forward when both sensors detect the line, turn left when only the left sensor detects the line, turn right when only the right sensor detects the line, and stop when neither sensor detects the line.

Team Members

  • Harshit Shukla
  • Samyak Jain
  • Vishal Sharma
  • Sudhansu Khuntia

Getting Started

Prerequisites

Circuit Diagram

Circuit Diagram

Installation

  1. Install the AFMotor library. Go to Sketch > Include Library > Add .ZIP Library > Select AF Motor ZIP file.
  2. Connect the motor driver and infrared sensor to the Uno board.
  3. Upload the code to the Uno board using the Arduino IDE.
  4. Power the circuit using a 9V battery.
  5. Place the line following car on a white surface with a black line.
  6. The car will start moving along the line.

Usage

  • To control the line following car, upload the code to the Uno board using the Arduino IDE.
  • Power the circuit using a 9V battery.
  • Place the line following car on a white surface with a black line.
  • The car will start moving along the line.

Contributing

Contributions are always welcome! If you have any ideas or suggestions, feel free to open an issue or submit a pull request.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

line-following-car's People

Contributors

harshitshukla-dev avatar

Watchers

 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.