基于单片机的热水器控制系统设计 下载本文

内容发布更新时间 : 2024/12/25 0:26:23星期一 下面是文章的全部内容请认真阅读。

济南大学泉城学院

毕 业 设 计

题 目 基于单片机的热水器控制系统设计 学 院 工学院 专 业 电气工程及其自动化 班 级 1302班 学 生 李燕 学 号 2013011198 指导教师 张兴达 魏志轩

二〇一七年五月十六日

济南大学泉城学院毕业设计

摘 要

随着国民经济的迅猛发展,人们对生活质量的要求越来越高。作为日常的家用电器,热水器成为了人们的关注对象之一。传统的热水器只具有简单的加热、加水、亮灯指示等功能,难以满足人们的需求。针对这一问题,本设计提出了一款基于单片机的热水器控制系统。

本次设计主要分为硬件系统设计和软件系统设计。硬件系统设计主要包含了AT89S52单片机、电源电路、显示电路、指示灯电路、测温电路、水位检测电路、报警电路、遥控接收电路、注水继电器控制电路、复位电路、晶振电路、按键电路。软件系统设计主要运用了C语言编写程序,KEIL软件和PROTEUS软件联合进行仿真。旨在设计出一款可用遥控器自由设置温度范围和预约时间、LCD1602液晶显示温度和时间,且具备报警功能的智能热水器,热水器在工作时加热、加水、缺水等具有相应的指示灯,当热水器的水位达到水位上限时,蜂鸣器开始报警。通过仿真与调试及实物制作,本次设计的热水器控制系统能够实现预设功能,本设计为进一步研究、应用提供了一定的数据参考。

关键词:单片机;传感器;热水器

- I -

济南大学泉城学院毕业设计

ABSTRACT

With the rapid development of the national economy, people's quality of life requirements are getting higher and higher. As a daily household appliances, water heaters have become one of the people concerned about the object. The traditional water heater only has a simple heating, water, light instructions and other functions, it is difficult to meet people's needs. Aiming at this problem, this design presents a intelligent control system of water heater based on single chip microcomputer.

This design is divided into hardware system design and software system design. Hardware system design mainly includes the AT89S52 microcontroller, power circuit, display circuit, indicator circuit, temperature measurement circuit, water level detection circuit, alarm circuit, remote control receiver circuit, water injection relay control circuit, reset circuit, crystal circuit, key circuit. Software system design mainly uses the C language program, KEIL software and PROTEUS software joint simulation. Designed to design a free remote control can set the temperature range and appointment time, LCD1602 liquid crystal display temperature and time, and have the alarm function of intelligent water heater, water heater in the work of heating, water, water and other indicators with the corresponding, when When the water level of the water heater reaches the upper limit of the water level, the buzzer starts to alarm. Through the simulation and debugging and in-kind production, this design of the water heater control system can achieve the default function, the design for further research, application provides a certain data reference.

Key words: Single-chip; sensor; water heater

- II -