Case 27 - mBot Neo Moves X cm Forward

Part 1   Objective

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

78.gif

Part 2   Preparation

  • Assembled mBot Neo x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Assemble mBot Neo, connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.

79.gif

80.gif

Part 3   Programming

Add mBot2 shield from the Extension center, and then program with the blocks added.

81.gif

Part 4   Practice

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?
1 out of 1 found this helpful

Comments

1 comment

Article is closed for comments.