Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

78
Mobile Learning and Robotics in Taiwan 台台台台台台台台台台台台台

Transcript of Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Page 1: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Mobile Learning and Robotics in Taiwan

台灣的行動學習與機器人教育

Page 2: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Educational content provider

優質教學服務

Page 3: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

曾吉弘David Tseng

CAVEDU 教育團隊 創辦人CAVEDU Education founder

[email protected]

Page 4: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

本日內容 / Todays content

Page 5: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

粉絲頁 / 部落格 出版

使用者聚會 研習

樂在其中

Page 6: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Blog Publication

Community Workshop

Enjoy

Page 7: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育
Page 8: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

台灣常見的機器人平台Robotics platform in Taiwan

• Lego

• Arduino

• 其他例如德國慧魚、智高、 Bioloid 等。 也有用 Raspberry Pi

• Lego

• Arduino

• Others like Fischer Technik, GIGO, Bioloid, etc. Maybe some Raspberry Pi

Page 9: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

樂高 / Arduino

Page 10: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Raspberry Pi

Page 11: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

以下功能皆相同 / Same function

void loop(){ digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000);}

Page 12: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

文字式程式的常見問題

• 不會使用開發環境

• 找不到指令

• 不會除錯

Page 13: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Common issues of text-based languages

• Unfamiliar with IDE

• Hard to find commands

• No idea to debug

Page 14: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

學生常卡住的難點 / get stucked

• 變數真的在變

• 資料型態與轉換

• 副程式之間傳值

• Variables are really changing!

• Data type and conversion

• Passing value between procedures

Page 15: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

TextBox1.Text widthTextBox2.Text height

Page 16: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Android - App Inventor

Page 17: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

行動裝置結合機器人的最簡方案

Easiest solution to control your robot via smart phone

Page 18: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Android + robot

Page 19: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

手機可作為控制器與顯示器Smart phone as controller and display

Page 20: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

機器人可獲得 / Robot can get

• 照相機• 網路功能• 動態感測器• GPS 定位• 強大的運算能力• 語音輸入與輸出

• Camera• Network• Motion sensor• GPS positioning• Computing

power• Voice I/O

Page 21: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

絕佳組合 / Excellent combination

Page 22: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

教學內容 / Teaching content

• 通訊• 體感• 定位• 三角函數• 事件觸發• 人機介面

• Network• Motion detection• Location and

positioning• Trigonometric• Event triggering• Interface Design

Page 23: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

可怕的三角函數Horrible trigonometric

θ = atan(y/x)

夾角 = 座標求反正切

Page 24: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

藉由機器人控制來學習

Page 25: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育
Page 26: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

簡化1. 初始化與檢查藍牙

2. 連線

3. 通訊

4. 斷線並釋放資源

1. Initialize and check Bluetooth

2. Connect

3. Communication

4. End connection and release resources.

Page 27: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

初始化與檢查藍牙

Page 28: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

連線

Page 29: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

斷線並釋放資源

Page 30: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

按鈕發送藍牙指令

Page 31: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

姿態感測器觸發

Page 32: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Google 語音辨識

Page 33: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

發現了嗎?

觸發條件不同而已

機器人收到的就是 T / F

Page 34: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Lego Direct Command for NXT

• 機器人端不用寫程式• No program in robot

• 控制馬達 / 聲音 / 螢幕• Control motor, sound and display

• 取得感測器值• Get sensor value

Page 35: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

位元陣列 / byte array

Page 36: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Lego Direct Command for EV3

Page 37: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

出版 / Publication

http://www.cavedu.com/books

Page 38: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

C for Lego NXT, 2009

Page 39: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Android / NXT

Java…

2011

Page 40: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

1st App Inv book in Taiwan

台灣首本 App 專書結合認證檢定

Page 41: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

結合機器人App Inventor andRobot

硬體 Hardware藍牙 Bluetooth感測器 Sensor定位 Location

Page 42: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

高階程式語言 / Advanced languages

Python/Java

Page 43: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育
Page 44: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

繁體中文有 29 本 / 29 books in Traditional Chinese

29

Page 45: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

App Inventor 中文學習網App Inventor TW

start from 2010

Page 46: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

開放與分享

Open and Share

Page 47: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

上頭有什麼 / Content

• Setup

• Tutorial

• Basic example

• Advanced application

• Fast response

• 開發環境建置

• 新手教學

• 基礎範例

• 進階應用

• 有問必答

Page 48: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

目前成果 / Achievement so far

• 全台灣約有 30 所國小

• 50 所國高中

• 20 所大學

• 使用 App Inventor 教學的教師約 50 名,接觸過的學生約 6000 名

• 30 elementary schools

• 50 junior/ high school

• 20 colleges

• 50 teachers and 6000 students

Page 49: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

搜尋排序 / Not bad in Google search

Page 50: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

出版了兩本書 / Two books

Page 51: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Robocon 雜誌專欄 24 回 / 24 Special column in Robocon magazine

Page 52: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

40 workshops annually since 2010

/ 2010 年來每年 40 場研習

Page 53: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

教學對象 / Who is using

• 國小學生 ( 三年級以上 )

• 國中、高中 / 高職生

• 非資訊背景之大學生

• 希望快速驗證功能者

• Elementary school (K3 above)

• Junior and high school

• Non-programming college students

• Who want to verify idea in a fast way

Page 54: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Binary Clock / 二進位時鐘

Hour Minute Second

Page 55: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

連接外部裝置與服務

藍牙

• 樂高機器人

• Arduino

• 其他藍牙裝置

WiFi 網路通訊

• 網路資料庫

• Raspberry Pi

• Google 雲服務

Page 56: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Connecting other devices and services

Bluetooth

• Lego robot

• Arduino

• Other devices

Web

• Web databases

• Raspberry Pi

• Google services

Page 57: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Google Map

Page 58: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

Google Chart

Page 59: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

取得紫外線強度 / Get UV status JSON parser

Page 60: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

原始 JSON 資料 / raw JSON data

Page 61: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

學到什麼 / learned about

• 封包傳輸

• 資料解析

• 整合網路服務

• Package transmission

• Parse data

• Integrate web services

Page 62: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

TQC+ App Inventor Certification

Start from Summer, 2015

Page 63: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

TQC+ App Inventor 認證

暑假全面啟動

Page 64: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

TQC+ certification

• 180選擇題

• 3 大類, 36操作題

• 考試用的伺服器

• 180 multiple choices

• 36 hands-on (in 3 categories)

• Customized server for certification

Page 65: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

針對高中職生與非資訊背景學生學科• App Inventor 系統與基

礎畫面元件

• 基礎程式語法

• 硬體與網路通訊服務

操作題• 基礎畫面配置與輸入輸出

功能

• 影音多媒體、程式流程與判斷

• 進階人機互動與檔案存取應用

Page 66: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

For High school and no-programming background

Multiple choices• App Inventor system

and visual component

• Programming basic

• Hardware and network

Hands-on• Screen layout and I/O

function

• Multimedia, flow control and structure

• Advanced interaction and file storage/access

Page 67: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

檢定流程 / How to

• 考試時間 1.5 小時

• 學科, 30 題選擇題

• 操作題每類 1 題,共 3題

• Total for 1.5 hours

• 30 multiple choices

• 3 , one for each category.

Page 68: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

認證用伺服器

Certification Server

Page 69: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

發想 / Origins

• 讓所有考生連到考試伺服器,因此未採用App Inventor 離線版

• 加入了版本控制與帳號管理等功能

• 也方便我們測試自己開發的元件

Page 70: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

初始畫面

Page 71: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

考試排程 / exam schedule

Page 72: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

行事曆檢視 / View on calendar

Page 73: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

帳號管理 / Account management

Page 74: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

只能以預設帳密登入Log in with preset

account/pw

Page 75: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

操作如同 MIT App InventorSame environment as MIT App

Inventor

Page 76: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

更多 / More

• 自動收卷與 .aia 上傳

• 檢定題庫與解題秘笈將於 6月底出版

• 目前 7 、 8月已有約 20 所學校 ( 約 300人 ) 排定考試

Page 77: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

結語• 程式只是工具,流程很重要• Languages are just tools, procedure

does matter

• 環境改變中 / Changing environment

• 電腦到手機 / PC to phone

Page 78: Mobile Learning and Robotics in Taiwan / 台灣的行動學習與機器人教育

• www.cavedu.com

• www.appinventor.tw

• 曾吉弘• [email protected]