Case 31 - Robot Following
Part 1 Objective
After you upload the program, mBot Neo robot moves straight forward. When the object to be followed is less than 40cm away from the robot, the robot starts following. When the object to be followed is more than 40cm or less than 8cm away from the robot, the robot stops moving.

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.


Part 3 Programming
-
Add mBot2 shield and Ultrasonic Sensor 2, and then program with the blocks added.
Part 4 Practice
-
Take your "new pet" to travel around your house.
Comments
Please sign in to leave a comment.