How does work MQ2 sensor - MQ2 sensor with Arduino UNO [Code and circuit diagram]

  Рет қаралды 82,465

SriTu Hobby

SriTu Hobby

Күн бұрын

Hello guys, This video includes how to use the MQ2 sensor with the Arduino UNO board. Also, this MQ2 sensor tutorial is presented step by step
OK enjoy it now.
Short and sweet tutorial.Only from SriTu tech. If you think this video is good, don't forget to like and comment.
How does work MQ2 sensor - MQ2 sensor with Arduino UNO [Code and circuit diagram]
• How does work MQ2 sens...
MQ2 Sensor
***Names of components.
***step by step.
***With code.
Subscribe to more videos --- / sritutech_sritu_hobby
Website for more tutorial --- www.srituhobby...
Android app for more tutorial --- bit.ly/3GWcmmD
Our store with the best prices
========================================
srituhobby.com...
========================================
( Source code and circuit diagram )
=========================================
Website -- bit.ly/2RGi5aU
Android app -- bit.ly/3GWcmmD
=========================================
Part's List (Our store -- SriTu Hobby)
==========================================
1.Arduino Uno x 1 --- bit.ly/41RMh1o
2.MQ - 2 sensor x 1 --- bit.ly/4465gGw
3.LCD display x 1 --- bit.ly/40u3pcO
4.I2C module x 1 --- bit.ly/3oDXtjV
5.Jumper Wires --- bit.ly/43V7gSR
6.Breadboard x 1 ---- bit.ly/3NaJ1uh
==========================================
Parts List (Amazon)
==========================================
1.Arduino Uno x 1 --- amzn.to/3hnMhPj
2.MQ - 2 sensor x 1 --- amzn.to/3nL8wCO
3.LCD display x 1 --- amzn.to/3isdBgz
4.I2C module x 1 --- amzn.to/3hqY5jC
5.Jumper Wires ---- amzn.to/2RjTt4e
6.Breadboard x 1 ---- amzn.to/35rdMVE
=========================================
( Social media links )
==========================================
Facebook-------- / srituhobby
Twitter------------- / sritu_hobby
Instagram------- / sritu_hobby
Pinterest--------- / sritu_hobby
Tiktok------------- / sritu_hobby
Reddit------------- / sritu_tech
Linkedin----------- / sritu-hobby
Snapchat-------- / srituhobby
Threads---------www.threads.ne...
==========================================
Thanks for watching......................
If you learned something in this video,
**Like.
**Share.
**Subscribe.
What do you think? please comment below.
#SriTu_Tech_arduino #MQ2 #Arduino_uno

Пікірлер: 135
@karthikgamers7069
@karthikgamers7069 Жыл бұрын
Your are only the one who I can trust for project codes and making them
@asmaajr194
@asmaajr194 Жыл бұрын
Could u give me the whole cod of this project?
@Wawan_Setiaw4n_Robotik
@Wawan_Setiaw4n_Robotik Жыл бұрын
Alhamulillah...dapet ilmu lagi, sukses selalu terimakish banyak Kami do'akan semoga sedekah ilmu program MQ2 ini berkah barokah pa Guru. Amiin YRA
@sritu_hobby
@sritu_hobby Жыл бұрын
Thanks
@_cutipie_
@_cutipie_ 5 ай бұрын
Can we used it for fire sensor also
@ricardovalenzueladelgado1465
@ricardovalenzueladelgado1465 11 ай бұрын
muy buena explicacion, podre usar un microcontrolador en vez del arduino? o que cosa cambiaria?
@sivakumar.v
@sivakumar.v 2 ай бұрын
Thank you ❤ Can you share the report for this project
@kothawadegs
@kothawadegs Ай бұрын
Any tutorials on Figaro sensors?
@Varunurikiti
@Varunurikiti Ай бұрын
super peechi
@iockle6777
@iockle6777 Жыл бұрын
please tell me something, the value that it reads on the LCD is ppm or what is it??? i mean what units do they read???
@sritu_hobby
@sritu_hobby Жыл бұрын
Gas sensor reading
@mdtariqul5261
@mdtariqul5261 4 ай бұрын
Thanks vai
@RNRHAJ
@RNRHAJ 11 ай бұрын
do i have to use the same resistor or its ok to use another one
@bwxcrew
@bwxcrew Жыл бұрын
Great video
@sritu_hobby
@sritu_hobby Жыл бұрын
Glad you enjoyed it
@sanjanabadgujar7231
@sanjanabadgujar7231 8 ай бұрын
Hello sir I want to do this project without using blynk so can I used this code or I should make changes in the code please tell port and board also
@NisrinaArifatulIzzah11894imt
@NisrinaArifatulIzzah11894imt 4 ай бұрын
Permisi tanya kak, kalau semisal di tambahkan kabel untuk pasang baterai di pasang disebelah mana ya? Agar tidak nyolok ke listrik apa bila akan digunakan?
@SwethaMars
@SwethaMars Жыл бұрын
Can I replacy my buzzer somewhere else since the distance from positive and negative is big and my buzzer is small?
@anhquannguyen9989
@anhquannguyen9989 9 ай бұрын
do i have to use the same resistor or its ok to use another one What is the use of the resistor used in this project?
@ardiiaja5853
@ardiiaja5853 19 күн бұрын
Kalo semisal engga pake lcd display bisaa engga kak?
@fae-v6d
@fae-v6d 6 ай бұрын
can the coding still be used till now? (even when it 2025?)
@sritu_hobby
@sritu_hobby 6 ай бұрын
Yes
@drashti123
@drashti123 Жыл бұрын
Sir ye sirf lpg gas ko hi detect krta h kya ....and mera buzzer to work kr h but still light ad lcd is not working
@BeenaSHARMA-z5u
@BeenaSHARMA-z5u 7 ай бұрын
Same
@emmanuelgabriel223
@emmanuelgabriel223 Жыл бұрын
Hello, Good day. I have connected it, but the code is giving me issue, at "lcd.init();" and the error message is this : 'class LiquidCrystal_I2C' has no member named 'init' . Please i need help.🙏🙏🙏🙏🙏
@sukku962
@sukku962 Жыл бұрын
Did he reply
@sukku962
@sukku962 Жыл бұрын
What did you sort that problem out
@sathisiddharth5613
@sathisiddharth5613 10 ай бұрын
Hlo,how to resolve it
@drashti123
@drashti123 Жыл бұрын
sir is it necessary to select only com 4 do we can select other com
@pushprajchavda514
@pushprajchavda514 Жыл бұрын
Sir buzzer off nhi hota ha kya karo reply please!!
@danishaiman2985
@danishaiman2985 3 ай бұрын
can i change the sensor from MQ-2 to MQ-135?
@bertolibag4400
@bertolibag4400 Жыл бұрын
Hey again bro can it detect smoke?
@sritu_hobby
@sritu_hobby Жыл бұрын
Yes
@bertolibag4400
@bertolibag4400 Жыл бұрын
@@sritu_hobbyhi again bro can i use 220ohm?
@gds7250
@gds7250 Жыл бұрын
Code not working why error in header file
@lahyanikarima8952
@lahyanikarima8952 Ай бұрын
Can you Please Provide the code for CO2 instead of Gas.
@pyatashivanireddy4898
@pyatashivanireddy4898 7 ай бұрын
Which lighter u have used
@drashti123
@drashti123 Жыл бұрын
SIR I HAVE FOLLOWED EACH STEP DONE EVERTHING MY LIGHT ARE ON BUT MY GAS SENSOR IS NOT WORKING WHAT SHOULD I DOOOOOOOOOO
@mishrirao5408
@mishrirao5408 4 ай бұрын
Hello! My code is not working I tried everything ,it shows error in the Liquidcrystal library. It says that this kind of library doesn’t exist . Please tell me what to do
@pushprajchavda514
@pushprajchavda514 Жыл бұрын
Sir Buzzer always sound kar ta ha
@amine.electronic3119
@amine.electronic3119 4 жыл бұрын
Tooooop
@micheledenticediaccadia7155
@micheledenticediaccadia7155 11 ай бұрын
i've done everything you did and everything works exept for the display and I dont know why
@sritu_hobby
@sritu_hobby 11 ай бұрын
Check jumper wires
@micheledenticediaccadia7155
@micheledenticediaccadia7155 11 ай бұрын
@@sritu_hobby i checked and they are correctly connected, i literally copied your code, i don't know why it doesn't work...
@yan_arts4619
@yan_arts4619 8 ай бұрын
can I use 100ohm resistor for that?
@sritu_hobby
@sritu_hobby 8 ай бұрын
Its ok
@pushprajchavda514
@pushprajchavda514 Жыл бұрын
Power kaha sa mil rahi ha circuit ko (Sayad computer)?
@sritu_hobby
@sritu_hobby Жыл бұрын
USB power
@SwethaMars
@SwethaMars Жыл бұрын
Can I use MQ135 instead of MQ2??
@sritu_hobby
@sritu_hobby Жыл бұрын
You can try it
@RhynnselViray
@RhynnselViray 6 ай бұрын
ser Sritu Hobby pwede pahingi ng code asap po mag prepresent po kami bukas wala napo time if mabasa niyopo to agad😀
@fae-v6d
@fae-v6d 6 ай бұрын
does the coding can be used till now? (even it is 2025 of year) btw are you still alives? reply my comment if you still alives
@Pixxyp
@Pixxyp 2 ай бұрын
Yess… I have made it recently and it also works on mq-4 sensor … I know because I have used my-4 sensor on it
@poorvi56
@poorvi56 2 ай бұрын
It can same for 135 sensor
@enjoybeinghealthy766
@enjoybeinghealthy766 2 ай бұрын
​Hey you can pls send me the code​@@Pixxyp
@enjoybeinghealthy766
@enjoybeinghealthy766 2 ай бұрын
​@poorvi56 hi pls send me the code
@SwethaMars
@SwethaMars Жыл бұрын
The LCD display is showing the value but my led and buzzer isn't working..Can you help?
@sritu_hobby
@sritu_hobby Жыл бұрын
Check jumper wires
@drashti123
@drashti123 Жыл бұрын
MY LCD IS NOT DISPLAYING THE VALUE CAN U HELP ME
@Eyshikun_
@Eyshikun_ 5 ай бұрын
Available in MQ3?
@akshaypatil8467
@akshaypatil8467 Жыл бұрын
Can we use multiple Gas detector sensor with Arduino
@sritu_hobby
@sritu_hobby Жыл бұрын
Yah
@akshaypatil8467
@akshaypatil8467 Жыл бұрын
How
@anandms4550
@anandms4550 Жыл бұрын
What gas should we pass to that sensor..pls reply
@sritu_hobby
@sritu_hobby Жыл бұрын
LP gas
@kepinmanuela251
@kepinmanuela251 2 жыл бұрын
hello, i had been follow all the step and try it but the module MQ 2 and the LCD is'nt on. can you help me?
@drashti123
@drashti123 Жыл бұрын
SAME PROBLEM WITH ME
@drashti123
@drashti123 Жыл бұрын
sir this error is showing noiw avrdude: ser_open(): can't open device "\\.\COM4": Access is denied
@drashti123
@drashti123 Жыл бұрын
sir my project buzzer is working but still lcd and led light is not working can you please help me through this
@sritu_hobby
@sritu_hobby Жыл бұрын
You must follow basic tutorials
@drashti123
@drashti123 Жыл бұрын
which basic tutorial sir @@sritu_hobby
@drashti123
@drashti123 Жыл бұрын
SIR I HAVE DONE EVERTHING FOLLOWED EACH OF YOUR STEP BUT STILL MY PRJECT IS NOT WORKING NOT SENSORING THE SMOLE
@sritu_hobby
@sritu_hobby Жыл бұрын
Replace the sensor
@panktuleaudu2201
@panktuleaudu2201 5 ай бұрын
how can i do this without 12c
@isulaperera
@isulaperera 4 жыл бұрын
Mage arduino ide eke if else danna bane. Error enawa. Hariyata dammath.
@isulaperera
@isulaperera 4 жыл бұрын
@@sritu_hobby libraries monahari thiyenawada . Download karanna
@drashti123
@drashti123 Жыл бұрын
sir my program is showing a error of Compilation error: LiquidCrystal_I2C.h: No such file or directory pls sir tell me what to do
@sritu_hobby
@sritu_hobby Жыл бұрын
Include the library files
@drashti123
@drashti123 Жыл бұрын
SIR I HAVE DONE EVERTHING BUT MY PROGRAM IS NOT WORKING@@sritu_hobby
@Enhancedemeraldgamingplus3298
@Enhancedemeraldgamingplus3298 Жыл бұрын
My LED and BUZZER are not working please help, I have connected everything properly
@Enhancedemeraldgamingplus3298
@Enhancedemeraldgamingplus3298 Жыл бұрын
Pls reply
@crazysarthak8638
@crazysarthak8638 Жыл бұрын
Does this detect smoke
@crazysarthak8638
@crazysarthak8638 Жыл бұрын
Smoke like burning please reply🤔🤔🤔
@pushprajchavda514
@pushprajchavda514 Жыл бұрын
Bhai code work nhi kar raha ha error aa rha ha
@sritu_hobby
@sritu_hobby Жыл бұрын
You have to visit arduino basic tutorials
@Shreya2.09
@Shreya2.09 8 ай бұрын
I tried.... But its not working..... Pls help
@asmaajr194
@asmaajr194 Жыл бұрын
Sir could u give me the whole code for copy it
@sritu_hobby
@sritu_hobby Жыл бұрын
Description
@drashti123
@drashti123 Жыл бұрын
I HAVE TO SUBMIT IT BY TOMORROW
@nuheavy
@nuheavy 6 ай бұрын
Today I’ve too
@satyanagasrimarella22
@satyanagasrimarella22 2 ай бұрын
can you send the whole code
@drashti123
@drashti123 Жыл бұрын
sir after clearing each error still my project is not runnuing
@sritu_hobby
@sritu_hobby Жыл бұрын
Please follow our steps
@drashti123
@drashti123 Жыл бұрын
SIR I HAVE FOLLOWED EACH OF YOUR STEP @@sritu_hobby
@drashti123
@drashti123 Жыл бұрын
PLZZZZZZZ SIR HELP M,E THROUGH THIS @@sritu_hobby
@drashti123
@drashti123 Жыл бұрын
hello sir
@sritu_hobby
@sritu_hobby Жыл бұрын
Hello
@drashti123
@drashti123 Жыл бұрын
what is the issue
@aramluqman6934
@aramluqman6934 Жыл бұрын
Please i need the code 🙂❤️
@sritu_hobby
@sritu_hobby Жыл бұрын
Description
@lnikhilshanonragam1420
@lnikhilshanonragam1420 Жыл бұрын
LCD is Blank, pls help
@sritu_hobby
@sritu_hobby Жыл бұрын
Check the jumper wires
@hongcuongvu7803
@hongcuongvu7803 Жыл бұрын
em xin code với được k ạ
@sritu_hobby
@sritu_hobby Жыл бұрын
Description
@karthikeyan7139
@karthikeyan7139 Жыл бұрын
Where i can download the code
@sritu_hobby
@sritu_hobby Жыл бұрын
srituhobby.com
@karthikeyan7139
@karthikeyan7139 Жыл бұрын
How to add that in Arduino library
@meisyaeliya
@meisyaeliya Жыл бұрын
di aku gabisaa kakk
@kevien6862
@kevien6862 2 жыл бұрын
What is resistor
@sritu_hobby
@sritu_hobby 2 жыл бұрын
180 ohm resistor
@kevien6862
@kevien6862 2 жыл бұрын
Can use lcd1602?
@sritu_hobby
@sritu_hobby 2 жыл бұрын
Yes
@kevien6862
@kevien6862 2 жыл бұрын
@@sritu_hobby Can I use another resistor?
@sritu_hobby
@sritu_hobby 2 жыл бұрын
You can try it.
@chantel2450
@chantel2450 11 ай бұрын
is this a smoke detector?
@gabrielondoy2323
@gabrielondoy2323 9 ай бұрын
Can I have the source code
@sritu_hobby
@sritu_hobby 9 ай бұрын
Description
@udeeshamithun-jk5tf
@udeeshamithun-jk5tf Жыл бұрын
Can we make this with Arduino nano ? Please tell me
@roboticsbyhitarth
@roboticsbyhitarth 7 ай бұрын
Code please
@sritu_hobby
@sritu_hobby 7 ай бұрын
Description
@drashti123
@drashti123 Жыл бұрын
PLZZZZZZZZ HELPPPPP SIRRRRRR
@SowmyaSasubilli
@SowmyaSasubilli 3 ай бұрын
Could you please send me the code
@sritu_hobby
@sritu_hobby 3 ай бұрын
Description
@СариевАсылжан
@СариевАсылжан Жыл бұрын
Ссылка на код не рабоатет (
@sritu_hobby
@sritu_hobby Жыл бұрын
srituhobby.com
@Unkown-b7z
@Unkown-b7z 2 ай бұрын
Where i can find code
@sritu_hobby
@sritu_hobby 2 ай бұрын
Description
@aiman-n1k
@aiman-n1k Жыл бұрын
hi can u give your ig
@aiman-n1k
@aiman-n1k Жыл бұрын
or another social media i have something to ask
@vrt6131
@vrt6131 3 ай бұрын
Can I use 220 ohm resistor?
@sritu_hobby
@sritu_hobby 3 ай бұрын
yes
How to use Gas/Smoke sensor with Arduino | Gas leak alarm system
5:03
hash include electronics
Рет қаралды 116 М.
Thank you 😅
00:15
Nadir Show
Рет қаралды 46 МЛН
🤖Я в шоке! ChatGPT пишет Arduino проекты
28:24
How To Use Gas Sensor MQ-2 With Arduino
5:02
Robokart
Рет қаралды 64 М.
Smoke Detector Without Arduino
3:18
Tech Trends Shameer
Рет қаралды 119 М.
Arduino Fire Alarm Project Using MQ2 Gas and Flame Sensor
7:27
Arduino Point
Рет қаралды 27 М.