arm ® mbed™ 平台之研究及實作

Post on 15-Apr-2017

813 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

基於ARM® mbed™ 平台的物聯網應用實作

組員:鄒乙豪、何維濂、柯景翔

指導老師:Joseph

日期: 2016/7/15

簡報大綱

1. 專題緣起/引言

2. 製作目標

3. 系統方塊

4. 實作技術

5. 使用者介面

6. 專案成果與展示

7. 感言與問答

1.1 專題緣起

1.2 物聯網的障礙 ● 連上網路?防火牆?安全?

● 手機電腦要如何讀取資料?

● 網頁?Refresh? ● 程式不斷輪詢?電?

● 節點裝置管理?

● 跨平台開發?

● 團隊協同開發?

2. 製作目標

3. 系統方塊

mbed DS

Website on Google cloud

ethernet

wifi

mbed API

mbed OSLinux...

GPIO

I2C

LED

Button

Buzzer

Gyro

Sensor

Relay

edge board

...

4.1 實作技術 device platform

COAP HTTPS

HTTP

Web APP

4.2 實作技術 mbed Interface

CMSIS-Core / Driver

IP StackThread/Time Interrupts

C++ APIS

Application / Libraries

GPIO I2C Ethernet

LED BuzzerRelay Sensor + FanGyro

4.3 實作技術event flow

CMSIS-Core / Driver

IP StackThread/Time Interrupts

C++ APIS

Application / Libraries

GPIO I2C Ethernet

2. Read data from I/O

3. Sent value toresource

1. Register the device & resource

mDS

COAP

COAP

4. Method handlader 5. Payload parser6. Write data to I/O

LED BuzzerRelay Sensor + FanGyro

4.4 實作技術webUI

web socket

mDS

HTTPS

4.5 實作技術WebAPP ● Backend-end

○ The REST API URL for all requests for mDS○ Node.js+Express (Node.JS web framework) ○ Node.js http○ Node.js Socket.io○ "mbed-connector-api"○ hbs: Handlebars HTML template

● Front-end○ JQuery○ JS/Socket.io (socket.io-client)○ JSON Parser

4.6 OMA LWM2M Data Model

5. 使用者介面

6.1 專案的成果 ● 連上網路?防火牆?安全?

➢ coap , mbed connector server, TLS● 行動裝置要如何讀取資料?

➢ HTML + Javascript + CSS● 網頁?Refresh?

➢ Python / node.js● 程式不斷輪詢?電?

➢ mbedos + event trigger

6.2 專案的成果 ● 節點裝置管理?

➢ OMA LWM2M + RESTful API● 跨平台開發?

➢ Yotta ● 團隊協同開發?

➢ Yotta, mbed Development Platform

6.1 系統展示 motion-sensoron FRDM-K64F

http://iotproj.ddns.net

● LED● Button● Gyro sensor

6.2 實際展示: environment-sensoron Raspberry pi 2

http://iotproj.ddns.net:8080

● Button● Relay -> Fan● Env Sensor● OLED

7. 感言及問答

top related