资源描述:
《基于单片机的交通灯控制系统 毕业设计(论文)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于单片机的交通灯控制系统摘要近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统控制检测日新月异更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加以完善。十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MSC-51系列单片机Intel8031和可编程并行I/O接口芯片8255A为中心器件来设计交通
2、灯控制器,实现了能根据实际车流量通过8031芯片的P1口设置红、绿灯燃亮时间的功能;为了系统稳定可靠采用了MAX629“看门狗”芯片,避免了系统因为死机而停止工作的情况发生;显示时间直接通过8255的PA、PB口输出;交通灯信号通过PC口输出;交通灯的点亮采用VT双向晶闸管来控制,直接采用220V交流电源驱动,系统实用性强、操作简单、扩展性强。关键词:单片机交通灯控制器设计实现BasedonthedesignofthecontroleroftrafficlightsofsingleflatmachinewithrealizationTA
3、NGBo(Grade2001,ComputerScienceandTechnology[Educationaldirection],CollegeofMathematicsandComputerScience,ChongqingThreeGorgesUniversity,Wanzhou,Chongqing404000)Abstract:Inrecentyearsalongwithscienceandtechnologydevelopfast,theapplicationofsingleflatmachineismovingtowards
4、thoroughcontinuously,atthesametimedrivetraditionalcontroldetectiondaythebenefitofnewmoonupdate.Intheonlyflatmachineapplicationsystemoftheautomaticcontrolanddetectionofrealtime,onlyflatmachineisoftentouseasakeyparts,onlysingleflatmachineaspectknowledgeisinsufficient,retur
5、nshouldbasisspecificlyhardwarestructure,aswellasaimatthesoftwarethatappliesobjectcharacteristicspecificlycombination,perfect.Crossroadsvehiclewearcomb,pedestrianXiRang,turntobeallrightlane,personpedestriansays,methodically.Doyouleanwhattorealizethisorderlyorder?Whatleani
6、sthattheautomaticcommandsystemoftrafficsignallamp.Trafficsignallampcontrolwayismany.ThissystemadoptsMSC-51seriesonlyflatmachineIntel8031withbutprogrammingparallelinterfacechip8255AofI/Oiscentraldevicethedesigncontroleroftrafficlights,haverealizedcanmeasureaccordingtoactu
7、alwagonflowtheP1installationbonusandgreenlight4thatpassesthrough8031chipsburntolightthefunctionoftime;ForsystemstabilizereliablehaveadoptedMAX629thechip"doglooksafterthehouse",haveavoidedthatsystemstopsworkingconditionbecauseofhaltingtooccur;Showthattimeisdirectlyexporte
8、dthroughPBandPAof8255;ThesignaloftrafficlightsisexportedthroughusuallyPCmouth;Thepointoftrafficlightsli