Air Quality Check with Arduino Uno

Air Quality Check with Arduino Uno © Apache-2.0

Air quality check with Arduino Uno with the help of MQ135 air quality.

  • 18,431 views
  • 2 comments
  • 41 respects

Components and supplies

Apps and online services

About this project

Air quality check with Arduino Uno with the help of MQ135 Air Quality sensor. It is very useful in finding air quality. Arrange the components as shown in the schematics. Upload the code!

You can open up the serial monitor of Arduino for finding air quality as shown below:

When the air quality decreases, its value increases.

Code

codeArduino
upload it!!
int airquality = 0;
void setup()
{
  Serial.begin(9600);

}
void loop()
{

  int sensorValue = analogRead(A0);
  Serial.print("Air Quality = ");
  Serial.print(sensorValue);

  Serial.print("*PPM");
  Serial.println();
  delay(1000);



}

Schematics

hacs_18Pf3FWppp.jpg
Hacs 18pf3fwppp

Comments

Add projectSign up / Login