Case 14 - Robot Line Following

Case 14 - Robot Line Following

 

Part 1   Objective

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

45.gif

Part 2   Preparation

  • Assembled mBot Mega robot x 1

  • USB cable x 1

  • Computer with network access x 1

Connect the mBot Mega robot to the computer by using the cable, open mBlock 5 (PC client, web version, or mobile app), click +add, select mBot Mega from the Device Library, click Connect, and select the Upload mode.

46.gif
47.gif

Note: Please correctly install the Mecanum wheels and connect the cables according to the user manual for mBot Mega.

 

Part 3   Programming

  1. The mBot Mega robot moves forward along the black line on the map.

48.gif

Part 4   Practice

  1. Draw a map on a white paperboard with a black water color pen, and see if the mBot Mega robot can move forward along the black line.

  2. How to write a program where the paperboard is black and the line is white?

 

 

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

Comments

0 comments

Please sign in to leave a comment.