1基于单片机的路灯控制系统设计摘要电力资源紧缺已对中国经济发展造成了限制,而路灯作为城市照明中重要的一环,也是电能消耗最大的一部分,因此实现路灯的节能控制开始显得越发重要。本计划钻研的是自适应节能节制的路灯体系。单片机可靠性高,集成度高,处理能力足够强大以至于广泛的应用于路灯照明领域。计划路灯的目标是削减都会照明的能源奢侈浪费,并且可以或许加强交通安全。以单片机为控制核心,设计制作路灯控制系统,用于道路照明系统实现自动控制。系统采用STC89C52单片机、传感器和相关的元器件来设计路灯控制器,使得系统可以根据实际光线、时间和车流量等参数以控制路灯的开关,并操控单片机可编程节制I/O端话柄的路灯的智能化开关,以到达自动节制和节能的目标。本次项目最终可以实现能按照现实情况光亮,时间,车流量等节省路灯能耗的功效。实现降低传统电路对能源的挥霍,路灯的自动操控极大改良了相关控制人员的管理成本,本系统实用性强,操纵简略,扩大功效强。关键词:51单片机,光敏电阻,红外传感器,自动路灯控制Designofstreetlampcontrolsystembasedonsinglechip2microcomputerabstractTheshortageofpowerresourceshascausedrestrictionsonChina'seconomicdevelopment.Becauseroadlightingisanextremelycriticalpartofurbanlighting,itisalsoahugepartofelectricityconsumption.Therefore,itisveryimportanttoachieveenergysavingandemissionreductionofstreetlightingenergy.Thisdesignstudiesaself-adaptiveenergy-savingstreetlightingsystem.Themicrocontrollerhashighreliability,highintegration,andprocessingpowerissopowerfulthatitiswidelyusedinstreetlighting.Thepurposeofdesigningstreetlightsistoreducetheenergywasteofurbanlightingandtoimprovetrafficsafety.With51single-chipmicrocomputerasthecontrolcore,thestreetlampcontrolsystemwasdesignedandmanufacturedforautomaticcontrolofthehighwaylightingsystem.Thesystemusesthe89C52microcontroller,sensorsandrelatedcomponentstodesignthestreetlightcontroller,sothatthesystemcancontrolthestreetlightswitchaccordingtotheactuallight,timeandtrafficflowparameters.AndusethemicrocontrollerprogrammableI/Oporttorealizetheintelligentswitchofthestreetlamp,soastoachievethepurposeofAutocontrolandemissionreduction.Thisdesigncanrealizethefunctionofcontrollingthestreetlightswitchaccordingtotheactualambientlight,time,andtrafficflow.Toavoidthewasteofenergyinthetraditionalcircuit,theautomaticcontrolofthestreetlampismoreconvenientforthemanagementofthestaff.Thesystemhasmadepracticabilitymorestrong,operationmoresimpleandextensionfunctionmorestrong.Keywords:51single-chipmicrocomputer,photosensitiveresistor,infraredsensor,automaticstreetlightcontrol目录3.................................................................................................................................................................5..........................................................................................................................................5..................................................................................................................................................6......................................................................................................................................................6......................................................................................................................................................7......................................................................................................................................................7..............