Skip to content

yousab21/line-follower-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Line Following Robot

A simple embedded-systems project that uses infrared (IR) sensors and a microcontroller to follow a black line on a light-colored surface. This project demonstrates basic robotics concepts: sensor input, motor control, and feedback loops.


Features

  • Follows a black line using IR reflectance sensors
  • Adjustable motor speed
  • Simple control logic (left/right correction)
  • Works on Arduino or any similar microcontroller

Hardware Requirements

  • 1x Microcontroller (Arduino Uno)
  • 2x DC motors with motor driver
  • 3x IR line sensors
  • Robot chassis with wheels
  • Battery pack
  • Connecting wires

How It Works

  1. The IR sensors detect contrast:

    • Black line → absorbs IR → LOW signal
    • White surface → reflects IR → HIGH signal
  2. The microcontroller reads these signals and decides how to steer:

    • Line under left sensor → turn left
    • Line under right sensor → turn right
    • Line under middle sensor → go straight
  3. The motor driver receives control signals to adjust wheel speeds accordingly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages