基于单片机的水位监测报警系统毕业设计 下载本文

内容发布更新时间 : 2024/5/4 8:42:37星期一 下面是文章的全部内容请认真阅读。

目录

基于单片机的水位监测报警系统

姓 名: 指导老师: 专 业: 班 级: 学 号: 时 间:

目录

目录

摘要 ................................................................I Abstract ............................................................I 第1章 绪论 ........................................................1 第2章 水位监测报警系统的硬件设计 ...................................3 2.1 系统硬件设计框图 ..............................................3 2.2 MCS-51单片机的设计 ...........................................4

2.2.1单片机的选择 ......................................... 4 2.2.2 单片机型号的选择 .................................... 5 2.3各模块电路的设计 ..............................................8 2.3.1稳压电路 ............................................. 8 2.3.2报警电路的设计 ....................................... 9 2.3.3继电器控制水泵加水电路 .............................. 10 2.3.4 电源电路 ............................................. 1 2.3.5水位检测传感器的设计 ................................. 1 第3章 软件设计部分 .................................................1 3.1水位检测报警系统的程序设计 ............................... 1 第4章 结论 ........................................................1 参考文献 ...........................................................16 附录一 .............................................................17 附录二 .............................................................18 附录三 .............................................................20 感谢 ................................................................1

摘要

摘要

本水位监测报警器使用5V低压直流电源(也可以用3节5号电池代替)就可以对5~15厘米的水位进行监测,用发光二极管显示,并可以对不再此范围内的水位发出报警。主要采用单片机AT89C52芯片,将控制程序写进单片机中,使其发挥相应的功能,再加上蜂鸣器、发光二极管、电阻、电容这些器件组成一个简单而灵敏的监测报警电路,操作简单,接通电源即可工作。因为电路采用单片机技术,所以本水位监测报警器还具有电路简易、耗能低、准确性高的特点。

关键字:单片机控制 报警电路 监测电路

Abstract

The water level alarm used to monitor low voltage 5V DC power supply (can also use 5 batteries instead of three) can be 5 to 15 cm on the monitoring of water level, with light-emitting diode display, and can no longer be within this range, the water level alarm . Main use SCM AT89C52 chip, will control program written into the microcomputer, to play the corresponding functions, together with a buzzer, light-emitting diodes, resistors, capacitors, these devices form a simple and sensitive alarm function, simple operation, then power can work through. Because the circuit chip technology, so the water level monitoring alarm circuit also has a simple, low energy consumption and high accuracy.

Keywords: microprocessor controlled alarm circuit monitoring circuit

I