Download - mBot教學(3c) 使用Makeblock App
![Page 1: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/1.jpg)
電子工程系車用電子與資訊組
教學(3c)使用Makeblock App
吳錫修
August 24, 2017
![Page 2: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/2.jpg)
shap
e th
e fu
ture
Makeblock App可藍牙連線操控mBot 、mBot Ranger、Ultimate等硬體
也可使用Makeblock App設計符合個人需求的App
Makeblock App 1/7
2 Wu, ShyiShiou Dept. of E.E.
![Page 3: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/3.jpg)
shap
e th
e fu
ture
Makeblock硬體必須先更新靭體
選單命令「連接>更新靭體」
開啟Makeblock App,將手機靠近mBot
Makeblock App 2/7
3 Wu, ShyiShiou Dept. of E.E.
![Page 4: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/4.jpg)
shap
e th
e fu
ture
mBot主畫面
Makeblock App 3/7
4 Wu, ShyiShiou Dept. of E.E.
選擇所要控制的Makeblock硬體,目前支援以下機型:mBot、mBot Ranger、Ultimate、Ultimate 2.0及Airblock
藍芽連線管理設定
表示須搭配mBot擴展包
![Page 5: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/5.jpg)
shap
e th
e fu
ture
mBot Ranger主畫面
Makeblock App 4/7
5 Wu, ShyiShiou Dept. of E.E.
選擇所要控制的Makeblock硬體,目前支援以下機型:mBot、mBot Ranger、Ultimate、Ultimate 2.0及Airblock
藍芽連線管理設定
![Page 6: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/6.jpg)
shap
e th
e fu
ture
Ultimate主畫面
Makeblock App 5/7
6 Wu, ShyiShiou Dept. of E.E.
選擇所要控制的Makeblock硬體,目前支援以下機型:mBot、mBot Ranger、Ultimate、Ultimate 2.0及Airblock
藍芽連線管理設定
![Page 7: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/7.jpg)
shap
e th
e fu
ture
Ultimate 2.0主畫面
Makeblock App 6/7
7 Wu, ShyiShiou Dept. of E.E.
選擇所要控制的Makeblock硬體,目前支援以下機型:mBot、mBot Ranger、Ultimate、Ultimate 2.0及Airblock
藍芽連線管理設定
![Page 8: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/8.jpg)
shap
e th
e fu
ture
Airblock主畫面
Makeblock App 7/7
8 Wu, ShyiShiou Dept. of E.E.
選擇所要控制的Makeblock硬體,目前支援以下機型:mBot、mBot Ranger、Ultimate、Ultimate 2.0及Airblock
藍芽連線管理設定
![Page 9: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/9.jpg)
shap
e th
e fu
ture
開啟mBot控制器
使用Makeblock mBot控制器 1/4
9 Wu, ShyiShiou Dept. of E.E.
![Page 10: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/10.jpg)
shap
e th
e fu
ture
mBot控制器 - 遙控模式
使用Makeblock mBot控制器 2/4
10 Wu, ShyiShiou Dept. of E.E.喇叭聲LED開關
全速前進3秒 左右搖擺3秒
原地旋轉3秒
搖桿控制移動回主畫面
遙控模式
![Page 11: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/11.jpg)
shap
e th
e fu
ture
mBot控制器 - 你畫我跑模式
用手在作業區畫出移動路徑,按下開始按鈕,mBot即依路徑行進
使用Makeblock mBot控制器 3/4
11 Wu, ShyiShiou Dept. of E.E.
清除路徑
開始行進
你畫我跑模式
![Page 12: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/12.jpg)
shap
e th
e fu
ture
mBot控制器 - 電子琴模式
自由彈奏鍵盤或撥放預設音樂 (聖誕歌、小星星、生日快樂、二隻老虎)
使用Makeblock mBot控制器 4/4
12 Wu, ShyiShiou Dept. of E.E.
撥放音樂
自由彈奏
電子琴模式
聖誕歌 小星星 生日快樂歌 兩隻老虎
![Page 13: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/13.jpg)
shap
e th
e fu
ture
開啟mBot控制台
使用Makeblock mBot控制台 1/11
13 Wu, ShyiShiou Dept. of E.E.
![Page 14: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/14.jpg)
shap
e th
e fu
ture
mBot控制台 - 運行模式
直接使用儀表板操控mBot
使用Makeblock mBot控制台 2/11
14 Wu, ShyiShiou Dept. of E.E.
運行模式
移動控制
LED閃光開關
喇叭按鈕
全速前進按鈕
超音波感測值
亮度感測值
![Page 15: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/15.jpg)
shap
e th
e fu
ture
mBot控制台 – 編輯模式
可重新配置控制元件及修改控制元件程式
使用運動作業元件
使用Makeblock mBot控制台 3/11
15 Wu, ShyiShiou Dept. of E.E.
編輯模式
運動作業元件
運動控制元件
![Page 16: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/16.jpg)
shap
e th
e fu
ture
使用顯示作業元件
使用Makeblock mBot控制台 4/11
16 Wu, ShyiShiou Dept. of E.E.
顯示作業元件
顯示控制元件
編輯模式
![Page 17: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/17.jpg)
shap
e th
e fu
ture
使用感知作業元件
使用Makeblock mBot控制台 5/11
17 Wu, ShyiShiou Dept. of E.E.
感知作業元件
編輯模式
感知控制元件
![Page 18: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/18.jpg)
shap
e th
e fu
ture
使用者自訂作業元件
前三類元件已內建預設程式碼,而自定義元件則無預設程式碼
使用Makeblock mBot控制台 6/11
18 Wu, ShyiShiou Dept. of E.E.
編輯模式
自訂作業元件
自訂控制元件
![Page 19: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/19.jpg)
shap
e th
e fu
ture
修改控制元件程式碼
點擊控制元件開啟編輯選單,點選編程即可進入程式編輯作業
使用Makeblock mBot控制台 7/11
19 Wu, ShyiShiou Dept. of E.E.亮度控制元件之編輯選單
![Page 20: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/20.jpg)
shap
e th
e fu
ture
程式編輯作業
使用Makeblock mBot控制台 8/11
20 Wu, ShyiShiou Dept. of E.E.
積木指令分類
儀表板控制元件清單
縮小/放大指令區
指令區
目前作業元件
預覽執行結果重置指令區
返回控制台畫面
![Page 21: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/21.jpg)
shap
e th
e fu
ture
使用Makeblock mBot控制台 9/11
21 Wu, ShyiShiou Dept. of E.E.
結束預覽
![Page 22: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/22.jpg)
shap
e th
e fu
ture
加入積木指令
開啟指令分類,點擊想要加入的積木指令
使用Makeblock mBot控制台 10/12
22 Wu, ShyiShiou Dept. of E.E.
![Page 23: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/23.jpg)
shap
e th
e fu
ture
移除積木指令
拖曳積木指令到垃圾桶
使用Makeblock mBot控制台 11/12
23 Wu, ShyiShiou Dept. of E.E.
![Page 24: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/24.jpg)
shap
e th
e fu
ture
儲存自訂的mBot控制台
使用Makeblock mBot控制台 12/12
24 Wu, ShyiShiou Dept. of E.E.
![Page 25: mBot教學(3c) 使用Makeblock App](https://reader033.vdocuments.net/reader033/viewer/2022050812/5a64e3bc7f8b9abb6f8b4c2f/html5/thumbnails/25.jpg)
shap
e th
e fu
ture
自訂的mBot控制台會加到Makeblock主畫面我的程式中
使用Makeblock mBot控制台 12/12
25 Wu, ShyiShiou Dept. of E.E.