<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>SUPER SMOKE DETECTOR Z by </title>
      <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv</link>
      <description>You must be a believer,if you want be a archiver</description>
      <language>en-us</language>
      <pubDate>2020-11-05 04:54:09 UTC</pubDate>
      <lastBuildDate>2026-02-16 18:31:32 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f1f2-1f1fe.png</url>
      </image>
      <item>
         <title>How does it work</title>
         <author>songokukaiokenx8</author>
         <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/892749291</link>
         <description><![CDATA[<div><br>The voltage that the sensor outputs changes accordingly to the smoke/gas level that exists in the atmosphere. The sensor outputs a voltage that is proportional to the concentration of smoke/gas.<br><br></div><div><br>In other words, the relationship between voltage and gas concentration is the following:<br><br></div><ul><li><strong>The greater</strong>the gas concentration,<strong>the greater</strong>the output voltage</li><li><strong>The lower</strong>the gas concentration,<strong>the lower</strong>the output voltage</li></ul><div><br></div><div><br></div><div><em><br>Working Mechanism</em></div><div><br>The output can be an analog signal (A0) that can be read with an analog input of the Arduino or a digital output (D0) that can be read with a digital input of the Arduino.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-11-05 05:01:57 UTC</pubDate>
         <guid>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/892749291</guid>
      </item>
      <item>
         <title>Pin wiring</title>
         <author>songokukaiokenx8</author>
         <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/892767063</link>
         <description><![CDATA[<div><br>The MQ-2 sensor has 4 pins.<br><br></div><div><br>Pin-------------------------------------Wiring to Arduino Uno<br><br></div><div><br>A0-------------------------------------Analog pins<br><br></div><div><br>D0-------------------------------------Digital pins<br><br></div><div><br>GND-----------------------------------GND<br><br></div><div><br>VCC------------------------------------5V<br><br></div><div><br>So, before jumping into the coding part, let's check whether we've assembled all the necessary hardware components.<br><br></div><div><br></div><div><br></div><div><em><br>Hardware Components</em></div><div><br>Kindly refer to the connection schematic attached below. After you've wired all the components properly, it's time to upload the necessary code<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-11-05 05:11:29 UTC</pubDate>
         <guid>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/892767063</guid>
      </item>
      <item>
         <title>coding super smoke detector z</title>
         <author>songokukaiokenx8</author>
         <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/900751731</link>
         <description><![CDATA[ All the resources for this project:
 https://www.hackster.io/Aritro

*******/

int redLed = 12;
int greenLed = 11;
int buzzer = 10;
int smokeA0 = A5;
// Your threshold value
int sensorThres = 400;

void setup() {
  pinMode(redLed, OUTPUT);
  pinMode(greenLed, OUTPUT);
  pinMode(buzzer, OUTPUT);
  pinMode(smokeA0, INPUT);
  Serial.begin(9600);
}

void loop() {
  int analogSensor = analogRead(smokeA0);

  Serial.print("Pin A0: ");
  Serial.println(analogSensor);
  // Checks if it has reached the threshold value
  if (analogSensor &gt; sensorThres)
  {
    digitalWrite(redLed, HIGH);
    digitalWrite(greenLed, LOW);
    tone(buzzer, 1000, 200);
  }
  else
  {
    digitalWrite(redLed, LOW);
    digitalWrite(greenLed, HIGH);
    noTone(buzzer);
  }
  delay(100);
}]]></description>
         <enclosure url="" />
         <pubDate>2020-11-08 03:52:28 UTC</pubDate>
         <guid>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/900751731</guid>
      </item>
      <item>
         <title>ITEM</title>
         <author>songokukaiokenx8</author>
         <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/911240770</link>
         <description><![CDATA[<div>BREADBORD(GENERIC)                    MQ-2 SENSOR                                      WIRE MALE/FEMALE                        LED RED/LED GREEN (5MM)           BUZZER                                                       RESISTOR( 221 OHM)</div>]]></description>
         <enclosure url="" />
         <pubDate>2020-11-11 02:09:30 UTC</pubDate>
         <guid>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/911240770</guid>
      </item>
      <item>
         <title>FLOW MAP</title>
         <author>songokukaiokenx8</author>
         <link>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/912357820</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/832458348/5fe580c5d250bc8ac2ac0b4e9b054093/MAP_IOT.pdf" />
         <pubDate>2020-11-11 11:11:20 UTC</pubDate>
         <guid>https://padlet.com/songokukaiokenx8/6os04bn8zclxoigv/wish/912357820</guid>
      </item>
   </channel>
</rss>
