基于单片机的热水器控制系统的设计
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的热水器控制系统的设计(论文7000字)
摘 要
时代在不断的发展和进步,人们目前总体步入小康社会,温饱不再是社会需要解决的主要问题,而生活质量却成了人们密切关注的首要问题。作为一个新型的家用电器,热水器不断的出现在人们的视野中。给用户的生活带来了新的春天。人们之前广泛使用的燃热水器,由于它的不安全性和对环境的污染,退出市场是必然的。而电热水器省空间,卫生安全,受到了用户的青睐。所以针对这一现状,本次设计的主题是基于单片机的热水器控制系统的设计与实现。该设计可以对当前水温进行采集和显示,还有对实时时钟的显示,这种设计方案增加了系统的实用性。
单片机体积小,结构简单,但是五脏俱全,应用广泛,因此把STC89C52单片机作为这个系统的主控芯片,外接温度测量电路、继电器开关电路,看门狗复位电路,数据管显示电路,构成了整个硬件电路,而软件方面则是采用C语言开发技术,C语言编程简单,实用性强。
关键词:单片机;热水器;温度
Abstract
Era in continuous development and progress, people into a well-off society, the whole food is no longer a society needs to solve the main problems, and the quality of life have become primary problem people pay close attention to As a new type of household electrical appliances, water heater constantly appear in people's field of vision to the user has brought the new spring life Before people widely used water heater, due to its safety and pollution to the environment, exit the market is inevitable And electric water heater save space, health security, favored by the users So for this situation, this design is the theme of the water heater based on single-chip microcomputer control system design and implementation of the design to capture and display the current temperature, and the real time clock display, this kind of design scheme to increase the practicability of the system.
SCM small size, simple structure, but all-sided, widely used, so the STC89C52 single-chip microcomputer as main control chip in this system, external temperature measurement circuit relay switch circuit, watchdog reset circuit, display circuit, data of the hardware circuit and the software is using C language development technology, C programming language is simple, practical.
Keywords: Single chip microcomputer; The water heater. The temperature
目 录
1 绪论 1
1.1课题研究背景及意义 1
1.2国内外研究现状 1
2 电热水器控制系统的总体设计方案 2
2.1主要设计内容 2
2.2系统整体设计方案 2
2.3各功能模块介绍 3
2.3.1主控模块 3
2.3.2温度采集模块 4
2.3.3按键模块 4
2.3.3显示模块 4
3 硬件电路的设计与实现 4
3.1单片机最小系统硬件电路设计 4
3.2温度传感器电路设计 5
3.3按键电路设计 5
3.4看门狗复位电路设计 6
3.5显示电路设计 6
3.6继电器加热电路设计 7
3.8电源和开关电路设计 8
4 软件系统设计 8
4.1主程序设计 8
4.2子程序设计 8
4.2.1温度传感器子程序设计 8
4.2.2加热继电器控制子程序设计 9
5 系统编写与系统测试 10
5.1 Keil软件简介 10
5.2使用Keil软件建立一个工程 11
5.3系统调试 12
6结论 15
参考文献 16
附 录 17
谢 辞 23