基于8051单片机交通灯控制系统的设计.doc
上传人:天马****23 上传时间:2024-09-12 格式:DOC 页数:31 大小:356KB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于8051单片机交通灯控制系统的设计.doc

基于8051单片机交通灯控制系统的设计.doc

预览

免费试读已结束,剩余 21 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

徐州工程学院毕业论文PAGEII图书分类号:密级:毕业论文基于8051单片机交通灯控制系统的设计Basedonthe8051microcontrollertrafficsignalcontroldesign学生学号学生姓名学院名称信电工程学院专业名称电子信息工程技术指导教师2010年5月20日摘要近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构软硬件结合,加以完善。十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MSC-51系列单片机ATSC51和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过8255的PC口输出至双位数码管);车辆闯红灯报警;绿灯时间可检测车流量并可通过双位数码管显示。本系统实用性强、操作简单、扩展功能强。关键词单片机;交通灯;8051;检测车流量AbstractInrecentyears,withtherapiddevelopmentofscienceandtechnology,theapplicationofSCMisatthesametime,traditionaldetectiontechniquestocontrolthegrowingupdate.Inreal-timedetectionandautomaticcontrolsystemofsingle-chipapplications,oftenasasingle-chipcorecomponenttouseonlysingle-chipisnotenoughknowledge,butalsothestructureofhardwareandsoftwareinaccordancewiththespecificcombinationofhardware,tobeimproved.Crossroadsshuttlevehicles,pedestriansbustling,carlanes,thepavementandorderly.Sotoachievetheorderlywhatorder?Isthetrafficlightsontheautomaticcontrolsystem.Manytrafficlightscontrol.ThesystemusesMSC-51seriessingle-chipATSC51andprogrammableparallelI/Ointerfacechip8255A-centricdevicedesignedtocontroltrafficlights,canbeachievedinaccordancewiththeactualtrafficflowthroughtheP1port8051chipsetred,greenfuelLiangfunctionoftime;trafficlightcycle,thecountdownfivesecondsleftwhentheyellowlightflashingwarning(trafficlightsthroughthePAoutputsignalindicatesthetimedirectlythroughthePCportoutput8255todouble-digits);vehiclealarm;greentimetrafficflowcanbedetectedthroughadouble-digitaldisplay.Thesystempractical,simpleandstrongextensions.KeywordsSingle-chipdetectionoftrafficlightsredlightrunningtraffic徐州工程学院毕业论文目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc262567794"1绪论PAGEREF_Toc262567794\h1HYPERLINK\l"_Toc262567795"2单片机的发展及应用PAGEREF_Toc262567795\h2HYPERLINK\l"_Toc262567796"2.1单片机的发展