MBot – Movement & black line detector

Step  1 : Choose MBot in devices & Connect the mBot to the computer in the programming interface

(mBlock application)

Step  3 : Create the program to follow the path

There are 2 line follower sensors in front of the mBot with a led light that is blue when it detects nothing.

If the 2 sensors detect black (value = 0), make the mBot go forward.

With the block “line follower sensor detects…”, find a way to make the mBot turn left or right following the line.