基于单片机的热水器水温水位控制系统设计(任务书,开题报告,外文翻译,论文8500字)
摘 要
随着人们生活水平的不断提高,人们对智能生活的需求也越来越迫切,而基于单片机技术的水位和温度智能控制系统将为人们的生活提供便利。
本文设计了一种以AT89C51单片机为主控单元、以DS18B20为温度采集元件的模拟水温水位控制系统。首先设计了系统的整体框架,接下来在硬件设计部分,详细阐述了AT89C51单片机最小系统、LCD液晶显示模块、温度检测与模拟控制模块及水位模拟与控制模块的电路设计及工作原理,在软件设计部分分析了主程序中系统各主要功能及LCD、DS18B20子程序的实现过程。论文最后总结了设计系统的过程中出现的问题以及整个设计进程中的心得与体会。
经过测试,结果表明,本文所设计的系统满足要求。
关键词: 单片机;温度传感器;水位模拟
The water heater and level control system based on SCM
ABSTRACT
As people living standard unceasing enhancement, people's demand for intelligent life has become more and more urgent, hotels, factories and family life will be applied to water level and temperature control the technology, the intelligent water level and temperature control system based on single chip microcomputer technology will provide convenience for people's life.
This designs an AT89C51 single-chip microcomputer as the main control unit, DS18B20 as temperature gathering element simulation of temperature, water level control system. First design the whole framework of the system, and the next in the part of hardware design, in detail elaborated the AT89C51 single chip microcomputer minimum system, alarm temperature acquisition module, LCD liquid crystal display module and water level simulation and control module circuit design and working principle of this design based on system functions, planning and design of the related hardware circuit and relevant applications. The hardware circuit mainly includes the AT89C51 single chip microcomputer minimum system, temperature detection and control module, LCD liquid crystal display module, water level simulation and control module, etc. Finally elaborates the design system in the process of the problems and summarizes the lessons and experience in the whole design process.
Test results show that the designed system meet the requirements.
Keywords:SCM; The temperature sensor; Water level simulation
目 录
摘要 I
ABSTRACT II
目 录 III
第一章 绪论 5
1.1选题的意义 5
1.2设计目标 5
1.3论文的结构 6
第二章 硬件电路设计 7
2.1系统功能 7
2.2系统方案设计 7
2.3单片机模块的设计 8
2.3.1单片机的选择 8
2.3.2单片机最小系统的设计 9
2.4温度检测与控制模块 10
2.5显示模块 12
2.5.1显示模块的选择 12
2.5.2显示电路的设计 12
2.6水位模拟与控制模块的设计 13
2.7本章小结 14
第三章 程序设计 16
3.1主程序的设计 16
3.2子程序的设计 20
3.2.1 LCD初始化函数的设计 20
3.2.2温度测量值读取子程序的设计 21
3.3本章小结 25
第四章 系统调试与测试运行 26
4.1测试运行演示 26
4.2调试中遇到的问题 29
第五章 总结 30
参考文献 32
致谢 33
附录一 电路原理图 34
附录二 程序代码 35
|