STM32U5 Azure Out Of the Box Experience (OOBE) is the fastest way to get your B-U585I-IOT02A Discovery Kit up and running with Azure IoT Central and Plug and Play. This demonstration reduces software requirements, configuration steps, and start-up time to show how easy it is to leverage IoT solutions with STM32 microcontrollers and Azure IoT.
Goal: Connect the B-U585I-IOT02A Discovery Kit to a free Azure IoT Central Application and publish sensor data (as seen below) within a matter of minutes
- Micro-USB Cable
-
Click the Quick Connect Application Template and login with a valid Microsoft account (no subscription required)
-
After choosing a unique Application name, URL, and Pricing plan click ‘Create’
- In the menu on the left select ‘Devices’
- Select ‘New’ to add a new device
-
Enter a unique ‘Device name’ and ‘Device ID’
-
Choose ‘B-U585I-IOT02A IoT Node 2 discovery kit.’ as the Device Template.
-
Make sure ‘Simulate this device’ is not selected
-
And select ‘Create’
- Your new device should now populate in the devices tab
- Click on the ‘Device Name’ of the device you want to connect to
- Click ‘Connect’
- Here you can view all the required device Connection Credentials
- In File Explorer Navigate to STM32U5_Azure_QuickConnect and open Config.txt
-
Enter the Wi-Fi SSID and Password for your 2.4Ghz network
-
Copy and Paste the ID Scope, Device ID, and Primary Key into this file and save.
- Connect your Discovery Kit using the Micro-USB cable as pictured below
- Ensure that you downloaded the correct STM32U5_Azure_QuickConnect package for your operating system above and run the STM32U5_AZURE_QuickConnect.exe
- Script logs can be seen in the window:
- Navigate back to your device in your central application and you can see a summary of the incoming data
- Under ‘Raw data’ specific MQTT messages can be viewed