--- tags: IoT Center --- # 【物聯網技術捷運】 ## 【物聯網線 01】IoT 序曲:一窺微軟物聯網平臺  * https://iotschool.microsoft.com/en-us/home ## 【物聯網線 02】快速找到合用的物聯網設備: Azure IoT 認證裝置目錄 * https://catalog.azureiotsolutions.com/ ## 【物聯網線 03】事半功倍的專案利器:物聯網解決方案加速器 1. 遠端監控 2. 解決方案壓力測試 3. 打造工業 4.0 工廠 4. 預測性維修 *  *  ## 【物聯網線 04】IoT Saas 解決方案 – Azure IoT Central   * 將 MXChip IoT DevKit 裝置連線到您的 Azure IoT Central 應用程式 * https://docs.microsoft.com/en-us/azure/iot-central/howto-connect-devkit ## 【物聯網線 05】不可不知的裝置連網秘訣(1):裝置管理面面觀 * IoT Hub是一個雲端gateway,除了負責收資料還可以,還有很多其他功能,這邊是介紹裝置管理的部分 ### 物聯網裝置管理可以分為5個階段: * Plan * 建立每個device的metadata * Provision * 部件裝置時需要是安全且經過認證的 * Configure * 動態設定 * Monitor * 了解每個device的狀態 * Retire * 如何安全把裝置淘汰 ### 微軟IoT Hub device management *  * device twin *  ### **[DEMO]** 如何透過sdk,從cloud去發動更改device twin中的設定以及去invoke一些method 1. 創建iot hub 2. 新增iot devices 3. 下載sample code(https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/master/iot-hub/Samples/device 4. 把device的connection string貼到code中去run code 5. 一開始會得到device twin當中reported的值 6. device twin其實就是一個json的格式 * properties中有desired和reported 7. 將desired中的threshold值從80改成100(在portal中手動改的),就可以看到device的模擬器收到通知說甚麼值改變成多少了,還會去report說最後一次收到desired值改變的時間 8. demo method * portal裡面device中有一個direct method可以設定 ### Jobs and Query機制 * Query:找到你要找的device,查看裡面的值 * Jobs: 採取行動,可broadcast ### Automatic Device Management *  ### Demo-對某三個裝置做firmware update * https://github.com/Azure-Samples/azure-iot-samples-node/tree/master/iot-hub/Tutorials/FirmwareUpdate * portal中有iot device management * iot device configuration * 新增新的configuration * 它會新增一個新的設定檔 * 可以設定system metrics ## 【物聯網線 06】不可不知的裝置連網秘訣(2):利用裝置佈建服務(Device Provisioning Service)(DPS)簡化裝置的註冊程序 * device如何知道自己要連到哪個iot hub * simple "plug and play" provisioning * minimize manual connection requirements * enhanced security through HSM * global availability * demo-如何透過DPS做到zero-touch的provision * scenario:在東美建VM,當他開起來的時候希望它是連到東美的iot hub,達到減少latency的效果 * https://github.com/Azure-Samples/azure-iot-samples-csharp/tree/master/provisioning/Samples/device/X509Sample *  * 最後他會根據連到哪一個地方的網路的latency是最低的就自動provision到哪裏 ## 【物聯網線 07】運用IoT Edge為企業物聯網帶來更多加值應用 * 邊緣裝置:所有具備運算能力的裝置 *  *  * 部署iot edge的流程 * 在Azure iot hub有很多功能,如Machine Learning,Cognitive Services,Event Grid,Functions,Stream Analytics,SQl Server等。這些功能被打包成一個容器(利用docker container) * 然後會把容器放到Azure Container Registry * 使用者可以在雲端上自定義自己的部署(Azure iot hub上的deployment manifest) * 這個自定義的部署(deployment manifest)會下到edge device的上面 * edge device會根據自定義的部署知道說要從雲端載入哪些打包好的容器(Azure Container Registry中) ## 【物聯網線 08】簡化工業裝置的聯網利器:Azure IoT + OPC UA * PLC走在不同的通訊協定上 * OPC UA:unified architecture統一架構 * 一些PLC有內建OPC UA Server *  * IoT Edge with OPC Proxy & OPC Publisher Modules * 工廠中gateway,在他們的作業系統內會裝微軟提供的OPC UA的服務如OPC Proxy&OPC Publisher * OPC Publisher可以訂閱OPC UA Server的資料節點 * OPC Proxy可以雙向控制 * 兩個都有支援IoT edge的架構 * demo * 確認所有裝置彼此連線狀態 * 在雲端部署CF * 透過iot edge部署publisher和proxy到裝置端 * 到iot hub中的iot edge去建iot edge device然後去設定publisher和proxy兩個module * 遠端進裝置(gateway,windows)裝好iot edge runtime * 透過CF從雲端跟OPC UA Server做資料的連線 * 輸入OPC UA Server的url(位址)然後點connect做連線 ## 【物聯網線 10】一日Maker:使用MXChip開發板快速體驗物聯網應用
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up