Skip to content

Latest commit

 

History

History
103 lines (54 loc) · 5.18 KB

README.md

File metadata and controls

103 lines (54 loc) · 5.18 KB

STM32U5 Azure Out Of the Box Experience

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

rtaImage

1. Software Requirements

2. Hardware Requirements

2

  • Micro-USB Cable

3

3. Create an Azure IoT Central Application

  • 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’

4

4. Add a Device to the Central Application

  • In the menu on the left select ‘Devices’

5

  • Select ‘New’ to add a new device

6

  • 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’

7

  • Your new device should now populate in the devices tab

8

5. Collect Connection Credentials

  • Click on the ‘Device Name’ of the device you want to connect to

9

  • Click ‘Connect’

10

  • Here you can view all the required device Connection Credentials

11

  • In File Explorer Navigate to STM32U5_Azure_QuickConnect and open Config.txt

12

  • 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.

13

6. Run Quick Connect Executable

  • Connect your Discovery Kit using the Micro-USB cable as pictured below

14

  • Ensure that you downloaded the correct STM32U5_Azure_QuickConnect package for your operating system above and run the STM32U5_AZURE_QuickConnect.exe

15

  • Script logs can be seen in the window:

16

8. Monitor Device Activity

  • Navigate back to your device in your central application and you can see a summary of the incoming data

17

  • Under ‘Raw data’ specific MQTT messages can be viewed

18