Connect ESP32 to Azure Iot Hub using MicroPython
This post documents necessary steps to connect an ESP32-DevKitC kit to Azure Iot Hub using MicroPython and the MQTT protocol. I am going to use the latest firmware released from MicroPython downloads.
Dependencies This project requires the following MicroPython dependencies:
MicroPython’s asynchronous scheduling library micropython-uasyncio. A simple MQTT client for MicroPython micropython-umqtt.simple. CPython urllib.parse module ported to MicroPython micropython-urllib.parse. CPython hmac module ported to MicroPython micropython-hmac. It is very simple to download and install dependencies through MicroPython’s upip package manager.