Smoke Alarm by Email

From LinkSprite Playgound
Revision as of 01:29, 28 December 2012 by Katherine.d (talk | contribs) (Usage)
Jump to: navigation, search

Introduction

This is an open source alarm device.

When the concentration of toxic gas is high, MQ2 Shield alerts by sending email .This is used in gas leakage detecting equipments in family and industry, are suitable for detecting of LPG, i-butane, propane, methane ,alcohol, Hydrogen, smoke.

Features

  • Wide detecting scope
  • Fast response and High sensitivity
  • Stable and long life
  • Simple set up

Usage

Set Up

File:Smokealarmsetup.jpg

Debugging steps

  • 1. Connect these three boards as shown in the above. Power it by USB.
  • 2. Download programs to Arduino.
  • 3. Open serial debugging tools. Use lighter or other tool that can distribute gas around MQ2 sensor. (Default setting is when output number is more than 50, send mails ) User and password have to be encrypted by Base64.

File:Smokealarm1.jpg

  • 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.

File:Smokealarm2.jpg

  • 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.