基于单片机的热水器控制系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

济南大学泉城学院毕业设计题目基于单片机的热水器控制系统设计学院工学院专业电气工程及其自动化班级1302班学生李燕学号2013011198指导教师张兴达魏志轩二〇一七年五月十六日济南大学泉城学院毕业设计-I-摘要随着国民经济的迅猛发展,人们对生活质量的要求越来越高。作为日常的家用电器,热水器成为了人们的关注对象之一。传统的热水器只具有简单的加热、加水、亮灯指示等功能,难以满足人们的需求。针对这一问题,本设计提出了一款基于单片机的热水器控制系统。本次设计主要分为硬件系统设计和软件系统设计。硬件系统设计主要包含了AT89S52单片机、电源电路、显示电路、指示灯电路、测温电路、水位检测电路、报警电路、遥控接收电路、注水继电器控制电路、复位电路、晶振电路、按键电路。软件系统设计主要运用了C语言编写程序,KEIL软件和PROTEUS软件联合进行仿真。旨在设计出一款可用遥控器自由设置温度范围和预约时间、LCD1602液晶显示温度和时间,且具备报警功能的智能热水器,热水器在工作时加热、加水、缺水等具有相应的指示灯,当热水器的水位达到水位上限时,蜂鸣器开始报警。通过仿真与调试及实物制作,本次设计的热水器控制系统能够实现预设功能,本设计为进一步研究、应用提供了一定的数据参考。关键词:单片机;传感器;热水器济南大学泉城学院毕业设计-II-ABSTRACTWiththerapiddevelopmentofthenationaleconomy,people'squalityofliferequirementsaregettinghigherandhigher.Asadailyhouseholdappliances,waterheatershavebecomeoneofthepeopleconcernedabouttheobject.Thetraditionalwaterheateronlyhasasimpleheating,water,lightinstructionsandotherfunctions,itisdifficulttomeetpeople'sneeds.Aimingatthisproblem,thisdesignpresentsaintelligentcontrolsystemofwaterheaterbasedonsinglechipmicrocomputer.Thisdesignisdividedintohardwaresystemdesignandsoftwaresystemdesign.HardwaresystemdesignmainlyincludestheAT89S52microcontroller,powercircuit,displaycircuit,indicatorcircuit,temperaturemeasurementcircuit,waterleveldetectioncircuit,alarmcircuit,remotecontrolreceivercircuit,waterinjectionrelaycontrolcircuit,resetcircuit,crystalcircuit,keycircuit.SoftwaresystemdesignmainlyusestheClanguageprogram,KEILsoftwareandPROTEUSsoftwarejointsimulation.Designedtodesignafreeremotecontrolcansetthetemperaturerangeandappointmenttime,LCD1602liquidcrystaldisplaytemperatureandtime,andhavethealarmfunctionofintelligentwaterheater,waterheaterintheworkofheating,water,waterandotherindicatorswiththecorresponding,whenWhenthewaterlevelofthewaterheaterreachestheupperlimitofthewaterlevel,thebuzzerstartstoalarm.Throughthesimulationanddebuggingandin-kindproduction,thisdesignofthewaterheatercontrolsystemcanachievethedefaultfunction,thedesignforfurtherresearch,applicationprovidesacertaindatareference.Keywords:Single-chip;sensor;waterheater济南大学泉城学院毕业设计-III-目录摘要........................................................................................................................................IABSTRACT..........................................................................................................................II1前言...................................................................................................................................11.1选题背景及意义.....................................................................................................11.2国内外研究现状.....................................................................................................12主要研究内容...................................................................................................................32.1主要设计内容.........................................................................................................32.2总体设计方案.........................................................................................................32.2.1硬件设计方案...............................................................................................32.2.2软件设计方案...............................................................................................43硬件系统设计...................................................................................................................53.1AT89S52单片机......................................................................................................53.2测温电路.................................................................................................................63.3水位检测电路.........................................................................................................73.4遥控接收电路.........................................................................................................73.5显示电路.................................................................................................................83.6按键电路.................................................................................................................93.7报警电路.................................................................................................................93.8电源电路...............................................................................................................103.9指示灯电路...........................................................................................................103.10复位电路.............................................................................................................113.11晶振电路.............................................................................................................113.12注水继电器控制电路.........................................................................................124软件系统设计.................................................................................................................134.1编程软件介绍.......................................................................................................134.2主程

1 / 55
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功