RoboticsIntermediate

Build a Line-Following Robot (Arduino)

From wiring sensors to tuning a working autonomous robot.

Taught by Sristi Maharjan · Robotics Engineer

What you'll learn

  • Wire IR sensors and a motor driver to an Arduino
  • Read sensor values and threshold them
  • Write a control loop that steers toward a line
  • Tune the robot to run smoothly
  • Debug the common failure modes

About this course

A complete first robotics project. Using an Arduino, two infrared sensors and a motor driver, you'll build and program a robot that follows a line on the floor — applying real sensing, control and debugging along the way.

Course content

5 lessons
  1. 1Parts and how they connectThe bill of materials.Preview
  2. 2Reading the lineTurning reflectance into a decision.
  3. 3The steering logicTurn toward the line.
  4. 4Driving the motorsFrom decision to movement.
  5. 5Tune and debugMake it run smoothly.