AWS IoT智慧家庭平臺開發(fā)_第1頁
AWS IoT智慧家庭平臺開發(fā)_第2頁
AWS IoT智慧家庭平臺開發(fā)_第3頁
AWS IoT智慧家庭平臺開發(fā)_第4頁
AWS IoT智慧家庭平臺開發(fā)_第5頁
已閱讀5頁,還剩28頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、基于AWS IoT開發(fā)Alexa Smart Home智慧家庭技術(shù)創(chuàng)新 變革未來 1. Introduction to write Amazon Alexa Skill and Lambda code2. Alexa Smart Home Skill development3. Using ESP8266, moogooseOS with AWS IoT4. Connect Smart Home Skill with ESP8266 and IoT5. Common issue and troubleshooting sharingOverview1. Introduction to writ

2、e Amazon Alexa Skill and Lambda Amazon Alexa 技能以及Lambda概覽 Amazon Alexa 開發(fā)者控制臺/alexa/console/ask Amazon Alexa 自定義技能Suggest start your first Alexa Skill from here /alexa-skills-kit/alexa-skill- python-tutoria l Alexa color expert Lambda 示例/lambda/home?region=us-east-1#/create/new?bp=alexa-skills-kit-c

3、olor-expert-python自定義技能示例 2. Alexa Smart Home Skill Development AlextSmart Home Skill API架構(gòu)原理 Smart Home支持的設(shè)備類型Lights, switches and bulbsDoor locksEntertainment devices like smart TVsSmart home camerasThermostats and fansMicrowave ovens ates. All rights 2018, Amazon Web Services, Inc. or its affiliS

4、mart Home 技能API舉例handle_discovery_v3/docs/device-apis/alexa-discovery.html#discover3. Using ESP8266Moogoose OS with AWS IoT ESP8266 技術(shù)概覽ESP8266 is a low-cost Wi-Fi microchipfull TCP/IP stack16 GPIO pinsSPIICUART10-bit ADC/en/products/hardware/esp8266ex/overview ESP8266 SDK 簡介are framework.rights Esp

5、ressif Systems official SDKNodeMCU A Lua-based firmware.Arduino A C+ based firmware. With this core, the ESP8266 CPU and its Wi-Fi components can be programmed like any other Arduino device. MicroPython A port of MicroPython to ESP8266 platform.ESP8266 BASIC An open source basic interpreter specific

6、ally tailored for the internet of things. Espruino An actively maintained JavaScript SDK and firmwareMongoose OS An open source Operating System for connected products. ESP-Open-SDK Free and open integrated SDK for ESP8266/ESP8285 chips.ESP-Open-RTOS Open source FreeRTOS-based ESP8266 softwZerynth I

7、oT framework for programming Ein Python. 2018, Amazon Web Services, Inc. or its affiliates. All Mongoose OS 簡介 Over-The-Air updates and remote managementIoT cloud integration Built in IOT SDKPrototyping: mJSJavaScript engineMicrocontrollers: CC3220, CC3200, ESP32, ESP8266, STM32F4Built in: flash enc

8、ryption, crypto chip support ARM mbedTLS optimized for small memory footprint/docs/README.mdMongoose OS 系統(tǒng)架構(gòu) Mongoose OS 基于瀏覽器的控制臺 Mongoose OS 開發(fā)示例項(xiàng)目 /mongoose-os-apps/aws-iot-heatermos flash aws-esp8266# Install Mongoose OSDEVICE_ID=$(mos config-get device.id)# Get device IDmos put fs/init.js # Cop

9、y init.js on the device# Enable MQTT# Setup WiFi# Provision on AWS mos config-set mqtt.enable=true mos wifi WIFI_SSID WIFI_PASSWORD mos aws-iot-setup -aws-iot-policy=mos-default IoTMongoose OS 通過MQTT 發(fā)布消息到IOT 4. Connect Alexa Smart Home Skill with ESP8266 and IoT IoT訂閱以及發(fā)布MQTT 消息 通過IoT rule engine 操作DynamoDB數(shù)據(jù)庫 Dynamodb 表中存儲的傳感器數(shù)據(jù)Alexa 通過Lambda 讀取DynamoDB 數(shù)據(jù) IoT 設(shè)備根據(jù)訂閱的消息控制GPIO端口執(zhí)行動作 5. Common issue and troubleshooting sharing 嘗試給Smart Home 溫度接口添加溫、濕度功能/docs/device-apis/alexa-temperaturesensor.html Smart

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論