基于单片机控制智能热水器控制.doc
文本预览下载声明
摘 要
目前热水器已成为日常生活中不可缺少的家用电器,设计制造更实用、更方便、更安全、更节能的热水器是产品设计师和生产厂商不断追求的目标。家用热水器具有体积小、使用安全、安装方便等优点。
本文采用AT89C5单片机作为控制器,设计了一款智能家用电热水器。使用按键键盘设定温度,温度可以精确到0.1摄氏度,并使用数码管显示。采用DS18B20采集温度,使用数码管显示,精确的显示出采集的水温。当所需温度于当前采集的水温时,继电器控制外接加热源当所需温度于当前采集的水温时,继电器断开。基本实现了智能控制功能。
关键字:热水器;AT89C5;DS18B20
ABSTRACT
Water heaters have 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, temperature detection circuit design.Electric water heater is an available toilet, kitchen, bathroom and household appliances[1]. Has the advantages of clean, safe, long holding time, easy to use.
This paper adopts AT89C52 MCU as the controller, designed a intelligent home electric water heater. Use the keyboard to set the temperature, the temperature can be accurate to 0.1 degrees Celsius, and the use of Quaternity?of?Nixie?tube display, can accurately provide the required temperature of warm water. The DS18B20 collection temperature, the use of Quaternity?of?Nixie?tube display, display the temperature precise acquisition. When the required temperature is higher than the acquisition of temperature, use the relay to control the external heating source, when the required temperature is lower than the current collecting water, relay off without heating. The basic realization of the intelligent control function.
Key words: water heater; AT89C52; DS18B20
目 录
1 绪论 2
1.1 热水器发展现状和趋势 2
1.2 本文研究意义及主要内容 2
2 智能热水器系统组成和工作原理 4
2.1 智能热水器系统的组成 4
2.2 智能热水器系统工作原理 4
3 智能热水器硬件设计 5
3.1 主要芯片选择与介绍 5
3.2 复位电路和晶振电路 7
3.3 键盘电路的设计 8
3.4 温度检测电路的设计 9
3.5 显示电路的设计 10
3.6 加热电路的设计 11
3.7 报警电路的设计 12
4 系统的软件设计 13
4.1 开发环境介绍 13
4.2 系统软件设计 14
4.2.1 主程序设计 14
4.2.2 键盘扫描子程序设计 15
4.2.3 温度检测子程序设计 16
4.2.4 加热子程序设计 17
5 调试结果 18
5.1 Proteus简介 18
5.2 仿真结果
显示全部