利用基于 Arduino uno 的超声波传感器(HC-SR04)和基于 Microsoft Visual Basic 6.0 的计算机接口设计水位自动监测系统

Rizky Wahyu Pradana, Ganjar Febriyani Pratiwi, Tri Nur Arifin
{"title":"利用基于 Arduino uno 的超声波传感器(HC-SR04)和基于 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":"15 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":\"15 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}","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

摘要

我们可以努力克服这种自然灾害,包括提供排水系统、维护森林和监测河流水位,以确定水位超过正常值时发生洪水的可能性。在这项研究中,作者设计了一种在洪水灾害发生前提供预警的工具。作者使用超声波传感器(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 界面上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
RANCANG BANGUN SISTEM PEMANTAU KETINGGIAN AIR OTOMATIS MENGGUNAKAN SENSOR ULTRASONIK (HC-SR04) BERBASIS ARDUINO UNO DENGAN ANTARMUKA KOMPUTER BERBASIS MICROSOFT VISUAL BASIC 6.0
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信