摘要摘要LED作为一种新型光源,具有高效节能、绿色环保、使用寿命长等诸多优点。成为照明系统的第三代新型光源。本设计是一种以STC89C52单片机为核心的红外遥控大功率白光LED照明系统,作为拥有8K的EPROM和3位P口的52单片机足够满足设计的要求。本设计采用了PT4115大功率LED恒流驱动方案与PWM调光方式,运用红外遥控技术控制单片机,通过NEC协议(通用红外协议)传输数据,从而实现对LED光源的多级亮度调节。显示部分采用了七段数码显示管进行显示,实时显示LED亮度调节状态。实验证明,LED照明系统稳定高效,控制便捷,在照明应用中具有很好的前景。关键词:单片机,LED,红外,PWM调光IABSTRACTAbstractLED(lightemittingdiode)asthenewlightsourcehasthemeritsofenergyefficiency,environmentalfriendlyandlongerlifespan,Becomethethirdgenerationofnewlightsourceoflightingsystem.ThisdesigniskindofInfraredremotecontrolwhiteLEDlightingsystembasedonSTC52SCM.As52SCMwith8KEPROMand3'portcanmeetthedesignrequirements.ThisdesignadoptsPT4115asLEDconstantcurrentdriveandPWMdimmingproject.Theuseofinfraredremotecontroltechnologycontrolsinglechipmicrocomputer.ThroughtheNECtotransmitdatasoastorealizetheLEDlightsourcemultistagebrightnesscontrol.Displaypartadoptssevensectionofdigitaldisplaytubetodisplay,Real-timedisplayofLEDbrightnesscontrolstate.Throughexperiment,thehigh-powerLEDlightingsystemisprovedtobemoreefficientandconvenient,whichhasthegoodpracticalvalueintheapplicationfieldforlighting.Keywords:SCM,LED,infraredremote,PWMdimmingII目录目录第1章课题整体框架....................................................................................................11.1课题任务..................................................................................................................11.2课题要求..................................................................................................................11.3研究意义..................................................................................................................1第2章设计方案............................................................................................................32.1硬件部分..................................................................................................................32.1.1电源模块...............................................................................................................32.1.2复位电路...............................................................................................................32.1.3系统方案概述.......................................................................................................42.1.4系统方案结构.......................................................................................................52.1.5单片机最小系统...................................................................................................62.1.6恒流驱动模块.......................................................................................................82.1.7显示模块.............................................................................................................102.1.8红外遥控模块.....................................................................................................112.2软件部分................................................................................................................142.2.1软件工具................................................................................