智能热水器系统的设计摘要随着军队朝着现代化的目标大步前进,编制体制现代化、人员结构现代化、武器装备也需要现代化。在部队遂行多样化任务时,保障官兵野营条件下的洗浴通常配备NLC200248型淋浴车或WJLC2005-12型淋浴车,通常操作较为复杂,适合大部队使用,不利于特种分队灵机动。分队在执行时间长、天气影响大的任务时容易出现湿疹、烂裆等疾病,所以我们需要为官兵创造适合小分队的卫浴条件,以减少非战斗减员。本文介绍的是通过单片机以实现水温的智能恒温控制。根据智能热水器的工作原理与适用场合,仔细的挑选了各模块部件,设计了系统电路及软件程序。本设计基于STC89C52单片机和温度传感器DS18B20,使用LCD1602液晶显示屏、电源模块、HC-05蓝牙模块、继电器控制模块和键盘模块来实现智能热水器的外部显示与控制。温度传感器将该时刻的水温传给单片机,并在显示屏上显示出实时水温,我们通过按键或者经过蓝牙模块在手机上可以设置温度的范围,继而单片机控制继电器对水温加热和降温使其保持在设置范围。经过谨慎的安装与调试,本设计中的智能热水器实现了正常运行。该智能热水器系统运行稳定、操作简单、性价比高,能够实现预期的控制效果,满足本设计要求。关键字:智能热水器:恒温控制:DS18B20:STC89C52-1ABSTRACTAs the army moves towards the goal of modernization,it needs to modernize itsstaffing system,personnel structure and weapons and equipment.When the troops arecarrying out diversified tasks,they are usually equipped with NLC2002-48 showercars or WJLC2005-12 shower cars under the conditions of supporting officers andsoldiers camping.The operation is usually complex,which is suitable for large troopsand is not conducive to the flexibility of special units.Units are prone to eczema,crotch rotting and other diseases when performing tasks with long duration and heavyweather impact.Therefore,we need to create bathroom conditions suitable for smallunits for officers and soldiers to reduce non combat attrition.This paper introduces the intelligent constant temperature control of watertemperature through a single chip microcomputer.According to the working principleand application situation of the intelligent water heater,each module component iscarefully selected,and the system circuit and software program are designed.Thisdesign is based on STC89C52 single chip microcomputer and temperature sensorDS18B20.It uses LCD1602 LCD,power module,HC-05 Bluetooth module,relaycontrol module and keyboard module to realize the external display and control ofintelligent water heater.The temperature sensor transmits the water temperature atthat moment to the microcontroller,and displays the real-time water temperature onthe display screen.We can set the temperature range on the mobile phone by pressinga key or via the Bluetooth module,and then the microcontroller controls the relay toheat and cool the water temperature to keep it within the setting range.After carefulinstallation and debugging,the intelligent water heater in this design has achievednormal operation.The intelligent water heater system is stable in operation,simple inoperation,cost-effective,and can achieve the desired control effect to meet the designrequirements.Keywords:intelligent water heater:thermostatic control:DS18B20:STC89C52目录摘要ABSTRACT.目录Ⅲ第一章绪论…1.1研究背景及意义........11.2国内外发展趋势及研究现状21.2.1国外的发展趋势及现状.21.2.2国内的发展趋势及现状31.3系统总体方案设计..........31.4主要研究内容…2第二章单片机STC89C52的结构和工作原理.52.1单片机STC89C52简介.......52.2单片机STC89C52的特点.....523单片机STC89C52的构成及基本原理.·62.3本章小结.8第三章温度传感器DS18B20的结构和工作原理93.1温度传感器DS18320简介.·93.2温度传感器DS18B20的内部结构及配置.·93.3温度传感器DS18B20的工作原理............103.3.1DS18B20储存资源的两种形态.........·113.3.2DS18B20的操作流程。。。。。。。13.4本章小结…………12第四章外围硬件的选择f.4444i4444444434
暂无评论内容