RANCANG BANGUN SISTEM PEMANTAU KETINGGIAN AIR OTOMATIS MENGGUNAKAN SENSOR ULTRASONIK (HC-SR04) BERBASIS ARDUINO UNO DENGAN ANTARMUKA KOMPUTER BERBASIS MICROSOFT VISUAL BASIC 6.0
Rizky Wahyu Pradana, Ganjar Febriyani Pratiwi, Tri Nur Arifin
{"title":"RANCANG BANGUN SISTEM PEMANTAU KETINGGIAN AIR OTOMATIS MENGGUNAKAN SENSOR ULTRASONIK (HC-SR04) BERBASIS ARDUINO UNO DENGAN ANTARMUKA KOMPUTER BERBASIS MICROSOFT VISUAL BASIC 6.0","authors":"Rizky Wahyu Pradana, Ganjar Febriyani Pratiwi, Tri Nur Arifin","doi":"10.56127/jts.v3i1.1212","DOIUrl":null,"url":null,"abstract":"Efforts can be made to overcome this natural disaster, including providing a drainage system, maintaining forests and monitoring river water levels to determine the possibility of flooding if the level exceeds normal. In this research the author designed a tool to provide warnings before a flood disaster occurs. The design of an automatic water level monitoring system using an ultrasonic sensor (HC-SR04) based on Arduino UNO with a computer interface based on Microsoft Visual Basic 6.0 was created using HC-SR04 to measure distance, Arduino UNO as the main controller for the entire tool, LED and buzzer. When the HC-SR04 measures the distance by emitting waves from the trigger pin as the trigger and the echo pin as the receiver, the distance will then be processed by the Arduino UNO to calculate how many \"cm\" distances have been measured. If the distance calculated by the Arduino UNO is < 30 cm then the green LED will light up, if the distance is < 20 cm then the yellow LED will light up and the buzzer will sound slowly. However, if the distance is <10 cm, the red LED and yellow LED will light up alternately and the buzzer will sound loudly. Next, the data will be displayed on the PC interface with Microsoft Visual Basic 6.0 according to the distance received.","PeriodicalId":161835,"journal":{"name":"Jurnal Teknik dan Science","volume":"13 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Teknik dan Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.56127/jts.v3i1.1212","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Efforts can be made to overcome this natural disaster, including providing a drainage system, maintaining forests and monitoring river water levels to determine the possibility of flooding if the level exceeds normal. In this research the author designed a tool to provide warnings before a flood disaster occurs. The design of an automatic water level monitoring system using an ultrasonic sensor (HC-SR04) based on Arduino UNO with a computer interface based on Microsoft Visual Basic 6.0 was created using HC-SR04 to measure distance, Arduino UNO as the main controller for the entire tool, LED and buzzer. When the HC-SR04 measures the distance by emitting waves from the trigger pin as the trigger and the echo pin as the receiver, the distance will then be processed by the Arduino UNO to calculate how many "cm" distances have been measured. If the distance calculated by the Arduino UNO is < 30 cm then the green LED will light up, if the distance is < 20 cm then the yellow LED will light up and the buzzer will sound slowly. However, if the distance is <10 cm, the red LED and yellow LED will light up alternately and the buzzer will sound loudly. Next, the data will be displayed on the PC interface with Microsoft Visual Basic 6.0 according to the distance received.
利用基于 Arduino uno 的超声波传感器(HC-SR04)和基于 Microsoft Visual Basic 6.0 的计算机接口设计水位自动监测系统
我们可以努力克服这种自然灾害,包括提供排水系统、维护森林和监测河流水位,以确定水位超过正常值时发生洪水的可能性。在这项研究中,作者设计了一种在洪水灾害发生前提供预警的工具。作者使用超声波传感器(HC-SR04)设计了一个自动水位监测系统,该系统基于 Arduino UNO,计算机界面基于 Microsoft Visual Basic 6.0,使用 HC-SR04 测量距离,Arduino UNO 作为整个工具的主控制器,LED 和蜂鸣器。当 HC-SR04 通过触发引脚(触发器)和回波引脚(接收器)发射电波测量距离时,Arduino UNO 将对距离进行处理,以计算出测量了多少 "厘米 "的距离。如果 Arduino UNO 计算出的距离小于 30 厘米,则绿色 LED 灯会亮起;如果距离小于 20 厘米,则黄色 LED 灯会亮起,蜂鸣器也会缓慢响起。但是,如果距离小于 10 厘米,红色 LED 和黄色 LED 将交替亮起,蜂鸣器将发出响亮的声音。接下来,数据将根据接收到的距离显示在使用 Microsoft Visual Basic 6.0 的 PC 界面上。