SlideShare a Scribd company logo
1 of 21
2020年2月7日
株式会社デバイスドライバーズ
日高亜友
IoT ALGYAN 勉強会
IoT ALGYAN 運営委員
受託等100個ぐらい
受託等100個ぐらい
ブートローダー+ドライバー開発=OS移植
ファームウェア開発を含む
多数
本セッションは
12月5日・6日 東京
1月23日・24日 大阪 開催
Microsoft Ignite The Tour
の内容を一部改変して
お伝えします
本セッションの位置
づけ
Azure IoT
2019年11月第1週1538 sessions
Microsoft Azure IoT 対応
EnOcean Gateway
開発時の 10個のヒント
ハードウェア
ソフトウェア
EnOcean は太陽電池等で動作する
省エネ 中距離 IoT 無線通信方式
EnOcean IoT センサーの例 約70種市販
中
ゲートウェイ構成機
材
PC or Raspberry Pi
USB dongle or RPi Hat
DPRIDE (受信)
Linux (Raspbian)
Gateway Server
Custom OPC UA
Server
Open62541
Bridge File
Simulated Device
Azure IoT-Edge V1
Control File EEP File
ETK
SKKYNET ETK
Simulated Device
Azure IoT-Edge V2
データ数値をファイル
内に記して受け渡し
- 容易な排他制御
- 容易なコンテナ対応
[ Container ]
Controler GUI
node.js
ヒントとコツ
Hint-1 ハードウェア は Raspberry Pi で十分
がデファクト
Raspberry Pi
• IoT に特別なハードウェアは原則不要 新規開発(調達)時には注意!
5年前
Hint-2 IoT 無線通信方式
• EnOcean
Chip
Microsoft Munich H.Q.
Hint-3 デバイス – Azure 間の接続
• 方法3:Azure IoT Edge V1
• Azure IoT Edge V1 Simulated Device Sample
Hint-4 データ(テレメトリー) をどう Broker に
渡す? 複数 Broker と受け渡し
• 方法4:テキストファイル渡し
Hint-5 クロス・プログラム開発
• 方法2: VS Code + SSH FS
Hint-6 データのモニター
• Device Explorer (Windows用) 簡単、使い易い
課題 Device ID のメンテナンス
Hint-7 Device ID のメンテナンス(素晴らしい
もの)• IoTHub-Explorer に変わるものを作りました
http://www.devdrv.co.jp/hidaka/node/68
https://github.com/ahidaka/azure-iot-sdk-c
https://github.com/ahidaka/azure-iot-sdk-c/tree/
registrymanager_sample/iothub_service_client/
samples/iothub_registrymanager_sample
Hint-8 スクリプトは sh + awk + sed を検討
せよ
sh + awk + sed + 独自のテキスト編集Cプログラム で十分
• さらにHint! awk は JSON 編集加工がライブラリ不要で結構簡
単!
https://github.com/ahidaka/EnOceanGateways/tree/master/AzureIoTSupport
Hint-9 GUI Web サーバーは どれを選ぶか?
Node.js を選択 –取りあえず直ぐ使える、簡単!
• 参考:これから検討なら
.NET Core 3.x + ASP.NET + Blazor もあるかも…
• デバッグし難い!
• パッケージ管理とアップデートが面倒!
Hint-10 Headless Linux Gateway のアドレスを
探す• linux-igd (Linux uPnP Gateway Service)
緊急ログイン用に利用可能
ネットワーク
“IoT は 枯れている技術の組み合わせ
で”
ありがとうございました。

More Related Content

What's hot

What's hot (11)

Node-REDで生体情報測定するIoTデバイス試作
Node-REDで生体情報測定するIoTデバイス試作Node-REDで生体情報測定するIoTデバイス試作
Node-REDで生体情報測定するIoTデバイス試作
 
Azure Video Analyzer IoT活用セミナー - 概要
Azure Video Analyzer IoT活用セミナー - 概要Azure Video Analyzer IoT活用セミナー - 概要
Azure Video Analyzer IoT活用セミナー - 概要
 
Azure IoT Edge for Linux on Windows (EFLOW)を学ぶ!
Azure IoT Edge for Linux on Windows (EFLOW)を学ぶ!Azure IoT Edge for Linux on Windows (EFLOW)を学ぶ!
Azure IoT Edge for Linux on Windows (EFLOW)を学ぶ!
 
AIベンチャー企業のパフォーマンス
AIベンチャー企業のパフォーマンスAIベンチャー企業のパフォーマンス
AIベンチャー企業のパフォーマンス
 
OPC UA and New EnOcean Gateway
OPC UA and New EnOcean GatewayOPC UA and New EnOcean Gateway
OPC UA and New EnOcean Gateway
 
Azure io t_central_iotedge
Azure io t_central_iotedgeAzure io t_central_iotedge
Azure io t_central_iotedge
 
Japan MVP Community Connection 2017 Autumn smart Demonstration
Japan MVP Community Connection 2017 Autumn smart DemonstrationJapan MVP Community Connection 2017 Autumn smart Demonstration
Japan MVP Community Connection 2017 Autumn smart Demonstration
 
Azure RTOS 概要 - IoT ALGYAN 技術セミナー 2021/9/11
Azure RTOS 概要 - IoT ALGYAN 技術セミナー 2021/9/11Azure RTOS 概要 - IoT ALGYAN 技術セミナー 2021/9/11
Azure RTOS 概要 - IoT ALGYAN 技術セミナー 2021/9/11
 
IoT開発を支える技術の今とこれから
IoT開発を支える技術の今とこれからIoT開発を支える技術の今とこれから
IoT開発を支える技術の今とこれから
 
Microsoft Cognitive Servicesが実現する業務自動化
Microsoft Cognitive Servicesが実現する業務自動化Microsoft Cognitive Servicesが実現する業務自動化
Microsoft Cognitive Servicesが実現する業務自動化
 
Azure RTOS 概要 - IoT ALGYAN 技術セミナー
Azure RTOS 概要 - IoT ALGYAN 技術セミナーAzure RTOS 概要 - IoT ALGYAN 技術セミナー
Azure RTOS 概要 - IoT ALGYAN 技術セミナー
 

Similar to Tips and tricks for Azure IoT system development

Similar to Tips and tricks for Azure IoT system development (20)

今改めて学ぶ Microsoft Azure 基礎知識
今改めて学ぶ Microsoft Azure 基礎知識今改めて学ぶ Microsoft Azure 基礎知識
今改めて学ぶ Microsoft Azure 基礎知識
 
Embedded Technology 2014 Smart Japan Aliance IoT Azure
Embedded Technology 2014 Smart Japan Aliance IoT AzureEmbedded Technology 2014 Smart Japan Aliance IoT Azure
Embedded Technology 2014 Smart Japan Aliance IoT Azure
 
Azure IoT Edge - EdgeAI #5
Azure IoT Edge - EdgeAI #5Azure IoT Edge - EdgeAI #5
Azure IoT Edge - EdgeAI #5
 
インフラ管理者に送る あらためての IoT Edge / IoT Hub
インフラ管理者に送る あらためての IoT Edge / IoT Hubインフラ管理者に送る あらためての IoT Edge / IoT Hub
インフラ管理者に送る あらためての IoT Edge / IoT Hub
 
Modernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft AzureModernization of IT Infrastructure by Microsoft Azure
Modernization of IT Infrastructure by Microsoft Azure
 
Intel OpenVINO、 NVIDIA Deepstream対応開発キットから、 エッジサーバー、Azure Data Box Edgeまで、 Az...
Intel OpenVINO、 NVIDIA Deepstream対応開発キットから、 エッジサーバー、Azure Data Box Edgeまで、 Az...Intel OpenVINO、 NVIDIA Deepstream対応開発キットから、 エッジサーバー、Azure Data Box Edgeまで、 Az...
Intel OpenVINO、 NVIDIA Deepstream対応開発キットから、 エッジサーバー、Azure Data Box Edgeまで、 Az...
 
Azure IoT 関連最新情報 (Microsoft Build 2020版)
Azure IoT 関連最新情報 (Microsoft Build 2020版)Azure IoT 関連最新情報 (Microsoft Build 2020版)
Azure IoT 関連最新情報 (Microsoft Build 2020版)
 
Microsoft Build 2020: Azure IoT 関連最新情報
Microsoft Build 2020: Azure IoT 関連最新情報Microsoft Build 2020: Azure IoT 関連最新情報
Microsoft Build 2020: Azure IoT 関連最新情報
 
IoT 導入を簡単に実現する“つなぐ”技術 ​~デンソーウェーブの IoT製品と Microsoft Azure 連携~
IoT 導入を簡単に実現する“つなぐ”技術 ​~デンソーウェーブの IoT製品と Microsoft Azure 連携~IoT 導入を簡単に実現する“つなぐ”技術 ​~デンソーウェーブの IoT製品と Microsoft Azure 連携~
IoT 導入を簡単に実現する“つなぐ”技術 ​~デンソーウェーブの IoT製品と Microsoft Azure 連携~
 
IoT アップデート​
IoT アップデート​	IoT アップデート​
IoT アップデート​
 
Microsoft AI Platform
Microsoft AI PlatformMicrosoft AI Platform
Microsoft AI Platform
 
enebular と Azure IoT で遠隔地にあるデバイスを扱う
enebular と Azure IoT で遠隔地にあるデバイスを扱うenebular と Azure IoT で遠隔地にあるデバイスを扱う
enebular と Azure IoT で遠隔地にあるデバイスを扱う
 
Edge AI ソリューションを支える Azure IoT サービス
Edge AI ソリューションを支える Azure IoT サービスEdge AI ソリューションを支える Azure IoT サービス
Edge AI ソリューションを支える Azure IoT サービス
 
Microsoft Intelligent Edge Technologies
Microsoft Intelligent Edge TechnologiesMicrosoft Intelligent Edge Technologies
Microsoft Intelligent Edge Technologies
 
[de:code 2019 振り返り Night!] IoT
[de:code 2019 振り返り Night!] IoT[de:code 2019 振り返り Night!] IoT
[de:code 2019 振り返り Night!] IoT
 
de:code 2018 一挙紹介! Azure が提供する IoT 系サービス
de:code 2018 一挙紹介! Azure が提供する IoT 系サービスde:code 2018 一挙紹介! Azure が提供する IoT 系サービス
de:code 2018 一挙紹介! Azure が提供する IoT 系サービス
 
Azure IoT Edge Deep Dive
Azure IoT Edge Deep DiveAzure IoT Edge Deep Dive
Azure IoT Edge Deep Dive
 
Azure IoT 最前線!~ Microsoft Ignite 2019での発表と直近アップデート総まとめ ~
Azure IoT 最前線!~ Microsoft Ignite 2019での発表と直近アップデート総まとめ ~Azure IoT 最前線!~ Microsoft Ignite 2019での発表と直近アップデート総まとめ ~
Azure IoT 最前線!~ Microsoft Ignite 2019での発表と直近アップデート総まとめ ~
 
【de:code19】最高のゲームをつくろう! マイクロソフト Game Stack でゲーム開発をしよう!
【de:code19】最高のゲームをつくろう! マイクロソフト Game Stack でゲーム開発をしよう!【de:code19】最高のゲームをつくろう! マイクロソフト Game Stack でゲーム開発をしよう!
【de:code19】最高のゲームをつくろう! マイクロソフト Game Stack でゲーム開発をしよう!
 
【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive
【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive
【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive
 

More from Atomu Hidaka

More from Atomu Hidaka (20)

How to use EnOcean Gateway with Azure OpenAI
How to use EnOcean Gateway with Azure OpenAIHow to use EnOcean Gateway with Azure OpenAI
How to use EnOcean Gateway with Azure OpenAI
 
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
 
Tips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO driversTips and Tricks for developing Windows APO drivers
Tips and Tricks for developing Windows APO drivers
 
Useful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPMUseful Tips and Tricks for Windows 11 TPM
Useful Tips and Tricks for Windows 11 TPM
 
Develop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilitiesDevelop Windows 11 drivers with GitHub Copilot's AI capabilities
Develop Windows 11 drivers with GitHub Copilot's AI capabilities
 
Windows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and TipsWindows 11 22H2 Feature-Update, Copilot, and Tips
Windows 11 22H2 Feature-Update, Copilot, and Tips
 
Windows 11 information that can be used at the development site
Windows 11 information that can be used at the development siteWindows 11 information that can be used at the development site
Windows 11 information that can be used at the development site
 
ChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean GatewayChatGPT solution with EnOcean Gateway
ChatGPT solution with EnOcean Gateway
 
Windows ChatGPT Bing AI
Windows ChatGPT Bing AIWindows ChatGPT Bing AI
Windows ChatGPT Bing AI
 
Windows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptxWindows ChatGPT Bing AI.pptx
Windows ChatGPT Bing AI.pptx
 
Music Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APOMusic Tech Community LT, Introducing Windows APO
Music Tech Community LT, Introducing Windows APO
 
LLILUM and TinyCLR OS
LLILUM and TinyCLR OSLLILUM and TinyCLR OS
LLILUM and TinyCLR OS
 
Introducing new features of EnOcean Gateway
Introducing new features of EnOcean GatewayIntroducing new features of EnOcean Gateway
Introducing new features of EnOcean Gateway
 
Windows 11 Overview
Windows 11 OverviewWindows 11 Overview
Windows 11 Overview
 
IoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptxIoT implemented in Windows 11.pptx
IoT implemented in Windows 11.pptx
 
How to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptxHow to use Windows 11 effectively.pptx
How to use Windows 11 effectively.pptx
 
Recent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptxRecent my activities in 2022 1Q.pptx
Recent my activities in 2022 1Q.pptx
 
My highlight topics_in_2021
My highlight topics_in_2021My highlight topics_in_2021
My highlight topics_in_2021
 
Windows 11 insider tips for developer
Windows 11 insider tips for developerWindows 11 insider tips for developer
Windows 11 insider tips for developer
 
Azure Skkynet datahub service
Azure Skkynet datahub serviceAzure Skkynet datahub service
Azure Skkynet datahub service
 

Recently uploaded

Recently uploaded (7)

Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 

Tips and tricks for Azure IoT system development