Programming Ultimate 2.0 with mBlock

You can visit https://mblock.makeblock.com/en-us/ to download the block-based programming software you need.

Programming with mBlock 5

1. Download and install the required software

mBlock 5 version

Required software

URL address

PC client on Windows/Mac

mBlock_5.png 

mBlock 5 for Windows

 

mBlock 5 for Mac

N/A

 Web version on Windows/Mac

mBlock_5.png

Google Chrome

 

mLink2 for Windows

mLink2 for Mac

https://ide.mblock.cc

Web version on Chromebook

mBlock_5.png

mLink for Chromebook

 

For details about how to use mBlock 5 to program CyberPi on Chromebook´╝î see "Programming CyberPi on Chromebook."

https://ide.mblock.cc

 

2. Open the mBlock PC client and add Ultimate 2.0

1.png

3. Connect Ultimate 2.0 to mBlock 5

(1) Use the USB cable to connect your Ultimate 2.0 to your PC.

(2) On mBlock 5, click Connect.

2.png

After Ultimate 2.0 is successfully connected to mBlock 5, you can start to program it by dragging blocks to the scripts area.

mceclip0.png

For more details about how to use mBlock 5, see mBlock 5 Online Help.

Example programs

You can learn block-based programming by using the example programs.

Download an example program and double-click to open it to see how the program is compiled.

No. Form Example program
1 Robotic Arm Tank 01_Robotic Arm Tank-example
2 Beverage Robot 02_Beverage Robot-example-mblock 5
3 Camera Dolly 03_Camera Dolly-example-mblock 5
4 3D Capture A 04_3D Capture A-example-mblock 5
5 3D Capture B 05_3D Capture B-example-mBlock 5
6 Detecting Robot

06_Detecting Robot_line following_mblock 5

06_Detecting Robot_obstacle avoiding_mblock 5

06_Detecting Robot_remote control_mblock 5

7 Rolling Tank 07_Rolling Tank_mblock 5
8 Self-Balancing Robot 08_Self-Balancing Robot-mblock 5
9 Robotic Ant 09_Robotic Ant-mblock 5
10 Catapult Ram 10_Catapult Ram-mblock 5

 

Programming with mBlock 3

1. Download and install the required software

mceclip0.png

2. Download the programming guide for mBlock 3

Download Guide (PDF)

5.png

 

Some Examples

Drag the module block you need from Robots Area, select the correct port/pin.Then trigger the running event, you can see it works.

  • Control DC Motor

6.jpg

 

  • Control  Me 7-segments Display

7.jpg

  • Read the value of Me Temperature Sensor

8.jpg

  • Control the Me RGB LED

9.jpg

Example programs

No. Form Example program
1 Robotic Arm Tank 01_Robotic Arm Tank-example-mblock 3
2 Beverage Robot 02_Beverage Robot-example-mblock 3
3 Camera Dolly 03_Camera Dolly-example-mblock 3
4 3D Capture A 04_3D Capture A-example-mblock 3
5 3D Capture B 05_3D Capture B-example-mBlock 3
6 Detecting Robot

06_Detecting Robot_line following_mblock 3

06_Detecting Robot_obstacle avoiding_mblock 3

06_Detecting Robot_remote control_mblock 3

7 Rolling Tank 07_Rolling Tank_mblock 3
8 Self-Balancing Robot 08_Self-Balancing Robot-mblock 3
9 Robotic Ant 09_Robotic Ant-mblock 3
10 Catapult Ram 10_Catapult Ram-mblock 3
Was this article helpful?
0 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.