Arduino And MQ2 Gas Sensor

The Grove Gas Sensor (MQ2) module is useful for gas leakage detection (home and industry). It is suitable for detecting H2, LPG, CH4 and CO.

Mar 16, 2018

104257 views

17 respects

Components and supplies

1

Arduino UNO

1

MQ 2 Gas Sensor

1

USB Cable 2.0 Type A/B for Arduino Uno

1

Breadboard

1

Jumper Wires

1

Prototype Expansion Board for Arduino Uno

Project description

Code

Arduino Code

arduino

https://plus.google.com/u/0/+MahamudulKarimKhondaker/posts/HYGPcEFVdBe

Arduino Code

arduino

https://plus.google.com/u/0/+MahamudulKarimKhondaker/posts/HYGPcEFVdBe

Downloadable files

twig-gas_sensor_Ulm3DfPvdT.bmp

twig-gas_sensor_Ulm3DfPvdT.bmp

Comments

Only logged in users can leave comments

daveruvolo

19 days ago

This is great. I do have a question. I started this on an Uno and had no issues. I moved to a Nano ESP32 and my readings are constantly "LPG:2147483647ppm CO:2147483647ppm SMOKE:2147483647ppm" now. I played with the load resistance variable but it didn't seem to have any effect. Any ideas?

dhuha_jasseb33

2 months ago

THANK YOU

Anonymous user

2 years ago

pregunta como su puede poner una alarma sonora en este modelo ademas de la pantalla y por favor si pueden poner el jpg de como va todo armado por que en video me pierdo y no me funciona como muestra el video falta mas datos

Anonymous user

2 years ago

This project is REALLY great. Super detailed. But I have a question regarding the LCD1602 Module. How do you get it to stop flashing? I used the code and everything. Thank you! You are AWESOME! BTW- You are very smart.

Anonymous user

2 years ago

Hi i would like to ask if the mq 2 can detect smoke and gas which triggers different operations and will not contadict each other????

Anonymous user

2 years ago

hello , IF i want to use the SIM800A for the messages alarm instead of showing the info on LCD screen, what should i do ??? help me please.

Anonymous user

2 years ago

hello dear, can i change MQ2 to MQ5 , it code works , my last project stuck on code function to calibrate , thanks before

m_karim02

2 years ago

welcome

Anonymous user

2 years ago

Thanks for the project!

Anonymous user

2 years ago

But how I can define the RL_VALUE?

m_karim02

2 years ago

watch my video tutorial

Ouahoudi

2 years ago

measure resistance between A0 and GND

Anonymous user

2 years ago

Hi! When i uploaded this sketch i was getting zero values for all..lpg,co and smoke even the sensor was introducedto smoke.can someone help me to get the correct values please?

alfamorgenstern

4 years ago

Thanks for the project!

Anonymous user

4 years ago

This project is REALLY great. Super detailed. But I have a question regarding the LCD1602 Module. How do you get it to stop flashing? I used the code and everything. Thank you! You are AWESOME! BTW- You are very smart.

Anonymous user

4 years ago

pregunta como su puede poner una alarma sonora en este modelo ademas de la pantalla y por favor si pueden poner el jpg de como va todo armado por que en video me pierdo y no me funciona como muestra el video falta mas datos

Anonymous user

5 years ago

hello , IF i want to use the SIM800A for the messages alarm instead of showing the info on LCD screen, what should i do ??? help me please.

Princechristie

5 years ago

Hi! When i uploaded this sketch i was getting zero values for all..lpg,co and smoke even the sensor was introducedto smoke.can someone help me to get the correct values please?

Anonymous user

6 years ago

Hi i would like to ask if the mq 2 can detect smoke and gas which triggers different operations and will not contadict each other????

Anonymous user

6 years ago

But how I can define the RL_VALUE?

m_karim02

2 years ago

watch my video tutorial

Anonymous user

7 years ago

hello dear, can i change MQ2 to MQ5 , it code works , my last project stuck on code function to calibrate , thanks before

m_karim02

2 years ago

welcome

Anonymous user

7 years ago

YOU ARE GREAT, KEEP IT UP. VERY USEFUL IN INDUSTRIES, HOTELS, AND RESIDENTIAL AREA.

m_karim02

2 years ago

Thank you dear