I摘要基于51单片机的智能散热风扇的设计主要可以分为监测单元、控制单元和中央处理单元。本系统采用单片机STC89C52RC作为主控制器,采用数字型温度传感器DS18B20作为监测单元,主要就是采集温度数据,通过一系列的计算转化成实际温度数值。为了实时显示温度、速度等数据,使用了LCD1602液晶显示屏,通过这个不仅方便进行程序的调试,而且易于观察结果。使用外部EEPROM可以将温度限值进行保存,再次上电可以直接读取该数值不需要重新设置。对于外部的控制单元主要有键盘和红外一体化1308。它可以通过设定好按键控制速度,以及红外控制实现远程调节功能其中可以自行设置温度限值,根据温度设置范围自动调节电机转速,直流电机也可根据设定好的速度进行运行,方便可靠。关键词:单片机STC89C52RC;温度传感器DS18B20;LCD1602;红外接收头1308IIIIIABSTRACTThedesignofintelligentheatradiationfanbasedon51singlechipmicrocomputercanbedividedintothemonitoringunit,thecontrolunitandthecentralprocessingunit.ThissystemusessinglechipmicrocomputerSTC89C52RCasthemaincontroller,usingdigitaltemperaturesensorDS18B20asthemonitoringunit,themainistheacquisitionoftemperaturedata,throughaseriesofcalculationsintotheactualtemperaturevalue.Forreal-timedisplayoftemperature,speedandotherdata,theuseoftheLCD1602LCDscreen,throughthisprogramisnotonlyconvenienttodebug,butalsoeasytoobservetheresults.ExternalEEPROMcanbeusedtosavethetemperaturevalue,againonthepowercanbereaddirectlyfromthevaluedoesnotneedtoreset.Theexternalcontrolunitmainlyhasthekeyboardandinfraredintegration1308.Itcanbeachievedbysettingthekeycontrolspeed,aswellasinfraredremotecontrolfunctionstoachieve.Whichcansetthetemperaturelimit,accordingtothescopeofthetemperatureautomaticallyadjustthemotorspeed,DCmotorcanbesettorunaccordingtothespeed,convenientandreliable.Keywords:singlechipSTC89C52RC;temperaturesensor;LCD1602;DS18B20;infraredreceiverhead1308目录第一章绪论.............................................................................................................................................11.1引言....................................................................................................................................................11.2选题的背景及意义.............................................................................................................................11.3基于单片机的智能散热风扇设计要求及内容.................................................................................21.4本文的结构.........................................................................................................................................3第二章单片机STC89C52RC芯片简介.................................................................................................4IV2.1单片机的概述.....................................................................................................................................42.2单片机STC89C52RC的简介............................................................................................................42.2.1STC89C52RC芯片的引脚及性能..........................................................................................42.2.2增加的新功能..........................................................................................................................7第三章温度监测单元的元器件的选型..................................................................................................83.1温度传感器DS18B20概述.............................