readme

# 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.

<!-- Autogenerated start: Dependencies -->
### Dependencies
|                                           component                                          |  version |
|----------------------------------------------------------------------------------------------|----------|
|       [espressif/bh1750](https://components.espressif.com/components/espressif/bh1750)       |  ^1.0.0  |
|       [espressif/button](https://components.espressif.com/components/espressif/button)       |>=2.5,<4.0|
|[espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port)|    ^1    |
|       [espressif/fbm320](https://components.espressif.com/components/espressif/fbm320)       |  ^1.0.0  |
|       [espressif/hts221](https://components.espressif.com/components/espressif/hts221)       |  ^1.1.1  |
|      [espressif/mag3110](https://components.espressif.com/components/espressif/mag3110)      |  ^1.0.0  |
|      [espressif/mpu6050](https://components.espressif.com/components/espressif/mpu6050)      |  ^1.0.0  |
|                                              idf                                             |  >=4.4.5 |
|              [lvgl/lvgl](https://components.espressif.com/components/lvgl/lvgl)              |    ^8    |
<!-- Autogenerated end: Dependencies -->

readme of display_sensors example

                                        
                                        # 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.

<a href="https://espressif.github.io/esp-launchpad/?flashConfigURL=https://espressif.github.io/esp-bsp/config.toml&app=display_sensors">
    <img alt="Try it with ESP Launchpad" src="https://espressif.github.io/esp-launchpad/assets/try_with_launchpad.png" width="250" height="70">
</a>

                                    

readme of mqtt_example example

                                        
                                        # 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.

                                    

Links

Target

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/esp32_azure_iot_kit^2.0.1"

or download archive

Dependencies

  • espressif/bh1750 ^1.0.0
  • espressif/button >=2.5,<4.0
  • espressif/esp_lvgl_port ^1
  • espressif/fbm320 ^1.0.0
  • espressif/hts221 ^1.1.1
  • ESP-IDF >=4.4.5
  • lvgl/lvgl ^8
  • espressif/mag3110 ^1.0.0
  • espressif/mpu6050 ^1.0.0
  • Examples:

    display_sensors

    more details

    mqtt_example

    more details

    Stats

    • Downloaded in total
      Downloaded in total 369 times
    • Downloaded this version
      This version: 0 times

    Badge

    espressif/esp32_azure_iot_kit version: 2.0.1 |