资源描述:
《基于单片机的智能台灯设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、基于51单片机的智能台灯设计摘要LED台灯作为LED绿色照明光源产品,作为国家绿色照明推广使用的产品。随着时代发展,节能环保、健康与人们的日常生活变得密不可分,科技的进步,也使家电更加智能化和人性化。台灯作为家电中基础的,也是必不可少的,所以,提出PWM调光灯设计。该设计是以STC89C51RC单片机为控制核心的集多种功能于一体的智能LED台灯。该台灯实现了光亮度具有手动、自动两种调节方式;具有呼吸模式功能,还具有红外遥控功能。硬件设计部分分为单片机控制模块、按键模块、照明模块、光敏模块、LED指示模
2、块、遥控模块等多个部分。单片机主控制芯片选用STC89C51RC,LED指示模块选用三种不同颜色的小LED来指示不同的工作模式,通过按键模块来调整工作模式和LED的亮度,照明模块选用12草帽型白光LED,光敏模块选用ADC0809芯片实现对光敏信号的采集,并利用PWM调光技术对LED进行光度的自动调节。可以通过红外遥控远距离无线遥控,通过单片机C语言编程进行软件设计,综合实现了全部控制功能。关键词LED台灯光度PWM调光自动调节AbstractLEDlampasLEDgreenlightingprod
3、ucts,asthecountrytopromotetheuseofgreenlightingproducts.Withthedevelopmentofthetimes,energysavingandenvironmentalprotection,healthandthepeopledailylifeareinseparable,theprogressofscienceandtechnology,alsomakeshomeappliancesmoreintelligentandhumanized.Th
4、elampashomeappliancesbased,soisalsoessential,,putforwardPWMdimmingthelightsdesign.ThedesignisbasedonSTC89C51RCSCMascontrolcoreandmultifunctionsinoneoftheintelligentLEDlamp.Thetablelamprealizesthebrightnesswithmanual,automatictwotypesofregulation;respira
5、torymodefunction,butalsohasthefunctionofinfraredremotecontrol.ThedesignofthehardwarepartconsistsofMCUcontrolmodule,keyboardmodule,lightingmodule,photosensitivemodule,LEDmodule,remotecontrolmoduleinstruction.TheMCUmaincontrolchipSTC89C51RC,LEDindicatingm
6、odulewiththreekindsofdifferentcolorsofsmallLEDtoindicatedifferentworkingmodes,brightnessthroughthekeymoduletoadjusttheworkingmodeandtheLEDlightingmodule,using12strawhattypewhiteLED,photosensitivemoduleusesADC0809chipimplementationofasignalacquisition,au
7、tomaticregulationandluminosityofLEDusingPWMdimmingtechnology.Throughtheinfraredremotecontrol,wirelessremotecontrol,softwaredesignoftheMCUClanguageprogramming,integratedcontrolfunctionsarerealizedby.KeywordLEDlampdimmingautomaticallyadjustluminosityofPWM
8、2目录第1章绪论..................................................................................................................51.1课题研究背景.................................................................................................