Introduction to Programming——mBlockly for mBot

img_0063

Control your robot and learn programming by snapping graphical building blocks together.

***a mBot educational robot with bluetooth module is required for running this app!***

LET YOUR ROBOT FEEL, THINK, AND DANCE

With mBlockly, your mBot robot may perceive distance via ultrasonic sensors, mind its feet through line-tracking sensors, and be afraid of dark with its lightness sensor. Build short programs to let your mBot move or sing a little song when it is happy or sad.

TAKE YOUR MBOT WITH YOUR TRIP

Computers and cables are no more needed. Your iPad communicate directly with your mBot via bluetooth.

TURN YOUR IPADS INTO MAGIC WANDS

mBlockly can read the status of iPad’s gyroscope, meaning that you may let your mBot dance by shaking the iPad or tilting it to each direction.

Video: https://www.youtube.com/watch?v=i1J1-W_onz0

Turn on your mBot, make sure it is with Bluetooth .Then open the Bluetooth of your smart-phone.

1.Find your mBot and connect it

Click the name of your mBot, then you can connect it via Bluetooth

img_0061

2.Tap “Create New Project”button  to create your own project

img_0063

img_0062

 3.Tap “My Project”button  to review the own projects you made

      You can find the whole projects you made, then you can review your work.img_0073

4. Example

The examples may help you to understand how mblockly works. You can try to change example by removing or adding blocks, then you will get an new project.

img_0071 img_0072

5.Introduction of blocks

  • Begin——Under this category, you may find the initial blocks for your program. For example, choosing “when table shaked”as your initial block, then when you shake your tablet, mbot will run the blocks which follows the block—— “when table shaked”.img_0064
  • Move——Under this category, you may find the motion blocks for your program.img_0065
  • Display——Under this category, you may find the blocks of sounds and RGB LEDimg_0066
  • Event——Under this category, you may find the blocks of control conditions,which can be applied with block of “when XX do YY”  or  “if XX then do YY”.img_0067
  • Detect——Under this category, you may find the blocks of detect value,which store the value of sensor and can be applied with blocks of Math.img_0068
  • Math——Under this category, you may find the blocks of Math.img_0069
  • Control——Under this category, you may find the blocks of logic controlling.img_0070

 

iOS ( Only for iPad )
Download:    mBlockly for mBot 
Skills

Posted on

2016-01-28