1、I 摘摘 要要 我的毕业设计题目是:基于单片机的家用热水器控制器的设计。目前热水器 已成为日常生活中不可缺少的家用电器,设计制造更实用、更方便、更安全、更 节能的热水器是产品设计师和生产厂商不断追求的目标 1。家用热水器具有体积 小、使用安全、安装方便等优点。系统硬件电路设计包括加热控制、温度检测等 电路的设计。电热水器是一种可供洗手间、厨房、浴室使用的家用电器,具有无 污染、安全、保温时间长、使用方便等优点。随着人民生活水平的不断提高和我 国电力工业的不断发展,电热水器得到不断普及。本文给出了一种基于51单片机实 现的热水器电加热器的设计方案。本文运用以AT89S51为控制核心的方法,提出了
2、 利用DS18B20来实现温度检测,并设计一个由继电器控制的电路,利用继电器来改 变小电流控制的电路功率,构建了一个加热控制电路,从而得出了可以实现加热 以及保温的结论。 关键字:关键字:热水器,单片机,DS18B20 温度检测器,继电器 II Micro-controller of water heater controller design Abstract My graduation project topic is: the design of micro controller-based home water heater controller. Water heaters have
3、 become indispensable in the daily life of household appliances, the design and manufacture of more practical, more convenient, safer, more energy-efficient water heater is continuing to pursue the goal of product designers and manufacturers.The hardware circuit design including heating control, tem
4、perature detection circuit design.Electric water heater is an available toilet, kitchen, bathroom and household appliances. Has the advantages of clean, safe, long holding time, easy to use. With the continuous improvement of peoples living standards and the continuous development of Chinas power in
5、dustry, electric water heaters are becoming more prevalent. In this paper, based on 51 single-chip design of the auxiliary heating of the water heater. In this paper, AT89S51 as the control core, DS18B20 temperature detection, and to design a relay control circuit, use the relay to change the small-
6、current control circuit power to build a heating control circuit, in order to get conclusion of water heating can be achieved and the keeping of temperature Keywords: Water heater, micro-controller, DS18B20 temperature detector, relay III 目录目录 1 引言 . 1 2 家用电热水器控制器的硬件设计 . 2 2.1 系统总体设计方案 2 2.1.1 主要技术参数 2 2.3 单片机的最小系统 3 2.3.1 单片机的选择 3 2.3.2 复位电路和晶振电路 6 2.4 温度传感器 DS18B20 的选择确定 7 2.4.1 DS18B20 的特性. 7 2.4.2 DS18B20 的测温原理. 8 2.5 键盘与显示. 10 2.5.1 键盘部分. 10 2.5.2 显示电路 . 11 2.6 温度检测电路的设计. 12 2.7 报警电路