2-in-1 MBot: Line Follower and Object Avoidance

Published

Introduction: 2-in-1 MBot: Line Follower and Object Avoidance

About: Makeblock was founded in 2012 as the world's first open-source robot and programing platform. With more than 400 mechanical components, electronic modules, and software tools, we are determined to bring mean...

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

More tutorials please visit http://www.makeblock.com

/Our community: http://openlab.makeblock.com/

Step 1: Part List

1 x mBot

BUY NOW

Step 2: Assemble the MBot

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

More tutorials please visit http://www.makeblock.com/

Our community: http://openlab.makeblock.com/

Step 3: Programming

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 ) with #include "MeMCore.h" .

More tutorials please visit http://www.makeblock.com/

Our community: http://openlab.makeblock.com/

Step 4: Play and Have Fun

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

More tutorials please visit http://www.makeblock.com/

Our community: http://openlab.makeblock.com/

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Casting Contest

      Casting Contest
    • Woodworking Contest

      Woodworking Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments