2-in-1 mBot: Line Follower and Object Avoidance 4 years ago

mBot has line follower and object avoidance modes under default program setting. This project shows you how to combine them together.

Part list

Constructing Steps

Assemble the mBot

Follow the instruction of user manual to assemble the mBot. You can design your own map with black tape.


If you want to program mBot from browser, you need to install the codebender plugin, select board type Makeblock>mCore and correct port and click Run on Arduino. Then sketch will be uploaded to your board. If you prefer to program mBot with Arduino IDE, you need to download the latest Makeblock library and copy it to Arduino libraries folder. You also need to replace the first two lines(#define MeMCore_H #include <Makeblock.h>) with #include "MeMCore.h" .

Play and Have Fun

Upload program to mBot. Your mBot is ready to go.

Show more comments