Follow Me Robot – Programming

Follow Me Robot
Lesson Details
How to program the IR sensors of the robot to detect objects in front of it and follow them?


  • Programming the robot to follow the object according to the sensor readings.
Classroom Bundle Used: STEM Classroom Bundle, STEM Mini Classroom Bundle
Download Resources

Lesson Overview

In this activity, kids will make a follow-me robot, an autonomous robot, which uses two IR sensors to follow the object in front of the robot. The procedure for making the complete robot requires the following steps:

  1. Assembly of the robot
  2. Connecting the IR sensors and motor to evive.
  3. Calibrating IR sensors to detect the object in front of it
  4. Understanding the logic of the robot
  5. Programming evive to replicate the above logic
  6. Testing and debugging of robot

We will do steps 4-6 in this lesson.

Material Required

1 set of the following material per group of 3-5 students:

Lesson Outline

Logic Control - 10 minutes
  • Understand the logic of the robot for proper working.
  • Making a flow chart for the logic.
Programming - 40 minutes
Playing and debugging of the robot - 10 minutes

Download Lesson Resources

Next Lessons