on
2022-09-05
2:29 AM
- edited on
2025-11-26
6:19 AM
by
Laurids_PETERSE
Simple tutorial to connect the B-U585I-IOT20A Development kit to Azure IoT Hub.Introduction:
In this article, we connect the B-U5U5I-IOT20A discovery board to Azure IoT Hub. IoT Hub is a cloud-hosted application that allows you to communicate with your IoT devices, understand their state and keep them up to date.
The B-U5U5I-IOT20A discovery board is a IoT development board composed of a low power microcontroller, a Wi-Fi Radio, and sensors such as temperature and humidity, a magnetometer, accelerometer, gyroscope, pressure, Time-of-Flight, and gesture-detection.
Requirements
General requirements:
Hardware requirements:
Software requirements (Installed via Quick Setup Script):
|
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
|
|
cd C:\STM32CubeExpansion_Cloud_AZURE_V2.2.0\Projects\B-U585I-IOT02A\Applications\TFM_Azure_IoT\AzureScripts\STM32U5_AZURE_QuickSetup
|
|
Rename-Item .\STM32U5_AZURE_QuickSetup.ps1.txt .\STM32U5_AZURE_QuickSetup.ps1
|
|
.\STM32U5_AZURE_QuickSetup.ps1
|
|
cd C:\STM32CubeExpansion_Cloud_AZURE_V2.2.0\Projects\B-U585I-IOT02A\Applications\TFM_Azure_IoT\AzureScripts
|
|
Python .\STM32U5_AZ_IotHub_QC.py -i
|