预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共24页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

目录摘要IAbstractII引言11智能热水器控制系统总体设计方案11.1方案分析和选择11.2系统总体设计概述21.3各功效模块介绍31.3.1控制模块31.3.2显示模块31.3.3输入模块51.3.4其它模块61.4本章小结82硬件电路设计和实现82.1单片机最小系统硬件电路设计82.2显示模块硬件电路设计82.3温度传感器DS18B20电路设计92.4电子式水位开关硬件电路设计102.5时钟芯片电路设计102.6声光报警电路设计112.7按键设置模块电路设计112.8电源和开关模块设计122.9本章小结123热水器控制系统软件设计和算法实现123.1软件总体步骤图133.2显示模块程序设计143.2.1写命令子函数143.2.2写数据子函数143.3温度传感器模块程序设计153.4时钟芯片相关程序设计163.5按键设置程序设计163.6主程序和中止服务程序设计173.7本章小结174测试、总结和评价174.1软件平台仿真测试174.2面包板电路搭建测试184.3系统方案总结和评价195结束语19参考文件20致谢21基于51单片机智能热水器控制系统摘要伴随科技进步和大家生活水平不停提升,热水器越来越普遍地走进千家万户,给大家生活带来了极大方便。同时,大家对热水器智能化和安全性全部提出了更高要求。这就要求热水器含有一个智能控制系统,能够自动获取目前水温和水位信息,判定实际温度和预设温度关系,从而实现加热自动控制。本文提出了一个基于51单片机智能热水器控制系统处理方案,该方案采取DS18B20单线数字温度传感器来对水温进行检测,使用DS1302时钟芯片实现计数和定时功效,同时加入了水位判定和报警设计。用户经过按键和显示器来完成系统参数设置,从而实现定时加热、自动恒温等功效。关键词:单片机,热水器,控制,DS18B20Theintelligentwaterheatercontrolsystembasedon51singlechipmicrocomputerAbstractWiththeprogressofscienceandtechnologyandthecontinuousimprovementofpeople'slivingstandard,thewaterheaterismoreandmorewidelyintothethousands,hasbroughtgreatconveniencetopeople'slife.Atthesametime,peoplealsohopethatthewaterheaterisnotjustsimplybyswitchorbuttoncommands,toheatwater,alsocanaccordingtothepeoplesetthetemperatureoftheautomaticconstanttemperature,timing,heating,automaticjudgmentfunctionsuchaswaterlevel,thewaterheaterofintelligenceandsecurityareputforwardhigherrequirements.Thisrequiresawaterheaterhasaintelligentcontrolsystem,canautomaticallyaccesstocurrentinformation,watertemperatureandwaterleveldeterminetheactualtemperatureandthepresettemperaturerelations,soastorealizetheautomaticcontrolofheating.Thispaperputsforwardakindofintelligentwaterheatercontrolsystembasedon51singlechipsolution,theschemeadoptsDS18B20singlelinedigitaltemperaturesensortotestthewatertemperature,usingDS1302clockchiprealizecountingandtimingfunctions,atthesametimejoinedthewaterjudgmentandalarmdesign.Theuserthroughthebuttonsandscreentocompletethesystemparametersetting,soastorealizethefunctionsuchastiming,automaticconstanttemperatureheating.KeyWords:singlechi