Case 9 - Turning Left and Right
Part 1 Objective
After you upload the program, the mBot Mega robot turns left and right.
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.
Note: Please correctly install the Mecanum wheels and connect the cables according to the user manual for mBot Mega.
Part 3 Programming
The mBot Mega robot turns left for 1 second and then turns right for 1 second, and repeats this process. For the specific programming mode, refer to Case 8 - Moving Forward and Backward.
Part 4 Practice
Try to change the motor power.
Try to change the interval between movements.