控制器设计(附程序代码)(任务书、开题报告、外文翻译、论文18000字),基于51单片机水塔水箱水位检测系统
摘 要
为实现水位监测和控制,STC89C52作为核心控制芯片,设计制造了水位检测系统控制器。介绍了核心控制芯片STC89C52的工作特点,讲述了系统电器的工作原理,讲述了水位检测系统控制器的设计和调试过程。提出了应用单片机和压力传感器进行水位检测系统控制器的方案,并对所涉及的硬件和软件进行了综合测试。结果表明,该设计能够成功地检测和控制水位,并具有一定的实际应用前景。
关键词:水位;STC89C52.检测和控制
Abstract
In order to realize water level monitoring and control, the controller of water level detection system is designed and manufactured with STC89C52 as the core control chip. This paper introduces the working characteristics of the core control chip STC89C52, describes the working principle of the system electrical appliances, and expounds the design and debugging process of the controller of the water level detection system. A scheme of controller for water level detection system using single chip computer and pressure sensor is proposed. The hardware and software involved are tested comprehensively. The results show that the design can successfully realize the detection and control of water level, and has a certain practical application prospect.
[设计论文网络 https://doc163.com]
Key Words:Water leve;STC89C52;Detection and control
[设计论文网络 https://doc163.com]
[毕业设计论文网 www.doc163.com]
目 录
第1章 绪论 1
1.1 液位检测的发展背景 1
1.2水塔水箱水位检测系统控制器概述 1
1.3 本课题应用专业知识 2
1.4 章节安排 2
第2章 元器件型及总体设计 3
2.1 元器件选型 3
2.1.1 选择主控芯片 3
2.1.2 选择压力传感器 3
2.1.3 选择水泵驱动电路 4
2.1.4 显示模块选择 4
2.2 总体设计 4
第3章 硬件设计 6
3.1 控制电路设计 6
3.2 水位检测电路设计 7
3.2.1 D3B介绍压力传感器 7 [毕业设计网 https://Doc163.com]
3.2.2 AD0832介绍 9
3.2.3 水位检测电路设计 10
3.3 继电器泵电路设计 10
3.4 显示电路设计 11
3.5 按键电路设计 12
3.6 声光报警电路设计 12
第4章 软件设计 14
4.1 设计思路 14
4.2 主程序设计 14
4.3 设计水位采集流程图 15
4.4 按键流程图设计 16
4.5 显示程序设计 17
4.6 蜂鸣器报警子程序 18
第5章 系统调试 19
5.1 软件调试 19
5.2 仿真调试 19
5.3 制造和调试硬件 20
5.3.1 Protel 20
5.3.2 组装和焊接元件的注意事项 21
5.3.3 硬件调试分析 22
5.4 硬件功能调试 23
第6章 总结 26 [毕业设计论文网 Doc163.com]
参考文献 27
致谢 29
附录 30
[毕业设计论文网 Doc163.com]