文档介绍:摘要 1
ABSTRACT 2
第1章绪论 1
课题来源 1
课题背景 1
研究意义 2
第二章系统的总体设计 3
温度控制系统完成的功能 3
3
系统整体工作流程: 4
第三章硬件电路设计 6
6
6
7
LED显示电路设计 8
10
12
继电器控制电路 13
第四章软件设计 13
主程序方案 14
各个模块子程序设计 15
15
16
17
18
第五章系统仿真 19
19
19
19
结论 20
致谢 21
参考文献 22
附录一:系统原理图 23
附录二: 程序代码 23
摘要
随着单片机应用技术的成熟和传感技术的进步,有关单片机的应用系统趋向:小型化和功能多样化。所以通常应用在工业生产领域的单片机系统开始走进人们的日常生活,并给人们的日常生活带来很大的便利。
热水器的水温监控系统以”水温“这一生活中比常见的变量为研究对象,比较详细的论述了怎样利用AT889S52这一芯片为核心,来实现:水温的采集,以及在水温过载的情况下报警并通过电磁阀来结束输出等功能的。
关键词单片机;水温;AT89S52;报警;电磁阀
ABSTRACT
Following the puter of applied technology ing maturity and sensing technology improving. The single-chip puter of application system trending to miniaturization and function diversity. So normally used in industrial production areas of single-chip puter system began to enter People's Daily life, and to People's Daily life a lot of convenience
The water temperature monitoring system to water heater "water temperature" the life of mon variables than as the research object, more detailed discusses about how to use AT889S52 this chip as the core, to achieve the collection, as well as the water temperature: in water temperature under the condition of the overload police and through the ic valve to end the function such as output.
Keywords: Single-chip puter; The Temperature of Water; AT89S52; Alerting;
ic valve
第1章绪论
CPU的工作是接收来自于传感装置的温度信号,并判断输入是否合理再根据输入的情况来控制输出。在整个系工作过程中起着无可替代的作用。CPU功能,总的来说是以不同的方式,执行各种指令。不同的指令其功自略异。有的指令涉及到枷各寄存器之间的关系;有的指令涉及到单片机核心电路内部各功能部件的关系;有的则与外部器件如外部程序存储器发生联系。事实上,CPU是通过复杂的时序电路完成不同的指令功能。所谓CPU的时序是指控制器控照指今功能发出一系列在时间上有一定次序的信号,控制和启动一部分逻辑电路,完成某种操作。
课题来源
该题目为自选课题。
课题背景
单片机以其集成度高、运算速度快、体积小、运行可靠、价格低廉等优势,在过程控制、数据采集、机电一体化、智能化仪表、家用电器以及网络技术等方面得到了广泛的应用,特别是单片机技术的开发与应用,标志着计算机发展史上又一个新的里程碑。作为计算机两大发展方向之一的单片机,以面向对象的实时控制为己任,嵌入到如家用电器、汽车、机器人、仪器仪表等设备中,使其智能化。目前国内外各大电气公司,大的半导体厂商正在不