Case 9 - mBot Mega turns left and right

Part 1   Objective

After you upload the program, mBot Mega turns left and right.

25.gif

Part 2   Preparation

  • Assembled mBot Mega x 1

  • USB cable x 1

  • Computer with network access x 1

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

26.gif

27.gif

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

Part 3   Programming

mBot Mega 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 - mBot Mega moves forward and backward.

28.png

Part 4   Practice

  1. Try to change the motor power.

  2. Try to change the interval between movements.

 

 

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

Comments

0 comments

Please sign in to leave a comment.