page_type | description | languages | products | |||||
---|---|---|---|---|---|---|---|---|
sample |
Connect an MXCHIP AZ3166 to Azure IoT using Azure RTOS |
|
|
The Quickstart button above provides the complete steps for creating an IoT Hub application and then configuring, building and flashing the device.
For guidance on connecting additional devices, see Getting started with IoT device development.
- The MXCHIP AZ3166 IoT DevKit
- Wi-Fi 2.4 GHz
- USB 2.0 A male to Micro USB male cable
-
Recursively clone the repository:
git clone --recursive https://github.com/azure-rtos/getting-started.git
-
Install the development tools:
getting-started\tools\get-toolchain.bat
-
Add Wi-Fi and Azure IoT configuration to the config file:
getting-started\MXChip\AZ3166\app\azure_config.h
-
Build the binary image:
getting-started\MXChip\AZ3166\tools\rebuild.bat
-
Flash the image to the device by copying the image file to the AZ3166 drive:
getting-started\MXChip\AZ3166\build\app\mxchip_azure_iot.bin
-
Configure a serial port app at baud rate 115,200 to monitor the device output.