How to use gas sensors with Arduino || Arduino tutorial @ElectronFunCom
How to use gas sensors with Arduino || Arduino tutorial  @ElectronFunCom
Uploaded July 2014 | Updated September 2026, 3 weeks ago
In this tutorial I'm demonstrating how to use MQ-2/MQ-5 gas sensors with Arduino. These little devices may be used in gas leakage detectors.
The MQ-2 is suitable for detecting LPG, i-butane, propane, methane, hydrogen and even smoke.
The MQ-5 detects LPG, natural gas and town gas.

Many other gas sensors can be used in exactly the same way, e.g. MQ-3, MQ-6 or MQ-135. Just read the datasheet, use the appropriate load resistor and experiment with the "sensorValue" in my Arduino code.

Project page - you can download Arduino code and see schematic used in this video here:
ElectronFun.com/project_2.php

Datasheets:
MQ-2: pololu.com/file/0J309/MQ2.pdf
MQ-5: parallax.com/sites/default/files/downloads/605-00009-MQ-5-Datasheet.pdf

See how to calibrate an MQ-2 gas sensor:
youtube.com/watch?v=QYSDSKn2Vf8

See all my Arduino tutorials here:
https://www.youtube.com/playlist?list...

Subscribe to get notified about my new videos:
http://www.youtube.com/subscription_c...

----------------------------------------------------------------------------------------------
YouTube channel: https://www.youtube.com/user/electron...
Google+: plus.google.com/+Electronfuncom
Facebook: facebook.com/ElectronFunPage
Twitter: twitter.com/ElectronFun
Website: ElectronFun.com
----------------------------------------------------------------------------------------------

Video, edit, voice by Chris Lorkowski

Music composed and performed by Bensound - Happiness
bensound.com

Sound effects recorded by Mark DiAngelo - Blop
soundbible.com
How to use gas sensors with Arduino || Arduino tutorialHow to solder header pins to 2x16 LCDHow to see infrared lightHow to unbrick a TP-Link TL-WR1043ND router (re-uploaded) || How-to-fix tutorialHow to calibrate an MQ-2 gas sensor || Arduino tutorialHow to make a smartphone tripod mountHow to build a simple Arduino on a breadboard || Arduino tutorialWill LM7805 exceed its specs? || electronics experimentHow to fix your favorite headphones (mini jack replacement) || How-to-fix tutorialHow to build a fume extractor #1 of 3How to clean a computer fanHow to make a simple Arduino ohmmeter || Arduino tutorial
ElectronFun.com |

How to use gas sensors with Arduino || Arduino tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER