Skip to content

Air Quality Monitoring using MQ135, DHT-11 and ESP32 with OLED Display

License

Notifications You must be signed in to change notification settings

maaz-siddiqui/ESP32_MQ-135_SH1106

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Air-Quality Monitoring

Air Quality Monitoring Using MQ135 Sensor and DHT-11.
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact

About The Project

alt text

Air Quality monitoring system using ESP32. Diplsay used is OLED Display with Air Quality Sensor MQ135 and DHT-11.

Monitors :

  • Carbon Dioxide CO2
  • Ammonia NH4
  • Temperature
  • Humidity

(back to top)

Built With

This section should list components required to get started:

Software

  • Arduino

Hardware

  • ESP32 Dev Module
  • MQ-135 Module
  • SH1106 OLED i2c 128x64
  • DHT-11 Module

(back to top)

Getting Started

Install libraries provided manually as MQunifiedsensor library is modified. Set pin A0 of MQ135 to ADC pin of ESP32. Setup SH1106 pin of SDA SCL with ESP32 SDA SCL. Select appropriate board and port.

Installation

Use the Library manager to install :

#include <MQUnifiedsensor.h>
#include "SH1106Wire.h"
#include <Wire.h>
#include "DHTesp.h"
#include <Ticker.h>

Setup

#define board ("ESP-32")
#define Voltage_Resolution 3.3
#define pin 15 //Analog input 0 of your arduino
#define type "MQ-135" //MQ135
#define ADC_Bit_Resolution 12 // For arduino UNO/MEGA/NANO
#define RatioMQ135CleanAir 3.6//RS / R0 = 3.6 ppm  

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Maaz Siddiqui - [email protected]

Project Link: ESP32_MQ-135_SH1106

(back to top)