Follow Me Robot – Calibrating IR Sensors

Follow Me Robot
Lesson Details
What is an IR sensor? How does it work? How to connect it to evive and calibrate it to detect objects in close proximity?


  • Connecting two IR sensors in front of the robot chassis and calibrating them to detect objects at a distance of 5cm.
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 step 2-3 in this lesson.


Material Required

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

Lesson Outline

Introduction and demonstration of the robot - 10 minutes
Assembly of the robot - 10 minutes
Calibrating motor using menu - 10 minutes

Connect the motor to evive and using evive motor control menu, test if the motor is connected in the correct way.

IR Sensor - 30 minutes
  • Connecting the IR sensors to evive
  • Understanding the working of an IR sensor. 
  • Calibrating the IR sensor to detect objects in close proximity.

Download Lesson Resources

Next Lessons