一种基于单片机控制的水位报警装置设计
The Design of Intelligent Water Level Alarm Device Based on Single Chip Microcomputer Control
朱贵宪1
作者信息
- 1. 安阳工学院计算机科学与信息工程学院,河南 安阳 455000
- 折叠
摘要
基于单片机控制的水位报警装置,安装于路桥涵洞、城市地下道等合适位置,在道路积水严重的情况下,可实现声光报警,提示行人或各类型车辆谨慎通行.基本设计思路是:首先通过水位传感器采集模拟信号经模数转换器转换后形成数字信号,输入到单片机中进行分析判断,然后根据水位高度的不同输出不同的控制信号,控制信号经过光电耦合器后,驱动对应的报警模块进行声光报警.
Abstract
A water level alarm device controlled by a single chip microcomputer is installed at suitable locations such as roads,bridges,culverts,and urban underpasses.In the event of serious water accumulation on the road,it can achieve audible and visual alarm to remind pedestrians or various types of vehicles to pass cautiously.The basic design idea is as follows:firstly,the analog signal collected by the water level sensor is converted by an ana-log-to-digital converter to form a digital signal,which is input to the microcontroller for analysis and judgment;and then,different control signals are output according to the different water level heights.After the control signal passes through the photoelectric coupler,the corresponding alarm module is driven to give an audible and visual alarm.
关键词
单片机/水位传感器/光电耦合器/声光报警Key words
single chip microcomputer/water level sensor/photoelectric coupler/audible and visual alarm引用本文复制引用
基金项目
2022年度安阳市科技计划项目(2022C01SF115)
出版年
2024