1、 目录 基于单片机的水位监测报警系统 姓姓 名名: 指导老师指导老师: 专专 业业: 班班 级级: 学学 号号: 时时 间间: 目录 目录 摘要 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 章 软件设计部分
2、 .1 3.1 水位检测报警系统的程序设计 .1 第 4 章 结论 1 参考文献 .16 附录一 .17 附录二 .18 附录三 .20 感谢 1 摘要 I 摘要 本水位监测报警器使用 5V 低压直流电源(也可以用 3 节 5 号电池代替)就可以对 515 厘米的水位进行监测,用发光二极管显示,并可以对不再此范围内的水位发出报 警。主要采用单片机 AT89C52 芯片,将控制程序写进单片机中,使其发挥相应的功能, 再加上蜂鸣器、 发光二极管、 电阻、 电容这些器件组成一个简单而灵敏的监测报警电路, 操作简单,接通电源即可工作。因为电路采用单片机技术,所以本水位监测报警器还具 有电路简易、耗能低
3、、准确性高的特点。 关键字:单片机控制 报警电路 监测电路 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
4、 . 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: microprocesso