摘要: 随着21世纪以来,现代社会的发展,人类科学技术的进步,每行每业都在使自己的产品更加智能化、数字化,由于老式的热水器是使用煤气或天然气对水进行燃烧加热,调节温度是用手动的方式,不仅不能够精确的确定使用者需要的水温,并且还存在一定的危险性。57672
在很多地方可以使用电热水器,最常见的有浴室,洗手间以及厨房,现在人们的生活水平质量也越来越好,现代的家用电热水器已经摒弃了之前的做法,而采用一种更加精确、更加安全的实施方案。
用C语言对单片机编程有许多优点,比如:便于移植、句法检查的时候错误很少、坚固性好、头文件种类比较多,能够方便快捷使用各种函数等等。本设计使用AT89C51单片机为核心控制软件,程序使用C语言比编写的,设计了一个即热式电热水器。使用按键键盘设定温度,温度可以精确到0.1摄氏度,并且显示用的是LED灯,能够精准的向用户提供所需温度的温水。收集是用DS18B20温度传感器。如果所需要的温度比当前采集的水温高时,单片机控制继电器让外接加热源;如果所需温度比当前采集的水温低时,单片机控制继电器断开外接加热源不加热。基本实现了智能控制功能。
毕业论文关键词:单片机;电热水器;设计;DS18B20
Instant Electric Water Design Based on C51
ABSTRACT :Since the 21st century, the development of modern society, the progress of human science and technology, each row and each industry are to make their products more intelligent, digital, because the old water heater is to use gas or natural gas combustion heating to the water, adjust the temperature is in manual way, not only can accurately determine the users need the temperature, and there is still a certain degree of risk.
The use of electric water heater can be in many places, the most common bathroom, toilet and kitchen, now the people's standard of living quality is getting better and better, had been abandoned before the modern household electric water heater, while the use of a more accurate and more secure implementation plan.
With C language programming has many advantages, such as: easy to transplant, syntax check when the error is very little, strong, and the type of the first file is more convenient to use a variety of functions and so on. This design uses AT89C51 microcontroller as the control core, the use of C language to write the program, the design of a hot type electric water heater. Use the keypad to set the temperature, the temperature can be accurate to 0.1 degrees Celsius, and the display is LED light, can accurately provide the user with the desired temperature of warm water. Temperature acquisition is DS18B20. If the required temperature than the collection of water temperature is high, MCU control relay for the ground heating source; if the required temperature than the acquisition of the water temperature is low, MCU control relay disconnect connection heating source without heating. The basic realization of the intelligent control functions.
Keywords: single-chip microcomputer;electric water heater;design;DS18B20
目录
引 言 1
第一章 绪论 2
1.1 课题的背景 2
1.2 课题研究的目的及意义 2
1.3国内外研究状况和成果 3
第二章 设计的总体方案---4
2.1设计要求 4
2.2 方案设计 4
2.2.1 主控制器模块 4
2.2.2 测量温度 5 AT89C51单片机即热式电热水器设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_62488.html