Case 32 - Robot Line Following

Case 32 - Robot Line Following

Part 1   Objective

After you upload the program, mBot Neo robot moves forward, following the black line on the map.


Part 2   Preparation

  • Assembled mBot Neo robot x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Assemble the robot, connect CyberPi to the computer by using the cable, open mBlock 5 (PC client, web version, or mobile app), connect CyberPi, and select the Upload mode.


Part 3   Programming

  1. Add mBot2 shield and Quad RGB Sensor, and then program with the blocks added.


Part 4   Practice

  1. Try to modify the values of base_power and kp, and find out how to maximize the speed of robot line following.



Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.