Case 12 - Robot Dancing

Case 12 - Robot Dancing

 

Part 1   Objective

After you upload the program, the mBot Mega robot performs a sequence of dance movements.

37.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.

38.gif
39.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 for 1 second, moves backward for 1 second, turns left for 1 second, turns right for 1 second, moves left for 1 second, moves right for 1 second, moves 45 degrees toward the upper left for 1 second and then moves 45 degrees toward the upper right for 1 second, and repeats this process. For the specific programming mode, refer to Case 8 - Moving Forward and Backward.

40.png

Part 4   Practice

  1. Try to add LED light color changes to the robot.

  2. Try to change the robot's dance movements.

 

 

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

Comments

0 comments

Please sign in to leave a comment.