Demo: How I connected a 7+ IoT Starter Kit to Azure IoT with NO CODE
I was skeptical, but now stand corrected: you can connect an IoT Starter Kit designed for kids and beginners to Azure IoT Hub with no code, and it definitively is not that hard. See how that's done with the M5Go IoT Starter Kit from M5Stack, based on an ESP32 chip and using Blocky.
ERRATUM: In the video I am mentioning that you need to upload a root cert on the device to allow it to authenticate the IoT Hub server. This is incorrect. The step to upload a cert file is not necessary as the MQTT client bypasses the server authentication step under the hood. Just set SSL to True and you can skip directly from 17:52 to 19:18.
Learn more by reading the blog post at https://aka.ms/M5StackAzureIoTNoCodeBlog
00:00 Introduction, presentation of the M5Go IoT Starter Kit
01:58 UIFlow walkthrough
03:34 Flashing the firmware including Wifi settings
06:38 Get Device API Key and connect to UIFlow
07:51 Create User Interface for device
08:57 Connecting sensor and adding sensor Unit to UIFlow
09:35 Put together the app with Blocky, deploy and run on device
11:20 Add MQTT to Blocky app
13:00 Setup Azure IoT Explorer tool to connect to IoT Hub
13:53 Create new device
14:14 MQTT client configuration to connect to IoT Hub
17:44 SSL configuration - Discard the certificate file part, this is not required
19:18 Sending Telemetry to IoT Hub with MQTT Publish
22:03 Deploy and run app, monitor telemetry with IoT Explorer tool
22:49 Wrap up