GithubHelp home page GithubHelp logo

r1shabhraj / air-quality-monitoring-system-using-thingspeak Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

This project uses an WiFi enabled board, a DHT11 sensor, an MQ135 sensor, and an LCD display to monitor the air quality and send the data to ThingSpeak.

C++ 100.00%

air-quality-monitoring-system-using-thingspeak's Introduction

Air Quality Monitor System

This project uses an WiFi enabled board, a DHT11 sensor, an MQ135 sensor, and an LCD display to monitor the air quality and send the data to ThingSpeak.

Hardware Requirements

  • WiFi enabled board (ESP8266 or NodeMCU)
  • DHT11 sensor (for temperature and humidity)
  • MQ135 sensor (for air quality index)
  • LCD display (16x2 with I2C interface)
  • Breadboard and jumper wires

Software Requirements

  • Arduino IDE
  • DHT library
  • LiquidCrystal_I2C library
  • WiFi library
  • ThingSpeak library

Code Explanation

The code for this project is divided into four sections:

  • Include libraries: This section includes the necessary libraries for the project, such as DHT, LiquidCrystal_I2C, WiFi, and ThingSpeak.
  • Define constants: This section defines the constants for the project, such as the pin numbers, the WiFi credentials, the ThingSpeak channel ID and API key, and the DHT type.
  • Setup function: This section initializes the LCD display, the WiFi connection, the ThingSpeak client, the DHT sensor, and the serial monitor. It also displays a welcome message on the LCD.
  • Loop function: This section reads the temperature, humidity, and air quality values from the sensors and sends them to ThingSpeak. It also displays the air quality status on the LCD based on the MQ135 reading.

How to Use

To use this project, follow these steps:

  1. Connect the hardware components according to the circuit diagram.
  2. Install the required libraries in your Arduino IDE.
  3. Modify the code with your own WiFi credentials, ThingSpeak channel ID and API key.
  4. Upload the code to your Arduino board.
  5. Open the serial monitor to view the sensor readings.
  6. Open your ThingSpeak channel to view the data online.

air-quality-monitoring-system-using-thingspeak's People

Contributors

r1shabhraj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.