资源描述:
《模拟路灯控制系统地设计》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实用文档摘要路灯照明对人们的日常生活有着很重要的作用,路灯照明系统的好坏直接影响到人们夜晚出行的安全。中国的路灯控制系统老旧,效率低,浪费能源过多。路灯系统控制方式落后,无法远程控制开关灯时间,缺乏设备故障检测和报警系统。急需升级改善。单片机拥有卓越的控制能力,已经广泛应用在很多领域。基于单片机的智能路灯控制系统可以改变中国路灯现状,使得路灯的管理变得简单、可靠,能节约更多的电能,能使人们更加安全的出行,减少因路灯控制系统不完善而引起的交通事故。因此,设计一款智能路灯控制系统具有非常重要的意义。文章介绍了模拟路灯控制系统的两大组成部分,即硬
2、件系统和软件系统。硬件系统以AT89S52单片机为主控芯片,由实时时钟芯片DS1302产生实时系统时间,由LCD1602液晶显示屏显示菜单、提示和实时时间等信息,使用独立式键盘调整切换功能菜单、设置开关灯时间等,采用光敏电阻检测环境的明暗情况,使用反射型红外光电传感器检测交通情况,配合蜂鸣器和LED灯实现故障报警。软件系统包含系统监控程序模块、显示程序模块、键盘程序模块、实时时钟程序模块,环境检测程序模块、报警程序模块、交通检测程序模块,设定路灯开关时间程序模块等。通过在proteus软件中模拟仿真调试,实现了课题规定的功能和性能指标要求,
3、设计成果具有一定的推广应用价值。关键词:路灯控制;AT89S52;DS1302;LCD1602标准文案实用文档ABSTRACTStreetlightinghasaquitesignificantimpactonpeople'sdailylife,thequalityofthestreetlamplightingsystemdirectlyaffectsthesafetyofpeopleatnight.Inchina,streetlampcontrolsystemisold-style,lowefficiencyandwastetoomuch
4、energy.Themodeofstreetlightcontrolsystemisbackward,itcan’tremotelycontrolswitchlightsintime,andlackequipmentinfaultdetectionandalarmsystem,whichisbadlyinneedofupgrading.MCUhasexcellentcontrolability,whichhasbeenwidelyusedinmanyfields.BasedonMCUintelligentlightingcontrolsys
5、temcanchangethestatusofChinesestreetlighting,thestreetlampmanagementbecomessimpleandreliable,whichcansavemoreenergy,makepeoplemoresafetravelandreducetrafficaccidentscausedbydefectivestreetlampcontrolsystem.Therefore,itisgreatcrucialtodesignaintelligentstreetlampcontrolsyst
6、em.Thispaperintroducesthetwocomponentsoftheanalogstreetlampcontrolsystem,namelythehardwaresystemandthesoftwaresystem.ThemaincontrolchipofhardwaresystemistheAT89S52microcontroller,real-timesystemtimeisproducedbythereal-timeclockchipDS1302,theinformationofmenu,promptandrealt
7、imeisdisplayedontheLCD1602,hardwaresystemuseaseparatekeyboardtoadjustorswitchfunctionmenuandsetthetimeswitchlights,photosensitiveresistancetomeasurethebrightnessofenvironment,andthereflectiontypeinfraredphotoelectricsensortodetecttrafficsituation,withthebuzzerandLEDlamprea
8、lizesfaultalarm.Softwaresystemincludessystemmonitormodule,displaymodule,keyboardmodule,re