挑战杯设计远程智能家电控制系统周群威刘再乐吕小娟指导老师:王彦(南华大学电气工程学院湖南衡阳421001)摘要:本系统以单片机AT89S52为控制核心,采用双音多频解码芯片MT8870和高保真语音录放集成芯片ISD4003,利用个人通信终端(电话、手机等)实现对电器设备的远程控制。配合多路红外遥控技术,实现对电器设备的近距离遥控,并辅助使用单总线数字温度传感器DS18B20及高精度时钟日历芯片PCF8560显示时钟日历及温度。该系统由单片机构成主控部分,进行主要的信息处理,接收外部操作指令形成各种控制信号。在远程控制方面,使用不同的语音提示实现对不同电器的操作和对受控电器状态的反馈,从而使操作者能够及时了解被控电器的信息,使产品达到交互式与智能化,由电话机组成的自动拨号报警功能,使得本系统的功能大大地增强,使居家生活更加趋于智能化。将该系统与PC机相连,可直接由PC机控制家电,也可用遥控器控制PC机,该系统具有控制灵活、可操作性强、可扩展性强、发展潜力大等优点,是实现智能化家居、智能化寓所的智能电器控制系统,具有十分广阔的市场前景和非常良好的应用价值。关键词:单片机电话远程控制红外遥控智能控制第1页共72页挑战杯设计Abstract:ThesystemusestheAT89S52MCUasitscontrolcenter,adoptsthedouble-tonemultiplefrequencycode-interpretICMT8870andatheringchipISD4003-6M,makeuseofindividualcorrespondenceterm-inal(telephone、mobilephoneetc.)torealizelong-distancecontroloftheelectronicequipment.Matchwiththeinfraredraylong-distancetechnology,itrealizesnear-distancecontrolandusesthesingle-totallinedigitaltemperatureSpreadthefeelingmachineDS18B20andhighaccuracyclockcalendarchipPCF8560tomanifesttheclock、thecalendarandthetemperate.ThemaincontrolpartofthissystemismadeupwiththeMCU,itdoesthemainmassagehandles,receivesexterioroperationinstructionandformsvariouscontrolsignal.Intheaspectsoflong-distancecontrolling,usingdifferentvoicetohintdifferentoperationandgiveastatefeedbackofthebe-controlled,thusitcanletthewriterknowtheinformationofthebe-controlled,lettheproductiontobechangeoverwitheachothertypeandintellectualized。Theautodialingalarmingfunctionmadeupwiththephoneimprovestheusageofthissystemhighly,makesthefamilylifemoreintellectu-alized.ConnectingthissystemwiththePCandusingtheappliatedprogram,itcancontrolthehouseholdappliancebythePCmachinedirectly.ThePCmachinecanbehand-controlledandalsocanbecontrolledbytheinfraredrayremotecontrol.Ithasmanysuperiorityonit.Forexample,agilecontrollment,powerfulmaneuverabilityandexpansibility,andgreatpotentiality.ThereareexpansiveforegroundandverygoodapplicationworthonthisPLCwiringsintellectualizedmanagedsystem.第2页共72页挑战杯设计Keywords:MCUPhoneremotecontrolInfraredrayremotecontrolIntellectualizedManagement目录一、引言………………………………………………………………………………4二、系统总体设计……………………………………………………………62.1系统总体设计方框图………………………………………………62.2系统总体设计流程图………………………………………………7三、系统设计可行性分析……………………………………………………9四、电路模块设计…………………………………………………………124.1电话远程遥控电路模块………………………………………………124.1.1MT8870双音频解码电路………………………………………124.1.2振铃检测电路…………………………………………………144.1.3模拟摘挂机电路………………………………………………154.1.4电器控制电路…………………………………………………164.1.5电源电路………………………………………………………174.2红外遥控电路…………………………………………………………184.2.1红外遥控发射部分……………………...