Table of Contents

Turn Robot using IR

Description

Using this block, you can turn the robot left or right in the arena to follow the next black line. You need to set the threshold of the IR and adjust the robot’s turning speed.

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.