Skip to content

Complete nanoFramework Azure MQTT sample using BMP280 barometric pressure sensor with Azure IoT SDK Library

License

Notifications You must be signed in to change notification settings

tdjastrzebski/ESP32_AZURE

Repository files navigation

ESP32-DevKitC Azure MQTT sample using BMP280 barometric pressure sensor and nanoFramework Azure IoT SDK Library

This example demonstrates how to use the Azure IoT SDK library and BMP280 pressure sensor.

Note:

  1. This example is configured for ESP32 but can be easily reconfigured for any nanoFramework-supported board with WiFi and I2C bus.
  2. Before building, rename Config_template to Config and provide the required setting values.
  3. BMP280 sensor on the picture has non-standard pinout. Typical pinout is: black GND, red Vcc, yellow TX/SDA, white RX/SCL

Prerequisites

  • Visual Studio 2022 with nanoFramework extension
  • nanoFramework-supported board with WiFi and I2C bus

Board preparation

From command prompt execute:

  • dotnet tool install -g nanoff
  • nanoff --platform esp32 --serialport COM7 --update (replace COM7 with your com port)

For more info and instructions on how to prepare other boards refer to: nanoframework - getting started

Source Code

https://github.com/tdjastrzebski/ESP32_AZURE

References

About

Complete nanoFramework Azure MQTT sample using BMP280 barometric pressure sensor with Azure IoT SDK Library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages