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

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

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

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

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

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

-..word.zl.目录摘要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-..word.zl.基于51单片机的智能热水器控制系统摘要随着科技的进步和人们生活水平的不断提高,热水器越来越普遍地走进千家万户,给人们的生活带来了极大的方便。同时,人们对热水器的智能化和平安性都提出了更高的要求。这就要求热水器具有一个智能控制系统,能够自动获取当前水温和水位信息,判断实际温度与预设温度关系,从而实现加热的自动控制。本文提出了一种基于51单片机的智能热水器控制系统的解决方案,该方案采用DS18B20单线数字温度传感器来对水温进展检测,使用DS1302时钟芯片实现计数和定时功能,同时参加了水位判断和报警设计。用户通过按键和显示屏来完成系统的参数设置,从而实现定时加热、自动恒温等功能。关键词:单片机,热水器,控制,DS18B20-..word.zl.Theintelligentwaterheatercontrolsystembasedon51singlechipmicroputerAbstractWiththeprogressofscienceandtechnologyandthecontinuousimprovementofpeople'slivingstandard,thewaterheaterismoreandmorewidelyintothethousands,hasbroughtgreatconveniencetopeople'slife.Atthesametime,peoplealsohopethatthewaterheaterisnotjustsimplybyswitchorbuttonmands,toheatwater,alsocanaccordingtothepeoplesetthetemperatureoftheautomaticconstanttemperature,timing,heating,automaticjudgmentfunctionsuchaswaterlevel,thewaterheaterofintelligenceandsecurityareputforwardhigherrequirements.Thisrequiresawaterheaterhasaintelligentcontrolsystem,canautomaticallyaccesstocurrentinformation,watertemperatureandwaterleveldeterminetheactualtemperatureandthepresettemperaturerelations,soastorealizetheautomaticcontrolofheating.Thispaperputsforwardakindofintelligentwaterheatercontrolsystembasedon51singlechipsolution,theschemeadoptsDS18B20singlelinedigitaltemperaturesensortotestthewatertemperature,usingDS1302clockchiprealizecountingandtimingfunctions,atthesametimejoinedthewaterjudgmentandalarmdesign.Theuserthroughthebuttonsandscreentopletethesystemparametersetting,soastorealizethefunctionsuchastiming,automaticconstant