Arduino Your Home & Environment - Gas Sensor Tutorial
Arduino Your Home & Environment - Gas Sensor Tutorial
Compartilhar
mais
Prximo blog
Criar um blog
Login
Wall Adapter Pow er Supply - 9V DC 65... NKC Electronics New $5.37 Best $0.99
Arduino Uno Ultimate Starter Kit -- ... Sintron New $54.99 Best $50.00
Search
Today's project is a smoke detector that turns on an LED when smoke concentrations exceed a certain level. We soldered the sensor to the carrier board, along with a sensitivity resistor and a 3 pin header. The carrier board pins are VCC (+5v), GND, and Out, which connects to A0 on our Arduino. We connected a LED to Pin 13 and Gnd as indication of an alarm state (smoke detected). See the video and the code we used: Next step is a temp sensor for heat detection, and a relay for a siren.
Subscribe
Delivered by FeedBurner
25/2/2014
c o n s ti n tl e d P i n=1 3 ; t od i g i t a lp i n1 3 i n ts e n s o r V a l u e=0 ; r
/ /L E Dc o n n e c t e d
Ultrasonic Sensor
www.m ax botix .com The Max Sonar R ange Finde r Line has Se rial, Analog, PW & Easy to Use !
/ /v a l u er e a df r o mt h es e n s o
Gas Sensors
www.e dinburghse nsor C O , C 02, C H4, SF6 Gas Se nsor syste m s for industrial inte gration
IC Station
If you believe this URL was blocked in error, please contact your IT staff to resolve this issue.
25/2/2014
website, and Ill send you a series of eBooks on learning the Arduino and cool projects or DIY renewable energy. Just send me an email with the URL where you have posted the link.
Top comments
Recent Posts
Marco Cecchetti via Google+ 3 months ago - Shared publicly Rivelatore di fumo per l'ambiente domestico. Translate
+1 2 1
1 Reply
Andrea Creti 10 months ago - Shared publicly Very nice and usefull! thans ;)
+1 2 1
1 Reply
amit kumar 10 months ago - Shared publicly thank u sir for providing such a nice tutorial it works great......for me.
+1 2 1
1 Reply
Matt Gangloff 6 months ago - Shared publicly Sir, First of all, thank you for taking your time to post this outstanding tutorial. I am currently trying to replicate it. One issue: I have slightly different components. Specifically, the breakout board I am using is(10 slightly different and I suspect this is what is Read more lines) preventing me from getting accurate data. I also started a blog to 1 my Reply chronicle projects. Will you check this link out and see if there is something that you can spot that is wrong? Here is the link to my blog post in which I beg for help: http://wsenvironmental.org/2013/08/15/building-an-arduinoNka Rfan 4 months ago - Shared publicly gas-sensor/ very nice and useful ..thanx..can i ask you,, it is same with QMNG1 and MQ1? Thank you so much for any help you can give me, -Matt1 Reply
Sakinah Saien 3 months ago - Shared publicly can i use arduino uno instead of arduino mega?
+1 2 1
1 Reply
Jez Real 5 months ago - Shared publicly please help me extend the program by making a relay to a gsm arduino shield. so instead of print the results to the serial monitor: make it apear to be a text message.. thanks! help me through this email [email protected]
1 Reply
Steve Spence 11 months ago Just connect a 5v piezo instead of the LED.
http://arduinotronics.blogspot.com.br/2012/03/gas-sensor-tutorial.html
3/9
25/2/2014
jose jr. lacanaria 11 months ago can you plz share us how to make the fire alam with fire senzor using arduino
Steve Spence 1 year ago The data sheet explains the pins. http://www.pololu.com/file/download/MQ2.pdf?file_id=0J309 Yes, you need the Arduino.
Tarun kumar 1 year ago hey am having MQ-2 gas sensor with 6 pins wat to do..... can we make this experiment without using arduino
Trefex 1 year ago Hi, Great post. Did you get the MQ7 to work? Would you mind telling us how you connected the sensor especially with the PWM part for the heating coil? Thank you so much!
Porn??? Tidak.....??? 1 year ago i want to ask, if i want use buzzer and fan can i get the source code? i need your help.. send to my email, [email protected]
Jasmin Patel 1 year ago hey how did you solder the sensor on the breakout board because i am confuse between six pins.
Steve Spence 1 year ago We used a 20k ohm IIRC. I'd suggest a 30k - 40k pot so you can adjust sensitivity for different gases.
Bhuwnesh Joshi 1 year ago what is the value for resistor R1 Shown in diagram Above .Thank you in advance
Amroq 1 year ago Hey. Great post. Just testing this sensor right now. I was wondering if you have calibrated the sensor as documented in the datasheet? If so, which equipment did you use?
Steve Spence 1 year ago No, I did not calibrate it. I was just shooting for a confirmation that smoke existed.
SainSmart I2C LCD It seems a lot of folks are having problems getting the SainSmart I2C LCD working. This is a shame, as the I2C LCD only uses 2 data lines, A4 (SDA)... ELEC Freaks LCD Key Shield I'm playing with the ELEC Freaks LCD Key Shield, and this is a simple and fun to use Arduino Shield that contains a 2 line LCD, a rotary encoder,... Arduino & uBlox Neo 6M GPS A buddy of mine sent me a uBlox Neo 6M GPS module and said "figure it out". Cool, I love projects like this. There are 4 connections, TX, RX, VCC... ICStation 5v BMP-085 Pressure / Temperature Sensor ICStation sent us a BMP-085 Barometric Pressure Sensor. This sensor is 5v friendly, and works with the common BMP085 libraries that are available.... ICStation 8 Character, 7 Segment Display ICStation sent us a 8 Character, 7 Segment Display driven by a MAX7219. There's no documentation for this display, but a bit of googling found a... Rotary Encoder Controlling Servo Position, With Last Positio... Ok, that was a long title, but what does it mean? I have a ham radio buddy that wants to control a variable capacitor with his Arduino. I'm using a... Web Based Weather Server Version 2 I have added a Barometric Pressure Sensor to our Web Based Weather Station, and added calculations for Heat Index and Dew Point. You can read about... Power Over Ethernet - Powering Remote Arduino's Several of my projects use Ethernet to communicate data back to a server or internet connection. Our Web Enabled Weather Server for one. I've... Sensing Barometric Pressure Adafruit makes a nice barometric pressure sensor (BMP180), but their tutorial is designed for the BMP085 and does not compile on Arduino 1.05 It... Installing Arduino 3rd Party Libraries Libraries are pieces of code that commonly add functionality for specific pieces of hardware (can be software functions). Instead of putting all... Powered By : Blogger Plugins
http://arduinotronics.blogspot.com.br/2012/03/gas-sensor-tutorial.html
4/9
25/2/2014
Popular Posts
Arduino IR Receiver - Part 2 I have been successful in programming my Arduino to identify sets of digits transmitted from my Samsung remote. I used the excellent library... Monitoring voltage of a dc battery supply Since we are involved in off grid solar power systems, we have a need to monitor battery voltage. The Arduino can do this easily with a simp... Two DS18B20 Temp Sensors on LCD Display! We are finally posting our multi DS18B20 Temp Sensor LCD project. Right now we are monitoring two sensors on one data pin, but could add man... Gas Sensor Tutorial We just received a bunch of Gas Sensors from Hacktronics . These sensors include: MQ2 Flammable Gas & Smoke MQ3 Alcohol MQ4 -... DS1307 Real Time Clock Working With a bunch of help from John Boxall of Tronixstuff.com , we finally got the Time / Date functions working on our Arduino, with the DS1307 ... Our Temperature / Humidity Monitor is working! We received our SHT21 Temperature / Humidity Sensor today from Misenso. No documentation came with it, so a bit of googling found parts of t... The Arduino Thermostat I've talked about this before, but since I just built another one last week, I thought I'd reshare this project, as it has a sligh... Virtual Breadboard - Simulate an Arduino Want to try out your designs virtually, before committing to hardware? You can sim the Arduino, and many other
http://arduinotronics.blogspot.com.br/2012/03/gas-sensor-tutorial.html 5/9
Newer Post
Subscribe to: Post Comments (Atom)
Home
Older Post
25/2/2014
microcontroller platforms at ... Top 40 Arduino projects of the Web Hack N Mod scoured the internet for the best Arduino based microcontroller projects. The list and variety is extensive, and there's some... Multicolor (RGB) LED with Arduino PWM This is the next step from our last post, where we take the single color example of PWM brightness control, and expand it to a RGB LED with ...
Arduino Blog
An electronic diesel engine controlled with Arduino Mega - 25/2/2014 - Zoe Romano Prototyping a pressure sensor with Arduino Micro #ArduinoMicroMonday - 24/2/201 4 - Zoe Romano You cant touch this! - 20/2/2014 - Zoe Romano Arduino Tour 2014: le nuove tappe di Rimini e Pula #Italy - 19/2/2014 - cristina_mauri Could your skin act as an interface? - 18/2/2014 - Zoe Romano
Blog Archive
2014 (21) 2013 (55) 2012 (57) 12/30 - 01/06 (1) 12/23 - 12/30 (2) 12/09 - 12/16 (1) 11/25 - 12/02 (1) 11/18 - 11/25 (7) 11/11 - 11/18 (1) 11/04 - 11/11 (1) 10/28 - 11/04 (4) 10/21 - 10/28 (1) 10/14 - 10/21 (2) 08/26 - 09/02 (1) 08/19 - 08/26 (3) 08/12 - 08/19 (1) 07/15 - 07/22 (1) 07/01 - 07/08 (2) 06/24 - 07/01 (2) 06/10 - 06/17 (2) 06/03 - 06/10 (4)
http://arduinotronics.blogspot.com.br/2012/03/gas-sensor-tutorial.html 6/9
25/2/2014
05/27 - 06/03 (1) 05/13 - 05/20 (1) 04/29 - 05/06 (3) 03/25 - 04/01 (1) Gas Sensor Tutorial 03/18 - 03/25 (2) 03/04 - 03/11 (5) 02/26 - 03/04 (4) 01/22 - 01/29 (1) 01/01 - 01/08 (2) 2011 (36) 2010 (115)
25/2/2014
Nudatech Nuts & Volts Pachube / Arduino projects Phenom Engineering Practical Arduino Robot Shop Rogue Robotics RoHS Compliance Seeed Studio Smiley Micros Solarbotics Spark Fun SpikenzieLabs t r o n ixs t u f f Web Design Tips
Green-Trust.Org
The DIY Berkefeld (Berkey) Water Purifier Is Back! - 25/2/2014 Wood Fired Emergency Heat and Cooking - 18/2/2014 32 Hours Without Power, Ice Storm 2014 - 14/2/2014 Van Dwellers / RV Solar Starter Kits - 3/2/2014 Winter Survival Tools - 23/1/2014
Google+ Followers
Steve Spence
Add to circles
View all
25/2/2014
Arduino Q&A
How to find the digital and analog pins on a standard Arduino board How to create an Arduino alarm that calls a function How Arduino's Servo library controls positioning How to make sure your new Arduino board is working The Most Common XBee Mistakes
Helpful products
http://arduinotronics.blogspot.com.br/2012/03/gas-sensor-tutorial.html
9/9