Board support package consists of:
Please refer to specific README.md files in in examples folder.
This example collects data from sensor and publishes them to configured MQTT server.
In idf.py menuconfig
-> Example configuration, please configure your WiFi SSID and password and MQTT broker URL.
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.
This is an example usage of Azure-IoT-Kit board.
All sensors are sampled and results are shown on OLED display. User can switch between pages by pressing KEY_IO0 button.
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.
On every press of KEY_IO0 button, the buzzer beeps and AZURE LED blinks.
If a uSD card is successfully mounted a hello.txt file is created and WIFI LED is turned on.
Copy to Clipboard
idf.py add-dependency "espressif/esp32_azure_iot_kit^1.0.3"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp32_azure_iot_kit^1.0.3:mqtt_example"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp32_azure_iot_kit^1.0.3:sensors_example"
Copy to Clipboard
Copy to Clipboard