Table of Contents

Calibrate IR

Description

Using this block, the robot will move forward and reverse for a specific duration while collecting sample data from the IR sensor on both white and black lines.

Note:

  • During calibration, ensure that the robot’s IR sensor passes over both the white and black surfaces to gather accurate reference data.
  • Calibrate the IR sensor block to ensure accurate line following. This process will automatically set the threshold value based on the readings from the black and white surfaces.
  • If the automatic calibration does not yield the desired results, you can manually adjust the threshold value yourself for optimal performance.

Example

There are no examples documented for this article.