14. How to Use IOT Blocks (Case 2)

This guide applies to:

mBot2, mBot Neo, and CyberPi.

 

In a Nutshell

This is the second example for using the IOT programmng blocks:

Use IOT blocks to obtain internet info and display it on CyberPi's screen.

操作指引19-介绍.png

操作指引19-介绍-视频.gif

The case above edits the code on mBlock 5 PC version. You can also use other versions.

The case above connects mBot2 to the computer via the Bluetooth adapter. 

Please log in to your mBlock 5 account before using IOT blocks.

 

Step by Step

1. Connect mBot2 to mBlock5 and switch to the 'Upload' mode.

For details, please see this guide: How to Connect mBot2 to mBlock 5

操作1-步骤1-教程9.png

 

2. Connect mBot2 to the Network via Wi-Fi

Drag blocks to the editing area to connect the device to the network.

 

3. Obtain Online Information

Use the IOT blocks to obtain a city's highest temperature,

and then mBot2's screen display the highest temperature of the city.

操作指引19-步骤3.gif

 

Note: Manually select the city as shown below.

操作指引19-步骤3-注意1.png

操作指引19-步骤3-注意2.png

 

4. Upload the Program

Upload the program to the device and check the information on the mBot2 screen.

操作指引19-步骤4.gif

 

Got Questions?

Feel free to contact us at:

service@makeblock.com

 

Help Us Solve Faster

We have listed some useful information you can provide to us.

When you contact us, the more information you provide, the better informed we will be and the quicker we can advise and answer your questions.

复用图-联络客服-提供信息.png

Not Sure Where to Find the Version Info?

复用图-联络客服-查看版本教程.png

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.