<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>WiFi shield+Flammable Gas &amp; Smoke Sensor MQ2  send email for Arduino</title><link>https://community.element14.com/products/arduino/w/documents/9314/wifi-shield-flammable-gas-smoke-sensor-mq2-send-email-for-arduino</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>WiFi shield+Flammable Gas &amp; Smoke Sensor MQ2  send email for Arduino</title><link>https://community.element14.com/products/arduino/w/documents/9314/wifi-shield-flammable-gas-smoke-sensor-mq2-send-email-for-arduino</link><pubDate>Fri, 08 Oct 2021 04:43:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5f3d9ac2-3a7b-43d5-8c42-ed7df4321b22</guid><dc:creator>e14 Contributor</dc:creator><comments>https://community.element14.com/products/arduino/w/documents/9314/wifi-shield-flammable-gas-smoke-sensor-mq2-send-email-for-arduino#comments</comments><description>Current Revision posted to Documents by e14 Contributor on 10/8/2021 4:43:21 AM&lt;br /&gt;
&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;This is an open source alarm device.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;We need hardware:&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;1\&lt;a class="jive-link-external-small" href="http://www.soliddepot.com/soliddigi-mq2-smoke-detector-shield-for-arduino-p-30.html" rel="nofollow ugc noopener" style="color:#2b2b2b;text-decoration:none;" target="_blank"&gt;SolidDigi MQ2 Smoke Detector Shield for Arduino&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddepot.com/soliddigi-mq2-smoke-detector-shield-for-arduino-p-30.html" rel="nofollow ugc noopener" target="_blank"&gt;http://www.soliddepot.com/soliddigi-mq2-smoke-detector-shield-for-arduino-p-30.html&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;2\&lt;a class="jive-link-external-small" href="http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html" rel="nofollow ugc noopener" style="color:#2b2b2b;text-decoration:none;" target="_blank"&gt;WiFi Shield WiShield V2.0 for Arduino&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html" rel="nofollow ugc noopener" target="_blank"&gt;http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html" rel="nofollow ugc noopener" target="_blank"&gt;http://www.soliddepot.com/wifi-shield-wishield-v20-for-arduino-p-106.html&lt;/a&gt;&lt;br /&gt;When the&amp;nbsp; concentration of toxic gas is high, MQ2 sends email through&amp;nbsp; wifi.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;1: Setup Picture&lt;/p&gt;&lt;p style="margin:0;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;&lt;a href="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701135808.bmp"&gt;&lt;img alt="image" height="325" src="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701135808.bmp" style="border-style:initial;border-color:initial;" width="541"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div align="left" style="color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;&lt;strong&gt;2 &lt;/strong&gt;&lt;strong&gt;： &lt;/strong&gt;&lt;strong&gt;Debugging steps:&lt;/strong&gt;&lt;/div&gt;&lt;div align="left" style="color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;（ 1 ）： Connect these three boards as shown in the above. Power it by USB.&lt;/div&gt;&lt;div align="left" style="color:#708090;font-family:Verdana;font-size:12px;line-height:22px;padding:0px;margin:0px;"&gt;（ 2 ）： Download programs in attachment to arduino328.&lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-42pt;padding:0px;"&gt;（ 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.&lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-42pt;padding:0px;"&gt;&lt;a href="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701140139.bmp"&gt;&lt;img loading="lazy" alt="image" height="309" src="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701140139.bmp" style="border-style:initial;border-color:initial;" width="328"  /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-42pt;padding:0px;"&gt; &lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:41.3pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-41.3pt;padding:0px;"&gt;&lt;strong&gt;（ &lt;/strong&gt;&lt;strong&gt;4 &lt;/strong&gt;&lt;strong&gt;）： &lt;/strong&gt;&lt;strong&gt;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.&lt;/strong&gt;&lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:41.3pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-41.3pt;padding:0px;"&gt;&lt;strong&gt;&lt;a href="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701140234.bmp"&gt;&lt;img loading="lazy" alt="image" height="120" src="http://www.soliddigi.com/upload/QQ%E6%88%AA%E5%9B%BE20110701140234.bmp" style="border-style:initial;border-color:initial;" width="441"  /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="left" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:41.3pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-41.3pt;padding:0px;"&gt; &lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt;（ 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.&lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt; &lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddigi.com/download/showdownload.php?id=45&amp;amp;lang=en" rel="nofollow ugc noopener" target="_blank"&gt;&lt;h1 class="title" style="margin-top:8px;margin-right:0px;margin-bottom:8px;margin-left:0px;font-size:16px;color:#708090;font-family:Verdana;line-height:22px;text-align:left;padding:0px;"&gt;MQ2 shield+ Wifi Shield Sends alert email sample code&lt;/h1&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddigi.com/download/showdownload.php?id=45&amp;amp;lang=en" rel="nofollow" target="_blank"&gt;http://www.soliddigi.com/download/showdownload.php?id=45&amp;amp;lang=en&lt;/a&gt;&lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt; &lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt;&lt;p style="margin:0;line-height:17px;padding:0.5em;"&gt;&lt;strong style="font-size:8pt;"&gt;Download:&lt;/strong&gt;&lt;/p&gt;&lt;ul style="line-height:17px;"&gt;&lt;li&gt;&lt;span style="color:#17426b;font-size:8pt;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddigi.com/download/showdownload.php?id=18&amp;amp;lang=en" rel="nofollow ugc noopener" style="color:#2b2b2b;" target="_blank"&gt;SolidDigi MQ2 Shield Schematics&amp;nbsp;&amp;nbsp; &lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="jive-link-external-small" href="http://www.soliddigi.com/download/showdownload.php?lang=en&amp;amp;id=157" rel="nofollow ugc noopener" style="color:#2b2b2b;" target="_blank"&gt;&lt;span style="text-decoration:none;font-size:8pt;"&gt;MQ2 datasheet&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#17426b;font-size:8pt;"&gt;&lt;a class="jive-link-external-small" href="http://www.soliddigi.com/download/showdownload.php?id=19&amp;amp;lang=en" rel="nofollow ugc noopener" style="color:#2b2b2b;" target="_blank"&gt;Sample Arduino Code&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt; &lt;/div&gt;&lt;div style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:42pt;color:#708090;font-family:Verdana;font-size:12px;line-height:22px;text-indent:-36pt;padding:0px;"&gt; &lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: flammable_gas_smoke_sensor, wifi_shield_arduino, e_mail, mq2, arduino, opensource&lt;/div&gt;
</description></item></channel></rss>