# BSP: ESP32-Azure-IoT-Kit [![Component Registry](https://components.espressif.com/components/espressif/esp32_azure_iot_kit/badge.svg)](https://components.espressif.com/components/espressif/esp32_azure_iot_kit) Board support package consists of: * uSD card interface * I2C interface * LEDs, button and buzzer interface * Sensors software components: MAG3110, HTS221, BH1750, FBM320 and MPU6050 * Display software component: SSD1306 ## Example Please refer to specific README.md files in in examples folder.
| Supported Boards | Azure IoT kit | | ---------------- | ------------- | # BSP: MQTT Example This example collects data from sensor and publishes them to configured MQTT server. ## Configuration In `idf.py menuconfig` -> Example configuration, please configure your WiFi SSID and password and MQTT broker URL. ## Operation Application collects sensor data of ambient temperature, humidity, luminescence and pressure. After successful connection to MQTT sensor, both LEDs are turned on and data are periodically published to MQTT and shown on display.
| Supported Boards | Azure IoT kit | | ---------------- | ------------- | # BSP: Sensors Example This is an example usage of Azure-IoT-Kit board. ## Sensors All sensors are sampled and results are shown on OLED display. User can switch between pages by pressing KEY_IO0 button. ### Magnetometer calibration At the start of the program, magnetometer calibration is performed for 10 seconds. Turn the board in every axis during this time to achieve best magnetometer results. ## LED and buzzer On every press of KEY_IO0 button, the buzzer beeps and AZURE LED blinks. ## uSD card If a uSD card is successfully mounted a hello.txt file is created and WIFI LED is turned on.
idf.py add-dependency "espressif/esp32_azure_iot_kit^1.0.2"
To create a project from this example, run:
idf.py create-project-from-example "espressif/esp32_azure_iot_kit^1.0.2:mqtt_example"
To create a project from this example, run:
idf.py create-project-from-example "espressif/esp32_azure_iot_kit^1.0.2:sensors_example"