资源描述:
《基于单片机的智能型浴室混水阀控制器设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业论文(设计)题目基于单片机的智能型浴室混水阀控制器设计学生姓名学号所在院(系)专业班级指导教师年月日基于单片机的智能型浴室混水阀控制器设计[摘要]社会总是在不断进步,人类也总是在追求更科技更方便的生活。中国领土南北跨纬度很广,大部分位于中纬度地区,属北温带,南部少数地区位于北回归线以南的热带,没有寒带,只有在高山地区才有终年冰雪带。这就注定了我们生活中的夏冬交替性的温差问题,于是热水器诞生了。但传统的机械式混水阀对水温的调节操控性并不是很好。因而本设计针对热水器的混水阀控制器进行改进,使其具有自动调节水温的功能以及良好的操控性。本文采用STC8
2、9C52单片机控制检测系统,运用DS18B20温度传感器采集水管中水的温度数据。硬件部分介绍温度传感器、单片机、显示模块及电机。软件部分主要介绍设计思想及主程序流程图,系统调试部分包括调试软件、调试过程及调试过程中出现的问题和解决方法。温度信号送入单片机,要根据检测的水温信号进行调节与控制,这也是设计的核心。[关键词]单片机;DS18B20温度传感器;显示模块;步进电机;水温控制BasedonsinglechipmicrocomputerintelligentbathroommixwatervalvecontrollerdesignAbstract
3、:Societyisalwaysinconstantprogress,thehumanisalwaysinthepursuitofscienceandtechnologymoreconvenientlife.MostChineseterritorynorthandsouthacrosslatitudeisverywide,islocatedinmid-latitudes,belongstothenorthtemperatezone,thesouthernminorityregionislocatedinthesouthofthetropicofca
4、ncerofthetropics,notfrigid,onlyinmountainareashavewithiceandsnowalltheyearround.It'sdoomeddutysummerofalternatetemperaturedifferenceprobleminourlife,sothewaterheaterwasborn.Butthetraditionalmechanicalmixwatervalvetoadjustthewatertemperaturecontrolisnotverygood.Sothisdesigninvi
5、ewofthemixwatervalvecontrollertoimprovethewaterheater,makeithasthefunctionofautomaticallyadjustthewatertemperatureandgoodhandling.STC89C52single-chipmicrocomputercontroltestsystem,thispaperUSESDS18B20temperaturesensortocollectthetemperaturedataofwaterthroughthepipe.Hardwarepar
6、tintroducesthetemperaturesensor,microcontroller,displaymoduleandmotor.Softwarepartmainlyintroducesthedesignideaandthemainprogramflowchart,thesystemdebuggingincludesdebugsoftwareintheprocessofdebugging,debuggingprocessandtheproblemsandsolutions.Temperaturesignalintothemicrocont
7、roller,accordingtothedetectionofwatertemperaturetoadjustandcontrolsignal,whichisthecoreofthedesign.Keywords:microcontroller;Thesensor;Displaymodule;SteppermotorMajorMeasurementContorlTechnologyandInstruments,schoolofmechanicalengineering,ShannxiUniversityoftechnology,Hanzhong7
8、23003,Shaanxi目录1绪论11.1课题背景11.2课题的依据来源11.3传统机械式浴室混水阀的工作原理21.4智