Monitoring System For Temperature And Humidity Measurement . - IJISRT

Transcription

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165Monitoring System for Temperature and HumidityMeasurement with DHT11 Sensor Using NodeMCU1.Muhammad Syahputra NovelanScience and Technology Faculty University PembangunanPanca Budi Medan, IndonesiaAbstract:- Temperature and humidity are importantvariables to determine changes in the state of a substanceor object. By knowing the change in temperature, we canknow the direction of the physical change. Therefore, it isvery important to monitor changes in temperature andhumidity in a system. To fulfill various needs, varioussensors were developed. Therefore, it is very important tomonitor changes in temperature and humidity in asystem. To fulfill various needs, various sensors weredeveloped. In this study, the authors use the NodeMCUmicrocontroller development board as a control centerthat connects to wifi communication. DHT11 temperatureand humidity sensor which functions as a temperaturegauge of 4 objects in turn, namely the temperature of theice cubes, temperature of water heated by electric waterheater and temperature of electric solder neck.Measurements are made in contact with a maximumdistance of 0.4 cm from the object. The results of theDHT11 temperature sensor readings will be continued bysending real time information every second with units of C which can be seen using the visual basic netapplication, which is desktop-based for monitoring datawith communication via wifi that is running well andstable. Temperature and humidity measurement data canbe stored through an online database, namely firebase.Because sensor data is stored by NodeMCU to theFirebase Real-time Database, the VB Application canaccess it anytime and anywhere.Keywords;- Sensor DHT11, NodeMCU, Visual Basic Net,Firebase, Wiifi.I.INTRODUCTIONTemperature and humidity are important variables todetermine changes in the state of a substance or object. Byknowing changes in temperature and humidity, we can knowthe direction of physical change. Therefore, it is veryimportant to monitor changes in temperature and humidity ina system. Monitoring temperature and humidity is veryimportant, especially in the industrial sector, therefore thereare several ways to monitor temperature and humidity.[4]One way to monitor changes in temperature andhumidity requires a DHT11 device or sensor. By using thissensor, users can monitor the temperature and humidity of anobject remotely. So that users can monitor a dangerous objectwithout having to be close together. The advantage of thisIJISRT20OCT1422.Muhammad AminScience and Technology Faculty University PembangunanPanca Budi Medan, Indonesiasensor is that it is sensitive to changes in temperature andhumidity every second that can be seen in real time. [4]Based on this, the author wants to create a monitoringsystem for measuring temperature and humidity remotelyusing temperature and humidity sensors to make it easier forusers to monitor the temperature of an object remotely. Thistool system is based on the NodeMCU microcontrollerdevelopment board as a control center as well as a DHT11sensor as a tool for measuring temperature and humidity aswell as data. The results of DHT11 temperature and humiditysensor readings will be continued by sending real timeinformation every second with C units which can be seenusing a visual application. basic net which is desktop-basedfor monitoring data with communication via wifi that isrunning well and stable. Temperature and humiditymeasurement data can be stored through an online database,namely firebase. Because the sensor data is stored byNodeMCU to the Firebase Real-time Database, then the VBapplication can access it anytime and anywhere. [6].II.LITERATURE REVIEWA. MonitoringMonitoring (Indonesian: monitoring) is monitoringwhich can be described as awareness of what one wants toknow, high-level monitoring is undertaken in order to makemeasurements over time that indicate movement toward oraway from it. Monitoring will provide information about thestatus and the tendency that the completed measurements andevaluations are repeated over time, monitoring is generallycarried out for a specific purpose, to check against thefollowing process objects or to evaluate conditions or progresstowards management outcomes objectives for the effects ofactions of some type including actions to maintain ongoingmanagement.[2]B. Modul NodeMCU ESP8266NodeMCU is an electronic board based on the ESP8266chip with the ability to carry out microcontroller functions andalso an internet connection (WiFi). There are several I / Opins so that they can be developed into a monitoring andcontrolling application for the IOT project. The ESP8266NodeMCU can be programmed with the Arduino compiler,using the Arduino IDE. The physical form of NodeMCUESP8266, there is a USB port (mini USB) so that it will makeprogramming easier. NodeMCU ESP8266 is a developmentderivative module of the ESP8266 family of IoT (Internet ofThings) platform modules of type ESP-12. In function, thiswww.ijisrt.com123

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165module is almost similar to the Arduino platform module, butwhat makes it different is that it is devoted to “Connected tothe Internet “.[6]provides hosting for static files with CND and SNLfacilities.[8]III.C. SensorSensor is a tool for detecting / measuring something,which is used to change mechanical, magnetic, and thermalvariations, rays and chemistry become voltage and electriccurrent. In the environment of control systems and robotics,sensors provide similarities that resemble eyes, hearing, nose,tongue which will then be processed by the controller as thebrain.[5]A. Research StagesIn general, the stages of the entire study are as follows:Describing the ProblemAnalyzing ProblemsD. Sensor DHT11Sensor DHT11 is a sensor with digital signal calibrationthat is able to provide temperature and humidity information.This sensor is classified as a component that has a very goodlevel of stability, especially when coupled with the ATmega8microcontroller capability. Highest quality product, fastreading response, and anti-interference capability, at anaffordable price. DHT11 has a very accurate calibrationfeature. This calibration coefficient is stored in the OTPprogram memory, so that when the internal sensor detectssomething temperature or humidity, this module reads thesensor coefficient. Small size, with signal transmission up to20 meters, making this product suitable for manyapplications. Air humidity describes the moisture content inthe air which can be expressed as absolute humidity, relativehumidity and water vapor pressure deficit. Relative humidityis the comparison between the actual water vapor content orpressure with the saturation state or the air capacity toaccommodate water vapor. Electronic equipment can alsorust easily if the air around it is high enough humidity.Therefore, Information about the humidity in a certain areabecomes something important to know because of the effectsit causes. Information about the humidity value obtainedfrom the measurement process. The tool usually used tomeasure air humidity is a hygrometer. DHT11 is a digitalsensor that can measure the temperature and humidity of thesurrounding air. This sensor is very easy to use withRaspberries. Has a very good level of stability and features avery accurate calibration. The calibration coefficient is storedin the OTP program memory, so that when the internal sensordetects something, then this module balances the coefficientsin its calculations.[4]E. FirebaseFirebase is a realtime database service provider andbackend as a service. An application that allows developersto create APIs to be synced for different clients and stored inthe Firebase cloud. Firebase has many libraries that make itpossible to integrate this service with Android, Ios, Javacript,Java, Objective-C and Node.JS. Firebase databases are alsoaccessible via the REST API. The REST API uses theServer-Sent Event protocol by establishing an HTTPconnection to receive push notifications from the server.Developers use the REST API for subsequent data postsFirebase client library that has been implemented in anapplication that is built which will retrieve data in realtime.Developers can also use this database to secure data using theFirebase server with existing rules. For hosting files, FirebaseIJISRT20OCT142METHODOLOGYSetting GoalsStudying the literature related to the titleData collectionSystem planningProgram StructureSystem AnalysisProgram ResultsFig 1:- Research Stages Describe the ProblemDescribing the problem clearly will help in designingand making a temperature and humidity monitoring systemtool that will be studied must be described in advance,because without being able to describe the problem, determineand define the boundaries of the problem to be studied, thenthere will never be a single best solution of the problem. Sothis step is the most important first step in this research. Problem AnalysisThe problem analysis step is a step to understand aproblem whose scope or boundaries have been determined.By analyzing the predetermined problem, it is hoped that theproblem can be understood well.www.ijisrt.com124

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165 Setting GoalsBased on the understanding of the problem, theobjectives to be achieved in this study were determined. Thisgoal determines targets to be achieved, especially those thatcan overcome existing problems.STARTCheck WIFIStatus System planningThis stage is the stage of the design of the tool beingmade, at this stage the design of the tool and the design of aseries of heart rate monitoring tools is made.NoWIFI On ?YaStartPairing System creationThis stage is the stage for creating a temperature andhumidity monitoring device, making the tool based on thedesign and design of the tool that was made in the previousstage.NoWifi PairedYa System TestingTool testing is done by monitoring the humiditytemperature in a controlled room with the NodeMCUmicrocontroller development board as a control center andconnected and equipped with a wifi network.Sending DataShowTemperature andhumidity data System Accuracy Level AnalysisThis stage is the stage where the analysis of taking wificommunication is carried out properly if there are obstacles.YaB. Measurement and Observation ParametersThe parameters measured in this study are the distancebetween the tools and the existing obstructions. Furthermore,observations will be made whether there is unstable wificommunication in sending data to computer networks orAndroid smartphones.C. Research DesignIn this research, a block diagram design of the system ismade. The block diagram design can be seen in the followingfigure:Fig 2:- Circuit Block DiagramIn addition, there is also a structure for the program that isdescribed in the form of a flowchat.IJISRT20OCT142Save DataStopFig 3:- FlowchartThe flowchart above can explain how the series of toolsto be made works. The flowchart that starts from Start is byrunning the wifi on the NodeMCU module then the wifi willstart pairing or it is also called by starting the installation orconnecting between the wifi on NodeMCU to the wifi on thecomputer. After the two wifi are connected, the DHT11sensor or temperature and humidity sensor reads or then thedata that has been read will be automatically sent to themonitor or in the Visual Basic.Net application. Then thetemperature and humidity value data will appear on theinterface [1]D. Circuit Design Tool (Hardware)Hardware design is a very important stage in making atool, because by analyzing the components used, the tools tobe made can work as expected. To get optimal results, firstmake a good design. Namely by paying attention to theproperties and characteristics of each component used so as toavoid damage to the components used and make it easier towork on.www.ijisrt.com125

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165E. NodeMCU circuit schematic with DHT11In this design the use of DHT11 is a temperature andhumidity sensor which has an analog voltage output whichcan be further processed using the NodeMCU modulemicrocontroller development board. [7] DHT11 temperatureand humidity sensors generally feature a fairly accuratecalibration of temperature and humidity readings. TheNodeMCU circuit with DHT11 can be seen in the followingfigure.In the picture above shows the display of thetemperature and humidity monitoring program designed usingthe visual studio.net application, in this display there is noprocess of temperature and humidity. For that in testing theprogram work system, users must bring hot objects closer tothe DHT11 sensor so that the working system can be seenfrom the temperature and humidity monitoring application.Fig 4:- NodeMCU circuit schematic with DHT11IV.RESULT AND DISCUSSIONIn this study, it will be explained and shown how theresults of testing the design of the tool are made along with adiscussion of the interface application. The results of the testscarried out are a software interface, which is a desktopapplication designed using the Visual Basic.Net applicationand tools created or designed and programmed using theArduino IDE application. Each program display will beexplained.Fig 6:- Display of Temperature and Humidity MonitoringProcessIn the picture above, you can see the working system ofthe temperature and humidity monitoring application inprogress, Initially normal temperature and humidity and whenthere is a hot object brought closer to the DHT11 sensor thework system moves fast. It can be seen that the temperaturereaches 40 Celsius and humidity decreases to 60%. To see theoverall hardware working system can be seen in the imagebelow.Fig 5:-Temperature and Humidity Monitoring DisplayIJISRT20OCT142www.ijisrt.comFig 7:- Overall Hardware View and Temperature andHumidity Monitoring126

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165The picture above shows how the system work processand the temperature monitoring circuit using the NodeMCUmodule and the Desktop application. The function of adesktop application that has been designed using VisualBasic.Net software is to monitor temperature. 060708090100110120desktop yang di rancang sebagai alat monitoring dikomunikasikan melalui Desktop application designed as amonitoring tool communicated via wifi. As for testing oftemperature sensors and digital thermometers. Testing toolscan be seen in the table ,44241,742,441,942,641,942,64242,843,9Average temperature valuesTable 1:- Temperature Measurement Table and Digital ThermometerScore ,61,10,97From the table above, it can be seen that the difference in temperature measurement with a DHT11 sensor and a thermometeris 0.94. DHT11 sensor and thermometer are given for 5 minutes of hot temperature. Then the test is carried out with the humidity inthe room. The tool was tested by giving it 5 minutes using hot air. Hot air humidity testing can be seen in the table 39,85139,85138,65036,858Average temperature valuesTable 2:- Humidity Measurement Table and Digital ThermometerAfter testing the humidity with a thermometer, theaverage value is 5.9 of the difference in value. So it can beseen that each working system for measuring temperature andhumidity has a difference in the value tested with a digitalthermometer.IJISRT20OCT142V.Score 1,211,421,25,9CONCLUSIONS1. From the tests carried out, the measurement results of theDHT11 temperature sensor have a significant deviationand vary when compared to the reference, namely thedigital thermometer.2. Through the indoor temperature measurement monitoringsystem, we can see information about temperature qualitywww.ijisrt.com127

Volume 5, Issue 10, October – 2020International Journal of Innovative Science and Research TechnologyISSN No:-2456-2165by looking at the information on the interface that hasbeen designed using the Visual Basic application.3. The results of the data obtained by the DHT11temperature sensor can be accessed anywhere onlinebecause the data system is stored automatically, namelyusing the Firebase database which stores real time.REFERENCES[1]. Amin, M. (2020) ‘InfoTekJar : Jurnal NasionalInformatika dan Teknologi Jaringan Sistem CerdasKontrol Kran Air Menggunakan Mikrokontroler Arduinodan Sensor Ultrasonic’, 2, pp. 0–4.[2]. Doni, R. and Rahman, M. (2020) ‘Sistem MonitoringTanaman Hidroponik Berbasis Iot ( Internet of Thing )Menggunakan Nodemcu ESP8266’, 4(September), pp.516–522.[3]. Esp, N. (2020) ‘MIKROKONTROLER NODEMCUDAN APLIKASI TELEGRAM’, 1(1), pp. 8–14.[4]. Informatika, T. et al. (no date) ‘Sistem Monitoring SuhuDan Kelembaban Ruang Produksi Berbasis WirelessSensor Network Pada Pt . Xxx Manufacturing ServicesIndonesia’, pp. 136–143.[5]. Najmurrokhman, A, Kusnandar, A. (2018) ‘PrototipePengendali Suhu Dan Kelembaban Untuk Cold StorageMenggunakan Mikrokontroler Atmega328 Dan SensorDht11’, Jurnal Teknologi Universitas urnal.umj.ac.id/index.php/jurtek.[6]. Novelan, M. S., Tulus and Zamzami, E. M. (2018)‘Control of motion stability of the line tracer robot usingfuzzy logic and kalman filter’, Journal of Physics:Conference Series, 978(1). doi: 10.1088/17426596/978/1/012066.[7]. Pangestu, A. D., Ardianto, F. and Alfaresi, B. (2019)‘Sistem Monitoring Beban Listrik Berbasis ArduinoNodemcu Esp8266’, Jurnal Ampere, 4(1), p. 187. doi:10.31851/ampere.v4i1.2745[8]. Rantelinggi, P. H., Paiki, F. F. and Gadi, Y. (2020)‘Telematika Pemantau Suhu Menggunakan NodeMcu ,IoT Dan Cayenne Pada Rack Server’, 13(2), pp. 80–90.[9]. Sanad, E. A. W. (2019) ‘Pemanfaatan Realtime Databasedi Platform Firebase Pada Aplikasi E-TourismKabupaten Nabire’, Jurnal Penelitian Enjiniring, 22(1),pp. 20–26. doi: m128

important to monitor changes in temperature and humidity in a system. Monitoring temperature and humidity is very important, especially in the industrial sector, therefore there are several ways to monitor temperature and humidity.[4] One way to monitor changes in temperature and humidity requires a DHT11 device or sensor.