单片机城市交通灯控制系统--软件设计

单片机城市交通灯控制系统--软件设计

ID:825149

大小:466.71 KB

页数:31页

时间:2017-09-09

单片机城市交通灯控制系统--软件设计_第1页
单片机城市交通灯控制系统--软件设计_第2页
单片机城市交通灯控制系统--软件设计_第3页
单片机城市交通灯控制系统--软件设计_第4页
单片机城市交通灯控制系统--软件设计_第5页
资源描述:

《单片机城市交通灯控制系统--软件设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、华南农业大学珠江学院毕业论文(设计)单片机城市交通灯控制系统——软件系统设计指导教师:系:信息工程系年级专业:09级自动化提交日期:2013年3月9日答辩日期:答辩委员会主席(签名):评阅人(签名):年月日摘要近年来,随着国民生活水平的提高,车成为了我们日常生活中不可或缺的交通工具。在车辆日益增多的情况下要保证交通秩序有条不紊,就必须合理的设置交通灯。单片机具有小巧灵活,成本低,易于产品化,可靠性好,易扩展和具有通讯功能等卓越的性能,应用越来越广泛和深入。利用单片机来控制交通灯,具有安全可靠,控制操作灵活方便等各方面的优势。本文设计的城市交通灯是基于STC89

2、C516RD+单片机的系统,可以实现实际的道路交通灯的全部功能。本设计系统可以分为以下几个模块:按键控制模块,车辆指示灯LED模块,人行道指示LED模块,时间指示数码管模块。考虑到突发情况,本系统还设置了手控模式,按下手控按键,某一方向可以强制通行。在设计的过程中,所有模块的程序都是先用KEIL编程软件写出来,然后在PROTUES软件上进行仿真调试后再在硬件上进行调试。本系统设计周期短,可靠性高,实用性强,操作简单,维护方便,扩展功能强。关键词:交通灯;单片机;编程;仿真IIIAbstractInrecentyears,withtheimprovementof

3、thenationalstandardofliving,thecarhasbecomeanindispensabletransportinourdailylife.Withtheincreasingofvehicles,ifwewanttoensurethetrafficordermethodical,wemustsetoftrafficlightsreasonable.Thechipmicrocomputerhastheadvantagesofcompactandflexible,lowcost,easy-to-productization,excellen

4、treliability,easytoexpandandhavecommunicationfunction.Withthesesuperiorperformances,applicationofchipmircrocomputerhasbeenmoreandmorewidelyanddeeply.Atrafficlightscontronedbychipmicrocomputerhastheadvantagesofsafeandreliable,flexibleandconvenientcontroloperationsandotheradvantages.I

5、nthispaper,thedesignofcitytrafficlightsisbasedonSTC89C516RD+mircrocomputer,itcanachieveallofthefeaturesoftheactualroadtrafficlights.Thedesignofthesystemcanbedividedintothefollowingmodules:buttoncontrolmodule,thevehicleindicatorLEDmodule,sidewalkindicationLEDdotmodule,timeindicatesth

6、edigitaltubecontrolmodule.Takeintoaccountunforeseencircumstances,thesystemalsosetamanualmode,pressmanualcontrolkeys,onedirectioncanforcepassage.Intheprocessofdoingthisdesign,allmodulesoftheprogramarewritebytheKEILprogrammingsoftwarefirst,andthensimulationdebugginginthePROTUESsoftwar

7、eandhardwaredebuggingthelast.Thesystemdesigncycleisshort,andithastheadvantagesofhighreliability,goodpracticality,simpleoperation,easymaintenanceandexcellentextendedfunctionality.Keywords:trafficlights;chipmircrocompture;programming;simulationIII设计说明单片机城市交通灯控制系统设计是在指导老师给出的任务书并在其指导下完成

8、的。设计任务主要是以51系列单片机为核

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。