Air Analyzer, Using Almost All Kinds of MQ Sensors

An air monitor that can measure CO, CO2, H2, CH4, NH3, Alcohol, Bangene, Acetone, Hexane, Toluene, Smoke and Flammable gas concentration.

Jul 9, 2021

•

39708 views

•

23 respects

Components and supplies

1

MQ8 Gas sensor

1

MQ7 Gas sensor

1

MQ4 Gas sensor

1

I2C 16x2 Arduino LCD Display Module

1

MQ9 Gas sensor

1

MQ135 Gas sensor

1

MQ3 Gas sensor

1

Arduino Nano R3

Tools and machines

1

Breadboard, 830 Tie Points

Apps and platforms

1

Arduino IDE

Project description

Code

air_analyser code

arduino

Downloadable files

air analyser_scm

air analyser_scm

air analyser_scm

air analyser_scm

Comments

Only logged in users can leave comments

christophera

4 months ago

I'm new to all this. When I compile I get the following errors: C:\Users\Chris\Documents\Arduino\sketch_aug14a\sketch_aug14a.ino: In function 'void setup()': C:\Users\Chris\Documents\Arduino\sketch_aug14a\sketch_aug14a.ino:50:13: error: no matching function for call to 'LiquidCrystal_I2C::begin()' lcd.begin(); ^ In file included from C:\Users\Chris \Documents\Arduino\sketch_aug14a\sketch_aug14a.ino:10:0: C:\Users\Chris\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate: void LiquidCrystal_I2C::begin(uint8_t, uint8_t, uint8_t) void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS ); ^~~~~ C:\Users\Chris\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate expects 3 arguments, 0 provided exit status 1 Compilation error: no matching function for call to 'LiquidCrystal_I2C::begin()'

christophera

4 months ago

I'm pretty new to all this. I added the required libraries and when I compile I get a whole slew of errors. Any advice would be appreciated. C:\Users\Chris\Documents\Arduino\sketch_aug14a\sketch_aug14a.ino: In function 'void setup()': C:\Users\Chris\Documents\Arduino\sketch_aug14a\sketch_aug14a.ino:50:13: error: no matching function for call to 'LiquidCrystal_I2C::begin()' lcd.begin(); ^ In file included from C:\Users\Chris \Documents\Arduino\sketch_aug14a\sketch_aug14a.ino:10:0: C:\Users\Chris\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate: void LiquidCrystal_I2C::begin(uint8_t, uint8_t, uint8_t) void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS ); ^~~~~ C:\Users\Chris\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate expects 3 arguments, 0 provided exit status 1 Compilation error: no matching function for call to 'LiquidCrystal_I2C::begin()'

baczako1970

a year ago

Hi Abid. This is a great project. Congratulations. My question is, can this project be freely used and further developed? email: baczako1970@gmail.com THX

jmotsay

2 years ago

Here is a simple stand I made for this! https://www.thingiverse.com/thing:5864959

sazin_samin

2 years ago

Great project. You can combine your previous project with this.

Anonymous user

2 years ago

Can i see your breadboard pattern?

Anonymous user

2 years ago

Hi, Very cool project. I have been trying to get this to work. How do manage power requirements? - In parallel circuits voltate is the same for each component, but what about current?? - Wouldn't this change in current mess up readings? Thank You!

Anonymous user

2 years ago

Very nice project.I I think I can implement it so that it can measure the presence of 2 or more gasses simultaneously. I'll come back to you after examining the various MQ specs. by the way, my daughter works in Dhaka almost 3 years now

abid_hossain

2 years ago

Thank you. 💜

Anonymous user

2 years ago

Can i add mq136 to this?

Anonymous user

2 years ago

How can I set the sensor?. Values ​​are not correct

abid_hossain

2 years ago

you need to calibrate them.

koutradoros

2 years ago

hello , thank you for sharing this project . i have been working on it , but i got an error message, on arduino IDE , as it cannot find matching function for call to Liquid crystal_l2C. I install a bunch of libraries reffering to Liquid Crystal_l2C , including the one on your description , but it is not working. Any advice ?

Anonymous user

2 years ago

Hello , I really liked this project and did try to do it by myself .But the output is not appearing in the Serial Monitor and on the LCD too .Can you help please (I'm using Mega 2560 Arduino and the same code )

Anonymous user

2 years ago

Hi! Do you have a TinkerCad or SimuIIDE version of your schematics? I would like to experiment on your project.

Anonymous user

2 years ago

This is a Great project. I´m working in something similar to get it into a tank with biowaste. I Just realized I forgot some way to see the measurements the sensors are sending. Cr4p. LOL. :/

smith3950

2 years ago

Great project. I am going to use oled .9" screen and rotary encoder for options

Anonymous user

3 years ago

Can i see your breadboard pattern?

Anonymous user

3 years ago

Hi, Very cool project. I have been trying to get this to work. How do manage power requirements? - In parallel circuits voltate is the same for each component, but what about current?? - Wouldn't this change in current mess up readings? Thank You!

Anonymous user

3 years ago

Can i add mq136 to this?

Anonymous user

3 years ago

How can I set the sensor?. Values ​​are not correct

abid_hossain

2 years ago

you need to calibrate them.

Anonymous user

3 years ago

Very nice project.I I think I can implement it so that it can measure the presence of 2 or more gasses simultaneously. I'll come back to you after examining the various MQ specs. by the way, my daughter works in Dhaka almost 3 years now

abid_hossain

2 years ago

Thank you. 💜

sazin_samin

3 years ago

Great project. You can combine your previous project with this.