GitHunt
MA

marierigal/air-quality-monitor-arduino

Arduino project to monitor shop air quality

Air Quality Monitor

This Arduino project read data from BM68x sensor and use BSEC library to get IAQ (Indoor Air Quality) data.

Hardware

Software

Please note that you can include the Arduino_MKRIoTCarrier library to have a unified object for accessing the peripherals of the carrier.

Wiring

MKR IoT Carrier

Connect the MKR WiFi 1010 to the MKR IoT Carrier.

BME688

Connect the BME688 sensor to the Arduino board using the I2C interface.

BME688 I2C
VCC 3.3V
GND GND
SCL / SCK A5 (SCL)
ADDR / MISO GND
SDA / MOSI A4 (SDA)
CS -

Please note that the ADDR pin is used to select the I2C address of the sensor. If ADDR is connected to GND, the address is 0x76, 0x77 otherwise.

Usage

This project is configured to work with PlatformIO. You can use the platformio.ini file to configure the project settings.

  1. Open the project in PlatformIO.
  2. Install the required libraries.
  3. Build and upload the project to the Arduino board.

Please note that you need to configure the bsec_iaq.config file with the correct sensor settings. You can use the BSEC integration guide to generate the configuration file.

TODO

  • Save and load sensor configuration on SD card
  • Display IAQ data on TFT display
  • Use touch buttons to interact with the display
  • Use relay to control air purifier

Languages

C++86.8%C8.2%Shell5.0%

Contributors

Created August 21, 2024
Updated August 29, 2024