mBot-Programming

 

 


mBot with Me LED Matrix

Have you ever imagined how vivid it would be if a dynamic face plate is added on your robot which enables it to have various facial expression like a real man? Or have you tried to program LED walls to display animations or characters? What Me LED Matrix 8×16 can do is to help you achieve these gorgeous display effects. It’s highly welcomed by mBot users.
Me LED Matrix 8×16 has 128 blue leds packed into 16*8 dot matrix. You can program it graphically via mBlock to display simple animations/text and all kinds of robot emotions.

What you will need:

mBot     × 1

Firstly

Assemble the led face plate according to below illustrations. Then plug the face plate into port 1 of mCore.

mbotLEDface1

QQ截图20150708182314

Secondly

Make sure you have done things below:

  1. connect the mBot to your computer via USB cable and upgrade the firmware(mBot) for mBot.
  2. Turn on the mBot, choose the correct serial port and board

Thirdly

Write script below and double click to run.

QQ图片20150708195746

For more documents: User guide download

If it doesn’t work, please try steps below:

  1. Navigate to “C:\Users\your computer’s user name\Documents”, then delete the folder “mBlock”
  2. Reopen the software mBlock with internet connection. Note: the software will download the newest mBlock setting files automatically on internet.
  3. Upgrade the firmware and run scripts

mBot Arduino C programming

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. The Arduino software consists of a development environment (IDE) and the core libraries. The IDE is written in java and based on the processing development environment.

This video tutorial is talking about how to program mBot with C language.

This video tutorial is talking about how to use Arduino mode with mBot in mBlock.