This Instructable explains how to use a gas sensor with your Arduino.

This lets your Arduino smell (and hence you program responses to) overall gas levels for a variety of nasties, including ethanol, methane, formaldehyde, and a bunch of other volatile organic compounds.

My cost to make this actual device was under $100, including the full Arduino kit. Here's a video:
.
And no, I won't put a shirt on:-)

I've got kits / finished versions of this and some other projectsfor sale @ my website

The closest comparable commercial products I can find are:
-a commercial-quality detector: $2500+
-a lab monitor: $295
-a one-off test kit for volatile organic compounds: $234

I learned about this after hearing about some guys who added VOC sensors to toy dogs. Not sure where/if the docs on that project are, but here's the guide that I followed.

Links explaining what VOCs are and why you might want to care:
-Some symptoms of overexposure to VOCs
-an OSHA regulation on formaldehyde levels
-information on sick building syndrome: 'A 1984 World Health Organization Committee report suggested that up to 30 percent of new and remodeled buildings worldwide may be the subject of excessive complaints related to indoor air quality (IAQ).'
-The Inside Story: A Guide to Indoor Air Quality: "For pollutants other than radon, measurements are most appropriate when there are either health symptoms or signs of poor ventilation and specific sources or pollutants have been identified as possible causes of indoor air quality problems. Testing for many pollutants can be expensive. Before monitoring your home for pollutants besides radon, consult your state or local health department or professionals who have experience in solving indoor air quality problems in non-industrial buildings."
 
Remove these adsRemove these ads by Signing Up

Step 1: Gather Your Supplies

You'll need:
-an Arduino (or equivalent)
-a cable to hook the Arduino up to your computer / provide power
-a computer to read values
-a potentiometer or resistor of known value. anywhere from 500-1k ohms should work
-the gas sensor: a pain to buy in small quantities. i bought 2 and they cost like $22 each, but volume orders get way cheaper... the specific sensor i used was figaro sensors's 2620.

Here's what I used:
-the arduino kit I used
-the different sensors available from Figaro (use different sensors to 'smell' different things)

It' useful but not necessary to have a multimeter and wire stripper handy...

The pdf included with this step is the price list from the sensor manufacturer as of March 2008.
Price 01_08 USA.pdf(612x792) 191 KB
alavasier says: Mar 29, 2013. 6:11 AM
I liseman. How did you convert the values readed by the microcontroller to ppm of pollutants? did you calibrate the gas sensor, if so how did you do it? or how did you find teh R0 of the sensor?
liseman (author) in reply to alavasierMar 30, 2013. 5:14 PM
hi alavasier,

You can roughly calibrate the sensor by matching readings to the datasheet, eg http://www.instructables.com/files/orig/FCF/712B/FEMHW1YS/FCF712BFEMHW1YS.pdf . Putting the sensor in 100% concentration of target gas vs. 100% of a non-detected gas will let you determine min and max.
ftreska in reply to lisemanApr 3, 2013. 11:03 PM
How did you set the sensor so its already have a value in ppm ( the value gas in actual condition) which read by microcontroller?
ozmel says: Apr 3, 2013. 2:49 PM
hi i am doing a wireless sensor network for hydrogen monitoring. i chose arduino uno and MQ-8 hydrogen sensor. i want you to help for the design. sorry for my english i am a frenchspeaker. thank you
bojanmanev says: Jan 3, 2011. 1:50 PM
can i buy arduino online please tell me the site for buy a want to do this but i haven't got a arduino i m from macedonia
fourpenguins in reply to bojanmanevDec 14, 2011. 6:48 AM
You can buy them assorted places online, in prebuilt or kit form. Since they are from Italy, I expect they're just as easily available in Macedonia as here in the US.
The main site is www.arduino.cc , but there are assorted other sites that sell them.
colorex says: Sep 8, 2011. 7:17 PM
How To Smell Pollutants? Can't stop thinking bout this...
http://www.huffingtonpodst.com/huffing.jpg
transuranic says: Mar 7, 2011. 4:12 PM
could iit be modified to smell any chemical?
Cyme in reply to transuranicJun 11, 2011. 12:25 PM
Unfortunately, no.
Cyme says: Jun 11, 2011. 12:20 PM
VOC stands for volatile organic content. If your fart, the methane you smell is a VOC. If you drink a beer or a scotch--ethanol--the odour you smell are all VOCs. If you cook fries, the grease you smell is again a VOC. If you paint with an oil-based paint, the solvent from the drying paint are VOCs. And yes, these are air pollutants that can contribute to smog.


skybosg says: May 11, 2011. 9:30 AM
Put a shirt on!
yeagerxp says: Jan 10, 2011. 12:15 PM
you should be able to buy arduino from WEB, search for it, it is available in EUROPE,
guitarmonk15 says: Sep 27, 2010. 5:48 PM
I know a better way. If you breathe something, and promptly drop dead, it's usually a sign of polluted air. So then you'll know in the future - oh wait.
Spaceman Spiff in reply to guitarmonk15Dec 20, 2010. 8:46 AM
Actually I've heard of this being done, with birds in cages, not people.
godscountry says: Sep 22, 2010. 8:20 AM
add this board and sensors,to a quad rotor,a low cost way to inspect accident sites,train wrecks,chemical spills etc. without the risk to humans or animals .Maybe a sniffer for explosives,drugs
cdousley says: Jul 7, 2010. 6:57 PM
haha your brothers cool! so are you.
tmort says: Jul 14, 2009. 12:25 PM
can this circuit be modified to add more sensors for mulitple gases and a datalogger?
liseman (author) in reply to tmortJul 14, 2009. 3:14 PM
hi tmort, yeah, that should be pretty easy to do. if you need accuracy in terms of actual gas concentrations, consider borrowing a fancy, professional gas sensor to calibrate your arduino-based one... hope this helps! -luke
Coffee bean says: Dec 5, 2008. 1:16 PM
nice! think it could recognize welding gas leaks?
magganrchy in reply to Coffee beanJun 26, 2009. 7:49 PM
http://www.nenvitech.com/gas-detection-heads/type-3-heads/?searchterm=acetylene

This is For acetylene There's all sorts of Gas sensors though
polar bear6 says: Apr 7, 2008. 6:08 AM
why dont you have a shirt on lol
ReCreate in reply to polar bear6Mar 2, 2009. 8:25 PM
weird
timmy1234s says: Aug 8, 2008. 2:32 PM
Here is a better place to get the sensors. http://www.futurlec.com/Gas_Sensors.shtml
davidprosser says: Apr 6, 2008. 3:04 PM
Could u upload a vid of u fartin on it and the reaction on PC. lol would it go crazy or what :O LOL
Rob K in reply to davidprosserApr 6, 2008. 9:38 PM
I had the same idea.
joejoerowley says: Apr 5, 2008. 2:50 PM
Great Instructable! Wow! Well Done! I just voted even though votes don't count for this contest but this should win! Great work. I think I read that article your talking about in Make magazine. Nice instructable!!
LinuxH4x0r says: Apr 5, 2008. 12:41 PM
Woah! I just use a fan when in doubt! Great job!
GorillazMiko says: Apr 5, 2008. 12:26 PM
Looks... complicated.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!