Mark-Walen / bsec-bme680-esp32s3

This is basic IAQ appilcation of bme680 for esp32s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSEC IAQ Application for ESP32-S3

This project is an implementation of an Indoor Air Quality (IAQ) application using the Bosch Sensortec Environmental Cluster (BSEC) library on the ESP32-S3 microcontroller.

Table of Contents

Introduction

This project combines the power of the BSEC library for accurate IAQ monitoring with the flexibility of MQTT for seamless data communication. Monitor and share IAQ data across devices using the ESP32-S3 microcontroller.

Prerequisites

Installation

Step-by-step instructions on how to install and set up your project using Visual Studio Code and the Espressif IDF Plugin.

  1. Install Visual Studio Code from https://code.visualstudio.com/.
  2. Set up the software development environment for the hardware based on the ESP32-S3 chip.
  3. Install the Espressif IDF Plugin from the Extensions sidebar.
  4. Clone the repository: git clone https://github.com/Mark-Walen/bsec-bme680-esp32s3 --recursive .
  5. Open the project in Visual Studio Code.
  6. Remove sdkconfig which is auto generated by the Espressif IDF Plugin when select device target.
  7. Build and flash the code to your ESP32-S3.

Usage

  1. Connect the ESP32-S3 to your computer.
  2. Open the Serial Monitor in Visual Studio Code.
  3. Monitor the IAQ values and other relevant data from the BME680 sensor.
  4. Set up an MQTT broker to receive and publish IAQ data.
  5. Configure MQTT parameters in the code.
  6. Observe data being transmitted via MQTT.

Configuration

image-20231226170550136

Use ESP-IDF Terminal to config:

  • WiFi SSID.
  • WiFi Password.
  • MQTT Broker URI.
  • BSEC IAQ Configuration.
    • bme680_iaq_33v_3s_4d (default)
    • bme680_iaq_33v_300s_4d
idf.py menuconfig # Select BME680 Configuration

TODO

  • Use MQTTs
  • Auto reconnection after WiFi diconnect

Contributing

Provide guidelines for others who want to contribute to your project using Visual Studio Code, the Espressif IDF Plugin, MQTT, the BME680 sensor, and the submodule dependency.

  1. Fork the project.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is basic IAQ appilcation of bme680 for esp32s3

License:MIT License


Languages

Language:C 98.0%Language:CMake 0.9%Language:Dockerfile 0.7%Language:Python 0.3%