华北水利水电大学毕业设计..存档编号华北水利水电大学NorthChinaUniversityofWaterResourcesandElectricPower毕业设计题目智能红外遥控电风扇设计学院专业姓名学号指导教师完成时间教务处制华北水利水电大学毕业设计摘要在激烈的市场竞争下,虽然电风扇具有广阔的市场空间,但不断新生产品的出现,要使产品更具市场优势,仅仅是靠传统型的电风扇是远远不够的,因此要对传统的电风扇根据市场的需要进行不断的更新,不断的改良,以使自己的产品立于不败之地。本文介绍了一种基于STC89C51单片机的智能红外遥控电风扇系统的设计,就是对传统的电风扇进行改造,使其更人性化,操作更方便,用着更舒心。本系统以STC89C51单片机为核心,集成了温度采集,红外遥控,PWM无极调速等多项技术,完美的设计出了一个实用性极强的,可以用红外线远程控制的,调整人体周围环境温度变化的可感系统。温度自动调整主要是利用温度传感器电路,及时而准确的采集周围环境温度,通过并行口实时传递给单片机后,经过软件的设置可以通过温度的不同调整风扇风速的变化,提高了舒适度,而且使用PWM斩波原理来调节风速,极大地节省了能源;在此基础上又采用STC89C51单片机作为遥控发射和接收芯片,HS0038作为红外一体化接收管,从而实现了简易的智能红外遥控功能,可以短程的实现遥控电风扇的各项操作,使得系统使用更加方便人性化。本系统把智能控制技术用于家用电器的控制中,有基于市场的需求、结合红外遥控、设计简单、操作方便、成本低廉等特点。关键字:单片机;红外遥控;信号调制;温度传感器;智能控制。华北水利水电大学毕业设计ABSTRACTUnderthefiercemarketcompetition,whiletheelectricfanhasabroadmarketspace,however,theemergenceofnewproductsconstantlytomakeourproductsmoremarketadvantages,ismerelythetraditionalelectricfanisnotenough,sothetraditionalelectricfansconstantlyupdatedtomeettheneedofthemarket,continuousimprovement,inordertomaketheirproductsinanimpregnableposition.ThispaperintroducesakindofintelligentinfraredremotefansystembasedonSTC89C51design,istomodifythetraditionalelectricfans,andmakeitmorehumane,operationmoreconvenient,morecomfortablewith.ThissystemUSESSTC89C51microcontrollerasthecore,theintegrationoftemperatureacquisition,infraredremotecontrol,PWMinfinitelyadjustable-speedtechnologies,suchasperfectdesignoutapracticalstrong,canuseinfraredremotecontrol,adjustthebodyaroundtheknowledgesystemofenvironmenttemperaturechange.Automatictemperatureadjustmentmainlyusingtemperaturesensorcircuit,timelyandaccuratecollectionofambienttemperature,throughparallelammunitionispassedtothesinglechipmicrocomputer,throughthesoftwareSettingscanadjustthefanspeedthroughdifferenttemperaturechanges,increasethecomfort,andtheuseofadjustablespeedcontrolprincipleofPWMchoppertogreatlysavetheenergy;AgainbasedontheSTC89C51single-chipmicrocomputerasaremotecontroltransmittingandreceivingchip,HS0038astheintegrationofinfraredreceivingtube,soastorealizethefunctionofsimpleintelligentinfraredremotecontrol,canshorttheoperationsoftheimplementationoftheremotecontrolelectricfans,makethesystemmoreconvenienttouse.Thissystemintheintelligentcontroltechnologyisusedtocontrolhouseholdappliances,basedonthedemandofthemarket,combinedwithinfraredremotecontrol,simpledesign,convenientoperation,lowcost,etc.Keywords:Single-chip;InfraredRemoteControl;SignalModulation;temperaturesensor;ntelligentcontrol.华北水利水电大学毕业设计目录第1章绪论...........................................................................................................................................11.1背景及目的........................................................................