摘要
本设计主要应用红外遥控技术,可在手动和自动两种模式下,通过风扇和加热片两种外部器件对温度进行控制。该控制器主要是以负责判断信息和向各执行模块发送具体指令的单片机STC89C52为核心;此外,本设计主要有三大执行模块来分别负责检测、显示、控制实时温度,以TL1838为主的红外遥控模块则负责接收红外信号;若温度不在系统设定界限内,则蜂鸣器报警模块开始响起,其余的两大模块分别为按键模块和电源模块。首先温度传感器感知到实时温度,然后将之直接传输给液晶显示屏显示和单片机以判断是否需要进行温度控制。如果温度在系统设置界限内,则一切正常;反之,单片机传输相应指令给温度控制模块和报警模块,蜂鸣器响起,加热片或者风扇开始工作。结果表明该控制器与同类温度控制器相比,不仅精度高、实时性好,抗干扰能力也强。
This design mainly applies infrared remote control technology,which can control the temperature through two external devices:fan and heating plate in manual and automatic mode.The controller is mainly based on the single-chip microcomputer STC89C52,which is responsible for judging the information and sending specific instructions to each execution module.in addition,the design mainly has three execution modules to detect,display and control the real-time temperature respectively.The infrared remote control module based on TL1838 is responsible for receiving the infrared signal;if the temperature is not within the set limit of the system,the buzzer alarm module begins to ring,and the other two modules are the key module and the power module respectively.Firstly,the temperature sensor senses the real-time temperature,and then transmits it directly to the liquid crystal display screen and the single-chip microcomputer to determine whether the temperature control is needed.If the temperature is within the limits set by the system,everything is normal;on the contrary,the single-chip microcomputer transmits the corresponding instructions to the temperature control module and the alarm module,the buzzer rings,and the heating plate or fan begins to work.The results show that compared with the same kind of temperature controller,the controller not only has high precision,good real-time performance,but also has strong anti-interference ability.
出处
《科技创新与应用》
2019年第9期89-90,共2页
Technology Innovation and Application
基金
海南省高等学校教育教学改革研究资助项目(编号:Hnjg2019ZD-23)
关键词
红外遥控
恒温控制
温度检测
实时控制
infrared remote control
constant temperature control
temperature detection
real-time control