Part 1 Objective
After you upload the program, you can control the rotational speed and direction of the motor connected to Port EM2 by rotating the motor connected to Port EM1.
Part 2 Preparation
CyberPi-installed shield (powered on) x 1
Wheel-installed encoder motor x 2
Motor cable x 2
USB cable (Type-C) x 1
Computer with network access x 1
Install the above parts, connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.
Part 3 Programming
Add mBot2 shield from the Extension center, and then program with the blocks added.
Part 4 Practice
Try to program with other motor-related blocks.
Please sign in to leave a comment.