element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Documents WiFi shield+Flammable Gas & Smoke Sensor MQ2  send email for Arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 21 Nov 2011 4:54 PM Date Created
  • Last Updated Last Updated: 8 Oct 2021 4:43 AM
  • Views 1496 views
  • Likes 0 likes
  • Comments 2 comments
Related
Recommended

WiFi shield+Flammable Gas & Smoke Sensor MQ2  send email for Arduino

This is an open source alarm device.

 

We need hardware:

1\SolidDigi MQ2 Smoke Detector Shield for Arduino

http://www.soliddepot.com/soliddigi-mq2-smoke-detector-shield-for-arduino-p-30.html

2\WiFi Shield WiShield V2.0 for Arduino

http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html

http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html
When the  concentration of toxic gas is high, MQ2 sends email through  wifi.

 

1: Setup Picture

image

 

2 : Debugging steps:
( 1 ): Connect these three boards as shown in the above. Power it by USB.
( 2 ): Download programs in attachment to arduino328.
( 3 ): Open serial debugging tools. Use lighter or tool which can distribute gas around MQ2. ( default setting is when output number is more than 50, send mails ) User and password have to be encrypted by Base64.
image
( 4 ): Pay attention to mail server IP and port. The setting has to be correct. Or the mail receiving will be failed. Mail is as following picture shows (test sina and yahoo). Here we suggest use yahoo mailbox.
image
( 5 ): During sending the mail, if long time no connection to the server, wifi will shut down automatically. Program has been added soft wdt. When wifi is shut down it will jump to OOOOH address of the program automatically.

MQ2 shield+ Wifi Shield Sends alert email sample code

http://www.soliddigi.com/download/showdownload.php?id=45&lang=en

Download:

  • SolidDigi MQ2 Shield Schematics  
  • MQ2 datasheet
  • Sample Arduino Code
  • flammable_gas_smoke_sensor
  • wifi_shield_arduino
  • e_mail
  • mq2
  • arduino
  • opensource
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
  • Former Member
    Former Member over 13 years ago

    Could this same setup be built with the - Arduino Ethernet W5100 Network expansion board with SD gets stuc

     

    This would replace the wifi module. My thought on that is it would make the set up more plug and play and easy to set up. This is the only tool I have seen that accomplishes the goal I am looking for which is letting me know on my phone if my house is in danger. Me and my girlfriend have a dog and it would be a good assurance to know there are no problems.

     

    If you think it could work and you wanted to try it let me know, we could work something out.

     

    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 14 years ago

    good

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube