Skip to content

This repository contains code for a simple line follower robot built with Arduino. Using infrared sensors, the robot follows a black line on a contrasting surface. Ideal for beginners and enthusiasts alike, it's a great starting point for exploring robotics concepts.

Notifications You must be signed in to change notification settings

hrish7kesh/LineFollower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Line Follower Robot

This repository contains the code for a simple line follower robot. The robot is designed to follow a predefined path marked by a black line on a contrasting surface.

Description

The line follower robot is built using Arduino platform. It uses infrared (IR) sensors to detect the black line and adjust its direction accordingly. The code provided in this repository is written in Arduino programming language (C/C++).

Hardware Requirements

To build and run the line follower robot, you will need the following components:

  • Arduino board (e.g., Arduino Uno)
  • Motor driver (e.g., L298N)
  • DC motors (2)
  • Infrared (IR) sensors (2 or more)
  • Chassis, wheels, and other mechanical parts for the robot assembly
  • Power source (e.g., batteries)

Installation

  1. Connect the components according to the circuit diagram provided in the repository.

  2. Clone or download this repository to your local machine.

  3. Open the Arduino IDE and navigate to File > Open. Browse to the downloaded repository and select the main Arduino file (usually with a .ino extension).

  4. Upload the code to your Arduino board.

Usage

  1. Place the line follower robot on a surface with a contrasting black line.

  2. Power on the robot and observe as it follows the black line path.

  3. You may need to adjust parameters in the code such as sensor thresholds and motor speeds to optimize performance for your specific setup.

Contributing

Contributions to this project are welcome! If you have any improvements, bug fixes, or new features to add, feel free to open a pull request.

Acknowledgements

  • Arduino for providing the platform for building embedded systems.
  • Contributors and developers who have shared their knowledge and code related to line follower robots.

About

This repository contains code for a simple line follower robot built with Arduino. Using infrared sensors, the robot follows a black line on a contrasting surface. Ideal for beginners and enthusiasts alike, it's a great starting point for exploring robotics concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published