MBot – Movement – Draw a rectangle

Tools

1 pencil

Small material to fix the pen on the robot

Materials

1 mBot

1 tablet with mBlock app

Step  1 : Connect the mBot to the tablet and go to the programming interface

Press dedicated button on the upper right-hand corner to connect to the mBot

Step  2 : Hook the pencil to the mBot

Find a way to hook the pencil to the mBot

Step  3 : Draw rectangles

Using a loop and the move blocks, find a way to draw a rectangle.

You can change the duration of the movement and its speed to reach the rectangle shape at the end.