Case 27 - Robot Moving Xcm Forward

Case 27 - Robot Moving Xcm Forward

Part 1   Objective

After you upload the program, toggle the joystick up and down to set the distance that the robot moves forward, and then press button A to start the robot.

78.gif

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.

79.gif
80.gif

Part 3   Programming

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

81.gif

Part 4   Practice

  1. You can measure the distance with a ruler to see whether the distance that the robot moves forward is the same as that you set.

 

 

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

Comments

0 comments

Please sign in to leave a comment.