TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 org/10. 51967/tepian. 344 A 2021 TEPIAN Agricultural Polytechnic of Samarinda This work is licensed under a Creative Commons Attribution 4. 0 License CC-BY Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center Muhammad Awaludin STMIK Widya Cipta Dharma. Samarinda, 75123. Indonesia mhmmdawhal@gmail. *Corresponding author Andi Yusika Rangan STMIK Widya Cipta Dharma. Samarinda, 75123. Indonesia andi@wicida. Amelia Yusnita STMIK Widya Cipta Dharma. Samarinda, 75123. Indonesia amelia@wicida. Received: 2021-03-01. Revised: 2021-06-27. Accepted: 2021-07-31. Published: 2021-09-01 Abstract-Temperature and humidity are important things in a chemical laboratory. By utilizing the internet, operators can remotely monitor laboratory temperatures and humidity with the Internet of Things (IoT) system. The Internet of Things (IoT) system can make it easier for operators to monitor temperature and humidity in chemical laboratories wherever and DHT11 sensor which functions as a temperature and humidity detector. NodeMCU ESP8266 microcontroller which functions as a data processor so that the DHT11 sensor detection results can be displayed on the monitoring website so that operators can see directly the results of temperature and humidity measurements at the chemical laboratory. This research was conducted at the Samarinda Industrial Research and Standardization Center. Data collection methods used are literature study, interviews, and While the system development method used is prototype. As well as the supporting software used by the Arduino Integrated Development Environment. XAMPP, and Sublime. chemical laboratory repeatedly to collect air temperature and humidity data. Based on the above, research was carried out at the chemical laboratory at the Samarinda Industrial Research and Standardization Center (Baristand Industri Samarind. so that temperature and humidity monitoring can be monitored remotely in real time through an interface without having to go out and about in the chemical laboratory by utilizing technology temperature and humidity sensor. In this research, a tool will be made that can monitor air temperature and humidity in an IoT-based chemical laboratory (Irfan. II. LITERATURE REVIEW System According to Susanto . a system is a collection . of subsystems / parts / components of any physical or non-physical which are interconnected with each other and work together harmoniously to achieve a specific goal. Keywords-Monitoring. Temperature. Humidity. NodeMCU ESP8266. DHT11 Sensor. Internet of Things According to Gaol . , the system is the relationship of one unit to other units that are interconnected with each other and which cannot be separated and lead to a single unit in order to achieve predetermined goals. If one unit is jammed or disturbed, other units will also be disturbed to reach the stated INTRODUCTION A chemical laboratory is a special room equipped with the necessary tools and facilities so that it can be used for conducting experiments, scientific research, measurements or scientific training. Air temperature and humidity are important in chemical laboratories, because they greatly affect substances or materials that are sensitive to changes in temperature and humidity which can react at one time (April 2. Changes in temperature and humidity must be easily and precisely monitored so that the laboratory room conditions can be declared safe. Monitoring of temperature and humidity in chemical laboratories has been done manually using a thermometer or hygrometer, operators have to go out and out of the Monitoring According to Sutabri . Monitoring is defined as a step to assess whether the activities carried out are in accordance with the plan, identify problems that arise so that they can be immediately resolved, assess whether the work patterns and management used are appropriate to achieve goals, find out the relationship between activities and objectives. to get a measure of progress. According to Aviana . Monitoring is a very important process in organizational activities that can -85- TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. determine whether or not an organizational goal is The purpose of monitoring is to ensure that the main tasks of the organization can run according to a predetermined plan. when filling the burette there are potential hazards such as injury, eye irritation, and ingestion of chemicals. The use of ovens and stoves with existing potential hazards such as exposure to heat, fire, use of measuring cups that are lumpy results in scratches. Taking reagents from a cupboard or storage area for chemicals is a potential hazard that can occur, including dizziness, nausea, sore throat, eye irritation and shortness of Temperature According to Hidayati . , the temperature in Picture 1 is a quantity that states the degree of heat and coldness of an object and the tool used to measure temperature is a thermometer. In everyday life people tend to use the sense of touch to measure temperature. According to Sunardi and Siti . , temperature can be defined as a measure of the degree of heat or coldness of an object. To measure the temperature of an object, a device called a thermometer is used. Thermometer is a tool used to measure the temperature of an object or system quantitatively. ESP8266 NodeMCU microcontroller NodeMCU in Picture 2 is an IoT platform that is open source. The hardware consists of the ESP8266 System On Chip from the ESP8266 made by Ekspresif System, as well as the firmware used, which uses the Lua scripting programming language. The term NodeMCU by default actually refers to the firmware used instead of the development kit hardware. (Ekojono et al, 2. The development of this kit is based on the ESP8266 module, which integrates GPIO. PWM (Pulse Width Modulatio. IIC, 1-Wire, and ADC (Analog to Digital Converte. all on one board. The uniqueness of NodeMCU is its very small board, which is 4. 83 cm long, 2. 54 cm wide, and weighs 7 grams. But despite its small size, this board is equipped with Wi-Fi features and open source firmware. The use of NodeMCU is more profitable in terms of cost and space efficiency, because NodeMCU is small in size, more practical and the price is much cheaper than the Arduino Uno. Arduino Uno itself is one type of microcontroller that is in great demand and has the same C programming language as NodeMCU, but Arduino Uno does not have a Wi-Fi module and is not based on IoT (Internet of Thing. To be able to use the Arduino Uno Wi-Fi requires an additional device in the form of a Wi-Fi but Arduino Uno does not have a Wi-Fi module and is not based on IoT (Internet of Thing. To be able to use the Arduino Uno Wi-Fi requires an additional device in the form of a Wi-Fi shield. but Arduino Uno does not have a Wi-Fi module and is not based on IoT (Internet of Thing. To be able to use the Arduino Uno Wi-Fi requires an additional device in the form of a WiFi shield. Picture 1. Temperature Internet of Things (IoT) According to Hardyanto . Internet of Things can be defined as the ability of various devices to connect and exchange data through the internet IoT is a technology that allows control, communication, collaboration with various hardware, data via the internet network. So it can be said that the Internet of Things (IoT) is when we connect things . that are not operated by humans to the internet. According to Burange and Misalkar . Internet of Things (IoT) is a structure in which objects, people are provided with an exclusive identity and the ability to move data through the network without requiring two directions between humans, namely source to destination or human to computer interaction. Chemistry laboratory According to Amanah . the laboratory is one of the places for the development of science through various research and experiments, in research or experimental activities, of course, using various types of tools and chemicals to support their activities and several other supporting facilities such as water, gas, electricity and cupboards. Acid, of course, tools, chemicals and laboratory facilities and their activities have the potential to cause an accident. Potential hazards that occur in chemical laboratories include when taking reagents from the fume hood, potential hazards that occur such as poisoning, shortness of breath, eye irritation, skin irritation, and burns. Then Picture 2. NodeMCU Board Specifications owned by NodeMCU. Board This is based on the ESP8266 serial wifi SoC (Single on Chi. with onboard USB to TTL, the wireless used is IEE 802. 11b / g / n. 2 tantalumcapsitir 100 micro farad and 10 micro -86- TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. IO0: GPIO0. IO4: GPIO4. IO5: GPIO5. 3v LDO regulator. Blue LED as an indicator. Cp2102 USB to UART Bridge. Reset button. USB port and flash button. There are 9 GPIOs in which there are 3 PWM pins, 1 x ADC channel, and RX TX pins. 3 ground pins. S3 and S2 as GPIO pins SI MOSI (Master Output Slave Inpu. , namely the data path from the master and into the slave. SC cmd / sc. SO MISO (Master Slave Inpu. is the data path out of the slave and into the master. SK which is the SCLK from master to slave which functions as a clock. Pin Vin as a voltage charge. Built in 32-bit MCU. RXD: UART0_RXD. GPIO3. TXD: UART0_TXD. GPIO1. DHT11 The DHT11 sensor in Picture 4 is a sensor module that functions to sensing temperature and humidity objects that have an analog voltage output that can be further processed using a microcontroller. This sensor module is classified into a resistive element such as a temperature measuring device, for example, namely NTC. The advantages of this sensor module compared to other sensor modules are in terms of the quality of the reading of sensing data, which is more responsive, which has speed in terms of sensing temperature and humidity objects, and the data that is read is not easily interfered with. The DHT11 sensor generally features a fairly accurate temperature and humidity reading value The calibration data is stored in the OTP program memory which is also called the calibration The DHT11 sensor has 2 versions, 4 pin version and 3 pin version. There is no difference in the characteristics of these 2 versions. In the 4 pin version,. Pin 1 is the source voltage, ranging from 3V to 5V. Pin 2 is the output data. The 3rd pin is the NC pin . ormally clos. aka not used and the 4th pin is Ground. Whereas in the 3 leg version, pin 1 is VCC between 3V to 5V, pin 2 is the output data and pin 3 is Ground. The ESP8266-12E NodeMCU circuit in Picture 3 is a brain and control system for a series of temperature and humidity monitoring tools using an online web based on ESP8266. Picture 3. NodeMCU ESP8266 Pin Arrangement From the picture above, you can see each of the ESP8266 NodeMCU pins. RST: functions to reset the module. ADC: Analog Digital Converter. Input voltage range 0-1v, with digital value range 0-1024. EN: Chip Enable. Active High. IO16: GPIO16, can be used to build chipsets from deep sleep mode. IO14: GPIO14. HSPI_CLK. IO12: GPIO12. HSPI_MISO. IO13: GPIO13. HSPI_MOSI. UART0_CTS. VCC: 3. 3V (VDD) power supply. CSO: Chip Selection. MISO: Slave output. Main input. IO9: GPIO9. IO10 GBIO10. MOSI: Main Output Slave Input. SCLK: Clock. GND: Ground. IO15: GPIO15. MTDO. HSPICS. UART0_RTS. IO2: GPIO2. UART1_TXD. Picture 4. DHT11 Sensor Pin Arrangement Prototype Method The prototype method in Picture 5 used in this research is the prototype method, according to Roger S. Pressman, the stages of the prototype method are as . Listening to Customers At this stage, the system needs to be collected by listening to complaints from customers. To create a system that suits your needs, you must first know how the system is running and then find out what problems occur. Designing and Making Prototypes At this stage, the design and manufacture of a system prototype is carried out. Prototypes that are made are tailored to the system requirements that -87- TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. have been previously defined from customer or user . Trials At this stage, the prototype of the system is tested by customers or users. Then do an evaluation of the deficiencies of the needs. Development then returned to listening to complaints from customers to improve the existing prototype. INPUT PROCESS OUTPUT Relay Fan NodeMCU Sensor DHT11 ESP8266 (WiF. LCD DATABASE Monitoring Website Picture 6. Block Diagram Picture 7 is a network architecture image consisting of several components. ESP8266 (WiF. : this tool functions to send sensor data obtained from the DHT11 sensor, sensor data is sent in the form of an HTTP request to the server via the HTTP protocol. Access Point: used to connect the ESP8266 to the internet. Server: functions to receive and process data from the sensor results sent by the ESP8266 via the HTTP protocol. Picture 5. Prototype Model White-Box Testing White-box testing is done to test existing By looking into the module to examine the existing program code and analyze whether there is an error or not if the module produces output that is not in accordance with the process being carried out, the program lines, variables, and parameters involved in that unit will be checked. One by one and repaired then recompiled (Prasetyo, 2. Database HTTP Server The block diagram in Picture 6, explains the design of a temperature and humidity monitoring system design in a chemical laboratory. The DHT11 sensor measures the temperature and humidity of the air in the chemical laboratory, then the NodeMCU ESP8266 microcontroller processes the sensor data that has been obtained from the DHT11 sensor which is then displayed on the LCD (Liquid Crystal Displa. , there is an ESP8266 connected to the NodeMCU which functions for connection to a Wi-Fi network where DHT11 sensor data is sent or stored to the database so that the sensor data can be displayed remotely in real time using the Monitoring Website, and there is a relay that functions to connect and cut off the electric current on the fan (Saputro, 2. Send Notification (HTTP Respons. Send Sensor Data (HTTP Reques. RESEARCH METHODS Internet Access Point Send Notification (HTTP Respons. Send Sensor Data (HTTP Reques. Sensor DHT11 NodeMCU ESP8266 (WiF. Picture 7. Network Architecture The system flowchart in Picture 8 explains that when the temperature and humidity monitoring tool is -88- TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. turned on, the first thing to do is measure the temperature and humidity. The measurement results are displayed in the form of output that is displayed on the LCD (Liquid Crystal Displa. and the temperature and humidity monitoring website that has been made. If the temperature exceeds 25 degrees Celsius, the automatic cooling control system will be ON. Database Creation The database used is SQLyog Enterprise. Database created using tables that have been adapted to the needs of temperature and humidity monitoring tools in chemical laboratories. This database file is used to store data and information on the results of temperature and humidity measurements in chemical laboratories. There are 2 tables in the database, an admin table and a monitoring table. Table 1. Admin table Field Name Data Type Username Varchar Password Varchar Name Varchar Nip Varchar Date of birth Date Information Username the user used when logging in to the website. User used when logging in to the website. User's full name. User Identification Number of the User's date of Table 2. Monitoring table Field Name Picture 8. System Flowchart Data Type BigInt Temperature Float Int date time Timestamp IV. RESULTS AND DISCUSSION Tool Making The hardware or hardware in Picture 9 used in temperature and humidity monitoring tools in chemical laboratories is the DHT11 sensor which is a temperature and humidity sensor. NodeMCU ESP8266 which is a microcontroller that will process DHT11 sensor data so that it becomes output or output data, fan fans, relay, breadboard. LCD, and jumper cables. A series of temperature and humidity monitoring tools can be seen in Picture 1 (Wijanarko, 2. Information Temperature Temperature obtained from the measurement results of the DHT11 sensor. Humidity obtained from the measurement results of the DHT11 sensor. The date and time the IV. RESULTS AND DISCUSSION Tool Making The hardware or hardware in Picture 9 used in temperature and humidity monitoring tools in chemical laboratories is the DHT11 sensor which is a temperature and humidity sensor. NodeMCU ESP8266 which is a microcontroller that will process DHT11 sensor data so that it becomes output or output data, fan fans, relay, breadboard. LCD, and jumper cables. A series of temperature and humidity monitoring tools can be seen in Picture 1 (Wijanarko, 2. Picture 9. Series of Temperature and Humidity Monitoring Equipment -89- TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. Website making There are several pages that will be created on the temperature and humidity monitoring website in this chemical laboratory. Display Login Page In Picture 10, a website login page displays by entering the username and password of the user or operator, so you will be able to access the temperature and humidity monitoring website at the chemical laboratory. Picture 12. Display of Air Temperature and Humidity Data Page Chart Page Views Pictures 13 and 14 are a page display of a chart or graph of air temperature and humidity in a chemical laboratory based on the last 50 data. Picture 10. The Login Page Display Home Page Display Picture 11, is the initial display when login is successful, where on this page there is the latest temperature and humidity data stored in the database. Picture 13. Graphic Page Display (Temperatur. Picture 14. Graph Page View (Humidit. Hardware Testing DHT Sensor Test11 Testing the temperature and humidity sensors using DHT11 aims to determine the accuracy of the DHT11 sensor air temperature and humidity Picture 11. Home page display Display of Temperature and Humidity Data Page Picture 12 is a detailed page display of the temperature and humidity data history based on the last 50 data displayed in detail where the data is data stored in the database. Table 3. Temperature test results on the DHT11 sensor and thermometer No. -90- DHT11 (Temperatur. Thermometer Error (A TEPIAN Vol. 2 No. 3 (September 2. p-ISSN 2721-5350 e-ISSN 2721-5369 Awaludin. Rangan . , & Yusnita . Internet of Things (IoT) Based Temperature and Humidity Monitoring System in the Chemical Laboratory of the Samarinda Industry Standardization and Research Center. TEPIAN, 2. , 85-93. https://doi. org/10. 51967/tepian. Table 4. Humidity test results on the DHT11 and Hygrometer sensors DHT11 (Humidit. No. Hygrometer ESP8266 microcontroller. The test here is carried out when the system is turned on, the LCD will turn on by displaying temperature and humidity information in the chemical laboratory. Error (% RH) Fan Testing (Coolin. The fan test . in Table 5 aims to determine whether the fan works in accordance with what has been programmed previously. Table 5. The fan test results . No. DHT11 (Temperatur. Fan OFF OFF OFF Picture 15. LCD Testing When testing the LCD, the temperature and humidity values read by the DHT11 sensor in the chemical laboratory will appear so that if there is no internet connection which makes monitoring via the website impossible, monitoring can still be done via the LCD. From the data obtained from the table above, the results of temperature measurements exceed 25degrees Celsius will make the conditions on the fan turn on. If the temperature measurement is less than or equal to 25 degrees Celsius, the fan will die. White-Box Testing Testing on temperature and humidity monitoring tools in the chemical laboratory in Table 6 includes several modules. Testing includes program listings, types of tests, expected results, and test results. 16x2 LCD testing The function of the LCD program in Picture 15 shows the results of temperature and humidity measurements obtained from the DHT11 sensor readings that have been processed by the NodeMCU Table 6. White Box Testing Description Connect NodeMCU ESP8266 to a WIFI Reads air temperature and humidity on the DHT11 sensor Program Code // include the ESP8266 library #include