SWEST21 s4b ReButton

>100 Views

September 06, 19

スライド概要

https://swest.toppers.jp/SWEST21/program/s4b.html#s4

profile-image

SeeedKKの中の人。Microsoft MVP for Internet of Things。

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

(ダウンロード不可)

関連スライド

各ページのテキスト
1.

SWEST21 s4b ReButton 2019/9/6 Takashi Matsuoka

2.

Takashi Matsuoka (@matsujirushi12) 「e」3つ 2017~ MVP for Windows Development Wio LTE Wio 3G Wio LTE M1/NB1(BG96) MT3620 DevBoard de:code 2019

3.

Azure IoT Hub - Cloud Gateway - Cus tom Cloud Ga teway Device Device Custom Protocols (Cl oud Service, VM) Management app Device registry/Management Monitoring Send commands AMQP, MQTT, HTTPS Applications - Companion apps - Dashboards - Controllers - … Device Field bus / protocol Field Gateway AMQP, MQTT, HTTPS Device Device Field bus / protocol Device Field Gateway OPC, HTTP, CoAP,… VPN/ExpressRoute Custom Cloud Gateway (Cloud Service, VM) Management app Device registry/Management Monitoring Send commands Build 2018 – BRK3803 Azure IoT Platform services - The modern IoT developer toolbox

4.

Azure IoT Hub – クイックスタート https://docs.microsoft.com/ja-jp/azure/iot-hub/quickstart-send-telemetry-c

5.

Azure IoT Hub – クイックスタート https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/readme.md#mbed

6.

Azure IoT Central - ハウツーガイド https://docs.microsoft.com/ja-jp/azure/iot-central/howto-connect-devkit

7.

エッジ クラウド Internet ReButton ✓ Azure IoT Hub/Azure IoT Central ✓ 最小限のセットアップ ✓ 低価格 ✓ 電池駆動 ✓ グローバル ✓ カスタマイズ

8.

最小限のセットアップ Azure IoT Central Wi-Fi 2.4G ReButton Wi-Fi Access Point Internet Azure IoT Hub Button LED ✓ Wi-Fiアクセスポイント情報 User ✓ Azure接続情報

9.

グローバル IoT in Action Barcelona, Spain Santa Clara, USA Taipei, Taiwan Shinzhen, China New York, USA Seoul, South Korea Tokyo, Japan Orlando, USA Nuremberg, Germany Sydney, Australia Hanover, Germany Taipei, Taiwan https://twitter.com/SeeedJP/status/1051771382835634177

10.

グローバル

11.

グローバル

12.

カスタマイズ – ハードウェア I2C Grove connector Jumper switch RGB LED JTAG pads AAA batteries UART for debug PUSH BUTTON

13.

カスタマイズ – ハードウェア https://github.com/SeeedJP/ReButton/tree/master/mechanicals https://github.com/SeeedJP/ReButton/tree/master/electronics

14.

カスタマイズ – ソフトウェア Image ReButton Image Debug Adapter Image Azure Storage PC

15.

カスタマイズ – ソフトウェア アプリケーション ReButtonApp https://github.com/SeeedJP/ReButtonApp ライブラリ ボード・プラットフォーム Arduino IDE SeeedJP ReButton by Seeed K.K. https://github.com/SeeedJP/ReButtonArduinoPlatform

16.

Communicate a Device and Azure IoT Hub IoT Hub Device-to-cloud messages Physical Device File uploads C2D messages Partition ~7days Consumer Group Blob Storage Partition ~2days Direct methods DeviceTwin Desired properties Reported properties Desired Reported

17.

Azure IoT SDK in ReButton Application Device Client Service Client Provisioning Client Provisioning Service C shared utility https://github.com/Azure/ azure-iot-sdk-c Adapter Arduino API Azure IoT C SDKs Mbed API WiFiInterface

18.

Azure IoT Device Client API IoT Hub接続先を指定: IoTHubClient_LL_CreateFromConnectionString() ConnectionStateCallbackFunc D2Cメッセージを送信: IoTHubMessage_CreateFromByteArray() IoTHubClient_LL_SendEventAsync() SendEventCallback DeviceTwinのReportedを変更: IoTHubClient_LL_SendReportedState() DeviceTwinReportCallbackFunc DeviceTwinのDesiredの変更通知を受ける: IoTHubClient_LL_SetDeviceTwinCallback() DeviceTwinCallbackFunc https://github.com/SeeedJP/ReButtonApp/blob/master/ReButtonClient.cpp

19.

IoT Central Measurements Storage Data Export Physical Device Telemetry D2C messages State Event Hub Rules Email Event DeviceTwin Functions Settings Analytics Desired Reported Logic Apps Properties Jobs Flow Commands Dashboard Webhook

20.

ReButton and IoTC Configuration ReButton Configuration: Wi-Fi ✓ SSID / Passphrase IoT Central ✓ Scope ID ✓ Device ID ✓ SAS Key IoT Central Configuration: ✓ Create device template ✓ Add telemetry/state/event ✓ Add real device ✓ Copy Scope ID/Device ID/SAS Key

21.

Device Cloud Services IoT Plug and Play Overview Device Capability Model Interface

22.

IoT Plug and Play Contents Cloud Services Device Properties Telemetry Commands Device Capability Model Interface

24.

DEMO: IoT Plug and Play

25.

まとめ ReButton: ✓ Azure IoTを体験する最も簡単なデバイス ✓ カスタマイズ可能 Azure IoT Central / Azure IoT Hub: ✓ 体験はIoT Central、デバイス開発はIoT Hub デバイス開発: ✓ Azure IoT SDK ✓ IoT Plug and Play