<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN" "JATS-archivearticle1.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
<front>
<journal-meta>
<journal-title-group>
</journal-title-group>
<publisher>
<publisher-name/>
</publisher>
</journal-meta>
<article-meta>
</article-meta>
</front>


<body id="body">
    <p id="_paragraph-2">
      <bold id="_bold-1">Design of Smoke Detector for Smart Room Based on Arduino Uno</bold>
    </p>
    <p id="_paragraph-3">
      <bold id="_bold-2">Dirja Nur Ilham<sup id="_superscript-1">1*</sup>, Rudi Arif Candra<sup id="_superscript-2">2</sup>,Muhammed Saat Talib<sup id="_superscript-3">3</sup>, Mario di Nardo<sup id="_superscript-4">4</sup>, KhusnulAzima<sup id="_superscript-5">5</sup></bold>
    </p>
    <p id="_paragraph-4"><sup id="_superscript-6">1,2</sup>Politeknik Aceh Selatan, Indonesia,<sup id="_superscript-7">3</sup>University of Babylon, Iraq, <sup id="_superscript-8">4</sup>Universita digliStudi di Napoli, Italy, <sup id="_superscript-9">5</sup>STIT-HAFAS Subulussalam,Indonesia</p>
    <p id="_paragraph-5"><sup id="_superscript-10">1</sup><email>dirja.poltas@gmail.com</email>,<sup id="_superscript-11">2</sup><email>rudiarifcandra@gmail.com</email>,<sup id="_superscript-12">3</sup><ext-link id="_external-link-1" ext-link-type="uri" xlink:href="mailto:email@email.com">mohammed90.saad1@gmail.com</ext-link>,<sup id="_superscript-13">4</sup><ext-link id="_external-link-2" ext-link-type="uri" xlink:href="mailto:email@email.com">mario.dinardo@unina.i</ext-link>t,<sup id="_superscript-14">5</sup><ext-link id="_external-link-3" ext-link-type="uri" xlink:href="mailto:email@email.com">khusnulzimex@gmail.com</ext-link></p>
    <table id="_table-1">
      <tbody>
        <tr id="table-row-f9559fc7fdb83c66e86f60104064c99f">
          <th id="5d46e1248a42ec29189d8fe5feba7b48">
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" mimetype="image" mime-subtype="png" xlink:href="media/image1.png"/>
            <p>
              <bold>*Corresponding Author</bold>
            </p>
          </th>
          <th id="dd4868f93e92ffbaf8263a231bfb4eb3">
            <p>
              <bold>ABSTRACT</bold>
            </p>
            <p>
              <italic>Smoke is one of the air pollutions that is very
      detrimental to the health of both the smoker himself and others
      around him. Inhaling other people's smoke is even more dangerous
      than inhaling your own smoke. Even the dangers that must be borne
      by passive smokers are three times greater than the dangers of
      active smokers. Smoke is also very detrimental to the health of
      patients in hospitals, especially patients who suffer from asthma.
      For people with asthma who have problems in the respiratory tract,
      asthma can recur at any time due to inhaling smoke. This research
      will develop a smart room that can detect smoke to maintain and
      protect the room from smoke that interferes with health. The tool
      to be developed uses an MQ2 sensor, LCD, exhaust fan, buzzer, and
      Arduino Uno microcontroller. Where an MQ2 sensor is needed to
      detect smoke around it, an LCD is needed to display the percentage
      of smoke, a microcontroller as a controller for all components, a
      buzzer is used as an alarm when the smoke level in the room is
      unhealthy, and the exhaust fan functions as a sucker for dirty air
      so that the smoke level in the room can be
      reduced.</italic>
            </p>
          </th>
        </tr>
        <tr id="table-row-8de748096eee0a6d762eaf0db0ad33b0">
          <td id="66f0eecce2a8638fab27a8aa6a6dda26">
            <p>
              <bold>Article History:</bold>
            </p>
            <p>Submitted: 09-01-2021</p>
            <p>Accepted: 09-04-2021</p>
            <title>Published: 09-05-2021</title>
          </td>
          <td id="85821a4f16f600a9d32d27259b21b6b8"/>
        </tr>
        <tr id="table-row-18ad4dad561a8d9dafea02f62c96d408">
          <td id="c24b12554168c23653759964214b5dee">
            <title>Keywords: </title>
            <p>
              <italic>MQ2; Arduino Uno; Smoke; Smart room.</italic>
            </p>
          </td>
          <td id="d94406b20a8280a29673c5d5fcf5a621"/>
        </tr>
        <tr id="table-row-4c62acc0641f9f190d15b4ef609c887d">
          <td id="69722ed26853f420bbcdfad29ea253e0"><bold id="_bold-3">Brilliance: International Journal of Artificial      Intelligence</bold>is licensed under a <ext-link id="_external-link-4" ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by-nc/4.0/">Creative      Commons Attribution-NonCommercial 4.0 International (CC BY-NC      4.0).</ext-link></td>
          <td id="3c5404961f9d0bed9c91503de9668336"/>
        </tr>
      </tbody>
    </table>
    <sec id="section">
      <title/>
    </sec>
    <sec id="introduction">
      <title>INTRODUCTION</title>
      <p id="_paragraph-6">Air is one of the sources of human life that can be obtained  freely. Good and bad air quality can affect human health and  activities. Clean air can cause a person to feel comfortable in a  certain place so that they can do activities well and have fun. On the  other hand, poor air quality due to pollution can actually interfere  with life activities because it is polluted with various kinds of  toxic substances originating from natural pollution, vehicle  pollution, and cigarette smoke pollution that are harmful to human  health.</p>
      <p id="_paragraph-7">Cigarette smoke is one of the air pollutions. Inhaling other  people's cigarette smoke is more dangerous than smoking your own  cigarette. Even the dangers that must be borne by passive smokers are  three times that of active smokers. Cigarette smoke is also very  detrimental to the health of patients in hospitals, especially  patients suffering from asthma. For people with asthma who experience  problems in their airways, their asthma can relapse from time to time  because of inhaling cigarette smoke. And from previous studies that  discuss the detection of cigarette smoke, there are quite a number of  them, including a cigarette detection system in a closed room based on  the Internet of Things (IoT) (Sulistiyowati, Findawati, Ayubi,  Jamaaluddin, &amp; Sulistyanto, 2019). Design of a cigarette smoke  detection system using an Arduino-Based Short Message Service (SMS)  Alert (Mandarani et al., 2016) and (Utomo &amp; Saputra, 2016). Design  of the Multiple Warning system for detecting cigarette smoke using an  Arduino-based MQ-135 sensor (Gustavia &amp; Nurraharjo, 2018). Design  and build an alarm for detection of cigarette smoke and noise in the  classroom automatically based on a microcontroller (Ratnasari, 2018).  Design of a smoke detector in a smoking room using an MQ-2 sensor with  an Atmega328 microcontroller (Rahmadani, 2018). Sensor,  microcontroller, and IoT based smoke and fire detection system design  (Waworundeng, 2020). Design and build a detector and neutralizer of  indoor cigarette smoke using the Arduino-based PI (Propositional  Integral) method (Rahmat, Somawirata, &amp; Nasional, 2018). Design  and build a smoke and flame detector for health and fire prevention  based on Arduino Uno and GSM Sim900A (Hamdani, Handayani, &amp;  Risdianto, 2019). The application of the internet of things has also  been carried out for heart rate monitoring(Ilham, Hardisal, Balkhaya,  Candra, &amp; Sipahutar, 2019). also applied to light control using  social media applications(Rudi Arif Candra, Ilham, Hardisal, &amp;  Sriwahyuni, 2019).Control the infusion run out with Arduino Uno with  social media apps(Rudi Arif Candra, Saputra, Ilham, Setiawan, &amp;  Hardisal, 2020). Designing an Arduino-based Automatic Cocoa  Fermentation Tool(Ilham, Balkhaya, Candra, Hardisal, &amp; Hasbaini,  2020). control the water pump on traditional boats  automatically(Ihsan, Ilham, Candra, Yunan, &amp; Hardisal, 2020).Rain  monitoring system for nutmeg drying based on internet of things(Ilham,  Satria, Anugreni, Candra, &amp; Kusumo, 2021). Amplitude range data  validation in the Internet of Things (IoT) sensor (R. A. Candra,  Suherman, &amp; Ilham, 2021).</p>
      <p id="_paragraph-8">From the above background, this research will design a healthy  smart room from Arduino Uno-based cigarette smoke by using the  application of the MQ 2 sensor and displaying the percentage of smoke  and also based on warning and neutralizing smoke in the room.</p>
    </sec>
    <sec id="section-1">
      <title/>
    </sec>
    <sec id="literature-review">
      <title> LITERATURE REVIEW</title>
      <p id="_paragraph-9">There were many previous studies that discussed smoke detection,  there are quite a number of them, including a cigarette detection  system in a closed room based on the Internet of Things  (IoT)(Sulistiyowati et al., 2019). Design of a cigarette smoke  detection system using an Arduino-Based Short Message Service (SMS)  Alert (Mandarani et al., 2016) and (Utomo &amp; Saputra, 2016). Design  of the Multiple Warning system for detecting cigarette smoke using an  Arduino-based MQ-135 sensor (Gustavia &amp; Nurraharjo, 2018). Design  and build an alarm for detection of cigarette smoke and noise in the  classroom automatically based on a microcontroller (Ratnasari, 2018).  Design of a smoke detector in a smoking room using an MQ-2 sensor with  an Atmega328 microcontroller (Rahmadani, 2018). Sensor,  microcontroller, and IoT based smoke and fire detection system design  (Waworundeng, 2020). Design and build a detector and neutralizer of  indoor cigarette smoke using the Arduino-based PI (Propositional  Integral) method (Rahmat et al., 2018). Design and build a smoke and  flame detector for health and fire prevention based on Arduino Uno and  GSM Sim900A (Hamdani et al., 2019).</p>
    </sec>
    <sec id="section-2">
      <title/>
    </sec>
    <sec id="method">
      <title>METHOD</title>
      <p id="_paragraph-10">The tools and materials we use in designing a CO2 level detector in  a smoke-free room consist of hardware and software, including:</p>
      <p id="_paragraph-11">
        <bold id="_bold-4">Hardware</bold>
      </p>
      <p id="_paragraph-12">The hardware used includes:</p>
      <list list-type="bullet" id="list-54e02c536e22feef91598a5ff6a1e5ef">
        <list-item>
          <p>
            <disp-quote>
              <p>A computer with a minimum specification of Dual Core Ram
          2Gb works as a place to run Arduino Applications</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Minimum Arduino Uno Microcontroller System is the main
          minimum board in running the Arduino Uno microcontroller</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>16x2 LCD as a tool to display the result of reading the
          percentage value of CO . gas content</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Buzzer as a tool to make sound</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Relay as regulator On/Off Cooling Fan</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>MQ2 sensor as a CO . gas detection sensor</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Power Supply 9 V as a microcontroller and relay power
          supply</p>
            </disp-quote>
          </p>
        </list-item>
      </list>
      <p id="_paragraph-13">
        <bold id="_bold-5">Software</bold>
      </p>
      <p id="_paragraph-14">The software used in this research are:</p>
      <list list-type="bullet" id="list-a0eb2914cebcd1362bb4f373a2d0ba32">
        <list-item>
          <p>
            <disp-quote>
              <p>Windows 7 Ultimate 32 Bit: The operating system used to run
          all the software on the computer</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Arduino IDE 1.8.2: a software used in developing
          microcontroller applications starting from writing source
          programs, compiling, uploading, and testing terminals.</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Fritzing 0.9.3b.pc: open-source software that can be used
          to design electronic circuits</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Microsoft Visio 2007: a computer application program used
          to create diagrams, flowcharts, and network schematics.</p>
            </disp-quote>
          </p>
        </list-item>
        <list-item>
          <p>
            <disp-quote>
              <p>Proteus 8 Professional: software for PCB design with PSpice
          simulation at the schematic level.</p>
            </disp-quote>
          </p>
        </list-item>
      </list>
      <p id="_paragraph-15">
        <bold id="_bold-6">System planning</bold>
      </p>
      <p id="_paragraph-16">This design is made to simplify the process of designing a CO2  level detector in a smoke-free room. The series of tools is shown in  Figure 1.</p>
      <fig id="figure-panel-781042a27029a9abdb8afa93f8e29623">
        <label>Figure 1</label>
        <caption>
          <p id="paragraph-ef9ca04a1aca127d7d45c6e675e7c8cc"/>
        </caption>
        <graphic id="graphic-80629dccee6518f38e4b5635754c4bdf" mimetype="image" mime-subtype="png" xlink:href="https://jurnal.itscience.org/index.php/brilliance/article/download/1079/761/3515"/>
      </fig>
      <p id="paragraph-13a8e44ce6fd681f5178ce5a238c2026">Figure 1. System Design</p>
      <p id="_paragraph-18">
        <bold id="_bold-7">Tool Working Principle</bold>
      </p>
      <p id="_paragraph-19">The following is a flowchart of how the CO2 level detection tool  works. In Figure 2 there is a series of Flowchart programs for  detecting CO2 levels in a smoke-free room where the program starts  from the beginning then the source will be installed with an MQ2  sensor, a program that will detect CO2 levels if it is more than 20%  then the fan and alarm will turn on.</p>
      <p id="_paragraph-20">Figure 2. The working principle of the tool</p>
      <fig id="figure-panel-c4b163f3644863254f8a6b1b3a6fab7d">
        <label>Figure 2</label>
        <caption>
          <p id="paragraph-0749ccac22d28f1ae5a350bc2ef7272a"/>
        </caption>
        <graphic id="graphic-396cdbdaa4a32a02d5acf1c3e0b19fb4" mimetype="image" mime-subtype="png" xlink:href="https://jurnal.itscience.org/index.php/brilliance/article/download/1079/761/3516"/>
      </fig>
      <p id="_paragraph-21">
        <bold id="_bold-8">Set of tools</bold>
      </p>
      <p id="_paragraph-22">By using the Fritzing application, the following tool design is  obtained, this co2 level detector works based on input from the MQ2  sensor which will read the co2 level, then the HX711 module will  process the data, then be notified to NodeMCUESP8266 and controlled by  Arduino, which then Node MCU instructs the fan and buzzer to live.</p>
      <fig id="figure-panel-4d33fbfd43311f568323ebdcaf23172d">
        <label>Figure 3</label>
        <caption>
          <p id="paragraph-3bd602089898e2deffb7dbc2c079d6fc"/>
        </caption>
        <graphic id="graphic-b987bdb5ab5d7870f14a916bf49a1995" mimetype="image" mime-subtype="png" xlink:href="https://jurnal.itscience.org/index.php/brilliance/article/download/1079/761/3517"/>
      </fig>
      <p id="_paragraph-23">Figure 3. Schematic of the Tool</p>
      <p id="_paragraph-24">Tool Construction and Circuit explanation According to the tool  design in Figure 3 are as follows:</p>
      <p id="_paragraph-25">Table 1. Tool specifications</p>
      <table id="_table-2">
        <tbody>
          <tr id="table-row-bbc7f66b695a350d68aa9dd65dbac7a4">
            <th id="5c0fd21fd93ca1553eda364d84db52af">Component name</th>
            <th id="131b75463f5ab343e8cb7f46926df3cc">Specification</th>
            <th id="3bdf20b36441356549f5d3cd1ff0feb8">Number of units</th>
          </tr>
          <tr id="table-row-394de58d85d4ba5d49478cfbab7bdc11">
            <td id="caf5f8b1e33ce6bd5b25dba7165abd0d">Power Supply</td>
            <td id="f0ad142c24a8eec3dcc6459e083498d7">9V</td>
            <td id="da43d11c171443c7af30559140964b7d">1</td>
          </tr>
          <tr id="table-row-389c79de84b5e41b3130bf64486fc1ee">
            <td id="77aa4dd6a379875d0048e887f83d3bc7">Sensor</td>
            <td id="ad2eb12a4d5cc25d33ec944b27256341">Mq2</td>
            <td id="f135e2a2060fc2ff8d3ac8b5ae7f3b4e">1</td>
          </tr>
          <tr id="table-row-b31a93f2f40a59a982b6acc1110bafe4">
            <td id="759b4c65fdc9a863ec6342d3f5a2db57">Buzzer</td>
            <td id="2efd09bd05a48a4d059ac16bec669125">5v</td>
            <td id="618dd0b3eed1e1bb018ab82676ce0dd0">1</td>
          </tr>
          <tr id="table-row-abb69810300da2eeb5006b314bee66e6">
            <td id="6ef9dc83ccc950ed8550e00ee70ad7fd">Arduino</td>
            <td id="ea218bb4d02fd5ab64e4f06d53b22bb2">Uno R3</td>
            <td id="214827bf97b242b2dc7447362da37627">1</td>
          </tr>
          <tr id="table-row-3a6056c3f2f25254ccc8f012af41c09c">
            <td id="f32d048cf0ae2d57e3d0f6aba5ebc2e5">Relay Modul</td>
            <td id="ce4c31e2a6a5cc16afd0c06c1806eaa0">12V</td>
            <td id="fbb2a617ad61ab75d8c9151dba69c10b">1</td>
          </tr>
          <tr id="table-row-c6fe526e48ca78aa3ef73707cc506b4d">
            <td id="0defc59787589b372f57974cff1206b8">LCD</td>
            <td id="2c9872282d7780c3d5f9d2cae0e14d8e">LCM 1602 IIc</td>
            <td id="58688a6b0a077b8e0fce1f3cc479d4a8">1</td>
          </tr>
          <tr id="table-row-3470fee20840c9f98c533006bb8ddbba">
            <td id="279b4e9d0cd170a4f9d7e69b7cfb2917">Cooling Fan</td>
            <td id="6db9c87e14ea3174af366facd6473c3f">Fan</td>
            <td id="d578d3c75f7306452c1a8544710fb72e">1</td>
          </tr>
          <tr id="table-row-204cea9ea983cfdd6b27373e8e056417">
            <td id="798f2ee0cd526fbb5bcdaaf62ab87e14">Kabel Jumper</td>
            <td id="7e0d436d31966323ab09de740ddb2449">Male to female</td>
            <td id="d16eb3dc358f8eeb3b0fed25699477f5">12</td>
          </tr>
        </tbody>
      </table>
      <p id="_paragraph-26">When the voltage source is given, the power supply is on, the power  supply provides a voltage of 9V to the relay, where the relay has 2  voltages, to activate the buzzer it takes 5 volts of power and to  activate the Cooling Fan uses 5 volts of power too. The Mq2 sensor has  been connected to the Arduino Uno Microcontroller and will activate  when it detects smoke and the LCD will display the value to be  detected, in the form of a percentage.</p>
    </sec>
    <sec id="result">
      <title>RESULT</title>
      <p id="_paragraph-27">
        <bold id="_bold-9">Hardware implementation</bold>
      </p>
      <p id="_paragraph-28">Hardware implementation for making prototypes is using one MQ-2  sensor, Arduino Uno, and Cooling Fan, assembled using a beard, for  voltage divider using 5V Relay, 5v buzzer, while LCD to Arduino output  to read the content value as soon as possible in the test process  try.</p>
      <p id="_paragraph-29">
        <inline-graphic id="_inline-graphic-1" mimetype="image" mime-subtype="jpeg" xlink:href="media/image5.jpeg"/>
        <inline-graphic id="_inline-graphic-2" mimetype="image" mime-subtype="jpeg" xlink:href="media/image6.jpeg"/>
      </p>
      <fig id="figure-panel-097f8c64e3973d0ddadd30fa901af02c">
        <label>Figure 4</label>
        <caption>
          <p id="paragraph-4f95eb3a8cbf1926b7b52d5923dbe31e"/>
        </caption>
        <graphic id="graphic-a2a14bcffebfb637f042a65c4c200824" mimetype="image" mime-subtype="png" xlink:href="https://jurnal.itscience.org/index.php/brilliance/article/download/1079/761/3518"/>
      </fig>
      <p id="_paragraph-30">Figure 4. Hardware Implementation</p>
    </sec>
    <sec id="sensor-test">
      <title>Sensor Test </title>
      <p id="_paragraph-31">The MQ-2 smoke sensor circuit can be directly adjusted for  sensitivity by turning the trim pot. This sensor is commonly used to  detect gas leaks both at home and in the gas industry. The following  table shows the measurement results of the MQ-2 sensor using an Analog  Multimeter:</p>
      <p id="_paragraph-32">Table 2. Calculation of Voltage with Analog Multimeter</p>
      <table id="_table-3">
        <tbody>
          <tr id="table-row-522167e7f46fdba42ed448ccc206adc5">
            <th id="ba9540d7e3c447caad02bfe1d48bf10d">No. Sensor Room MQ-2</th>
            <th id="5af6213e3a0ec7861b346ed0a0bbf188">Sensor Voltage When There is Smoke</th>
            <th id="ff6c856cc954517bd37d95e0abc308d0">MQ-2 Sensor Voltage When There is Smoke</th>
          </tr>
          <tr id="table-row-c06cc9c3938e1213ef041e6c1018aecb">
            <td id="6db4f1ee8d6f98140b7e25c91defd481">MQ-2 Sensor In Room 1</td>
            <td id="d58a2e1070cb546a4a08fe71936d6c5f">4.1 Volts</td>
            <td id="109cace405ad8a52f6ffec74321629dd">4.2 - 4.4 Volt</td>
          </tr>
          <tr id="table-row-a796f09ae9ecd3fd3d1938ca056216b7">
            <td id="e7b9464820a00c781ea2bbce416531e3">MQ-2 Sensor In Room 2</td>
            <td id="f2c195a01d6f79e50ca83c74b817d3dd">4.1 Volts</td>
            <td id="a3fe8141f8906c041f22d626bca9a686">4.2 - 4.4 Volt</td>
          </tr>
        </tbody>
      </table>
      <p id="_paragraph-33">
        <bold id="_bold-10">Tool Testing and Implementation</bold>
      </p>
      <p id="_paragraph-34">In this experiment, the author conducted testing in several Cafés  or Coffee Shops whose building constructions were closed, including  Premier Cafe, Polytechnic Canteen, and Radja Kopi Café.</p>
      <p id="_paragraph-35">Table 3. Testing Criteria</p>
      <table id="_table-4">
        <tbody>
          <tr id="table-row-06f9cdc55573b65ca9d6562fe092628c">
            <th id="52d204ea91be36a5a6811e39a87faa73">Nama Café</th>
            <th id="851f7fc238aa335d29a2f51729a14ac5">Room Area(meters)</th>
            <th id="b747d504b873d49eabff9b5fbcaf32b5">Number of Smokers</th>
            <th id="d27b1c32a68c8cd1feabeab5b3b2ab2d">Fast rate (%)</th>
            <th id="86789babc355046306fbe93da9325d91">Room Criteria</th>
            <th id="4ba76afa2cdf98346db1a38c882387f3">Information</th>
          </tr>
          <tr id="table-row-d2d4ced1d3a1ddd40aea70220321fbd4">
            <td id="23b214ee606d6213794dc647f31caa8e">King Coffee</td>
            <td id="e2892ae26bcbcd7ee9700fa7952ef036">8 x 8 m</td>
            <td id="0d992c9b1b0558bf98229e0a42600963">15</td>
            <td id="d69fa502b848e37c5527289522fc725e">22, 24, 25, 27</td>
            <td id="05cd9b5e46f107d0f1309cd2b2c7afb5">Semi Closed</td>
            <td id="757708237dd3507936651f405f27fbeb">4 Fans</td>
          </tr>
          <tr id="table-row-e06e83901a181c8ae114fadfb57e1e27">
            <td id="049eea4e29718fba1c19bd2e968e20bc">Premier Coffee</td>
            <td id="10e4ae2c23e1c0cebf328280bf9ad455">8 x 7 m</td>
            <td id="eacd220d3fea7f54126c19977784362c">18</td>
            <td id="85626a79ce8d34159d0a5da553337bc3">21,22,22,26,27, 30,32,33,35,36, 39, 42, 46</td>
            <td id="e32e1adc46bc266cd3a08eabc883cdbe">Semi Closed</td>
            <td id="369b5e22e7c9472048680041ac100f09">2 Fans</td>
          </tr>
          <tr id="table-row-cb82c4abf401d30a89ddd4e0a8e24e39">
            <td id="467a14bf102ebcc4d281e51f6f57b562">Poltas Canteen</td>
            <td id="75cb8d67dc3d7b6ffdc798d0fc3f5d80">4x5 m</td>
            <td id="369670e5597bc59384e4e75314ff622f">17</td>
            <td id="9fe0dd7f663c41a6fe604dee9a6118ae">55,50,43,39,28, 27,26,25,24,23, 22,21,21,20,22,        21,19,19,20</td>
            <td id="e1c0eef976f576cb652407e6cee62f3d">Open</td>
            <td id="61a4fb1c5672cc944b9a3b42061510b1">No Fans</td>
          </tr>
        </tbody>
      </table>
    </sec>
    <sec id="discussion">
      <title>DISCUSSION</title>
      <p id="_paragraph-36">Testing of the detection and cleaning system of cigarette smoke was  carried out at three different locations, namely at Raja coffee,  Primer Caffe, and Poltas Kantin, and the results showed that open  spaces had higher CO2 levels than closed spaces because they were easy  to detect and clean using a colling fan.</p>
    </sec>
    <sec id="conclusion">
      <title>CONCLUSION</title>
      <p id="_paragraph-37">The ability of this smoke detector to detect the presence of  cigarette smoke in the air depends on the concentration of smoke, the  distance from the source and sensor, and the direction of movement of  the smoke. and from the results of tests carried out at three  locations, it was explained that a closed room equipped with a colling  fan to clean cigarette smoke levels made the room cleaner and reduced  co2 levels.</p>
    </sec>
    <sec id="references">
      <title>REFERENCES</title>
      <p id="_paragraph-38">Candra, R. A., Suherman, &amp; Ilham, D. N. (2021). Amplitude range  data validation in Internet of Things (IoT) sensor. <italic id="_italic-1">IOP  Conference Series: Earth and Environmental Science</italic>, <italic id="_italic-2">644</italic>(1).  https://doi.org/10.1088/1755-1315/644/1/012063</p>
      <p id="paragraph-ebb41d4e4fb6fb35d1b45ab06c1c3a4d">Candra, Rudi Arif,  Ilham, D. N., Hardisal, H., &amp; Sriwahyuni, S. (2019). Light Control  Design by Using Social Media Telegram Applications Based on Internet  Of Things (IOT). <italic id="_italic-3">SinkrOn</italic>, <italic id="_italic-4">3</italic>(2), 200.  https://doi.org/10.33395/sinkron.v3i2.10094</p>
      <p id="paragraph-c554877062aa5bbdf87a435fda608485">Candra, Rudi Arif, Saputra,  D. S., Ilham, D. N., Setiawan, H., &amp; Hardisal, H. (2020). The  Infusion of Notification Design With an Application of Social Media  Based on a Internet of Things (IOT). <italic id="_italic-5">SinkrOn</italic>, <italic id="_italic-6">5</italic>(1), 129.  https://doi.org/10.33395/sinkron.v5i1.10610</p>
      <p id="paragraph-9b87638f160b18afe34c3ea2466e8876">Gustavia, R. A., &amp;  Nurraharjo, E. (2018). Rancang Bangun Sistem Multiple Warning Deteksi  Asap Rokok. <italic id="_italic-7">Prosiding SINTAK 2018</italic>, 278–282.</p>
      <p id="paragraph-33d03068f1bc8c46ca37941ac820ce89">Hamdani,  D., Handayani, E., &amp; Risdianto, E. (2019). Rancang Bangun Alat  Pendeteksi Asap Rokok Dan Nyala Api Untuk Penanggulangan Kesehatan Dan  Kebakaran Berbasis Arduino Uno Dan GSM SIM900A. <italic id="_italic-8">Jurnal Ilmu  Fisika | Universitas Andalas</italic>, <italic id="_italic-9">11</italic>(1), 37–46.  https://doi.org/10.25077/jif.11.1.37-46.2019</p>
      <p id="paragraph-9eadbf61ce52833f37e945bfa5c6a20a">Ihsan, I., Ilham, D. N.,  Candra, R. A., Yunan, A., &amp; Hardisal, H. (2020). Design of an  Automatic Water Pump on a Traditional Boat. <italic id="_italic-10">SinkrOn</italic>, <italic id="_italic-11">5</italic>(1), 100.  https://doi.org/10.33395/sinkron.v5i1.10635</p>
      <p id="paragraph-388672c1e3d86ff68e6829c9a9e46f71">Ilham, D. N., Balkhaya, B.,  Candra, R. A., Hardisal, H., &amp; Hasbaini, H. (2020). Designing an  Arduino-based Automatic Cocoa Fermentation Tool. <italic id="_italic-12">SinkrOn</italic>, <italic id="_italic-13">5</italic>(1), 92–99.  https://doi.org/10.33395/sinkron.v5i1.10611</p>
      <p id="paragraph-38d0b0a176199e129ede272c901745aa">Ilham, D. N., Hardisal, H.,  Balkhaya, B., Candra, R. A., &amp; Sipahutar, E. (2019). Heart Rate  Monitoring and Stimulation with the Internet of Thing-Based (IoT)  Alquran Recitation. <italic id="_italic-14">SinkrOn</italic>, <italic id="_italic-15">4</italic>(1),  221. https://doi.org/10.33395/sinkron.v4i1.10392</p>
      <p id="paragraph-c44616770300565f8d5d93b27d32d06e">Ilham, D. N., Satria,  E., Anugreni, F., Candra, R. A., &amp; Kusumo, H. N. R. A. (2021).  Rain Monitoring System for Nutmeg Drying Based on Internet of Things. <italic id="_italic-16">Journal of Computer Networks, Architecture, and  High-Performance Computing</italic>, <italic id="_italic-17">3</italic>(1), 52–57.  https://doi.org/10.47709/cnahpc.v3i1.933</p>
      <p id="paragraph-88ebba9ce551d669c01a63dd8dd0bd8e">Mandarani, P., Ariani, R.,  Jurusan, D., Informatika, T., Industri, F. T., Jurusan, M., …  Nanggalo, K. (2016). Perancangan Sistem Deteksi Asap Rokok Menggunakan  Layanan Short Message Service ( Sms ) Alert Berbasis Arduino. <italic id="_italic-18">Jurnal TEKNOIF</italic>, <italic id="_italic-19">4</italic>(2), 66–75.  https://doi.org/10.21063/JTIF.2016.V4.2.66-75Rahmadani, S. (2018). <italic id="_italic-20">Perancangan Alat Pendeteksi Asap pada Ruangan Bebas Rokok  Menggunakan Sensor MQ-2 dengan Mikrokontroller  Atmega328</italic>.</p>
      <p id="paragraph-27cc615efc5250a2b8c3bfb7f85b62d7">Rahmat, A., Somawirata, I. K., &amp; Nasional, I.  T. (2018). <italic id="_italic-21">Rancang Bangun Alat Pendeteksi Dan Penetralisir  Asap Rokok Dalam RUangan Menggunakan Metode PI (Proportional Integral)  Berbasis Arduino</italic>. 1–8.</p>
      <p id="paragraph-af854e9b0d52ee084a1e13d426288c3d">Ratnasari, I. D. (2018). Rancang Bangun  Alarm Deteksi Asap Rokok dan Kebisingan Pada Ruang Kelas Secara  Otomatis Berbasis Mikrokontroler. <italic id="_italic-22">Elinvo (Electronics,  Informatics, and Vocational Education)</italic>, <italic id="_italic-23">3</italic>(2), 54–60.  https://doi.org/10.21831/elinvo.v3i2.18747</p>
      <p id="paragraph-dc2e0ee1519a092e95f82605a30b84a5">Sulistiyowati, I.,  Findawati, Y., Ayubi, S. K. A., Jamaaluddin, J., &amp; Sulistyanto, M.  P. T. (2019). Cigarette detection system in closed rooms based on  Internet of Thing (IoT). <italic id="_italic-24">Journal of Physics: Conference  Series</italic>, <italic id="_italic-25">1402</italic>(4).  https://doi.org/10.1088/1742-6596/1402/4/044005</p>
      <p id="paragraph-11447fae2ed7a6f5ec016b991feecc64">Utomo, B. T. W., &amp;  Saputra, D. S. (2016). Simulasi Sistem Pendeteksi Polusi Ruangan  Menggunakan Sensor Asap Dengan Pemberitahuan Melalui SMS (Short  Message Service) Dan Alarm Berbasis Arduino. <italic id="_italic-26">Jurnal Ilmiah  Teknologi Informasi Asia</italic>, <italic id="_italic-27">10</italic>(1),  56–68.</p>
      <p id="paragraph-376b082cef7d6059d79094de9d4b0ad5">Waworundeng, J. M. S. (2020). Desain Sistem Deteksi Asap dan Api  Berbasis Sensor, Mikrokontroler dan IoT. <italic id="_italic-28">CogITo Smart  Journal</italic>, <italic id="_italic-29">6</italic>(1), 117.  https://doi.org/10.31154/cogito.v6i1.239.117-127</p>
    </sec>
  </body><back/></article>
