1 / 44
文档名称:

精品毕业论文--城市交通灯控制系统模型的设计.doc

格式:doc   页数:44页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

精品毕业论文--城市交通灯控制系统模型的设计.doc

上传人:mkt365 2013/6/15 文件大小:0 KB

下载得到文件列表

精品毕业论文--城市交通灯控制系统模型的设计.doc

文档介绍

文档介绍:摘要
本系统采用单片机AT80C51为中心器件来设计交通灯控制器,模拟定周期交通信号灯的工作状态,系统实用性强、操作简单、扩展性强。本设计就是采用单片机模拟十字路口交通灯的各种状态显示以及倒计时时间。
本设计系统由单片机I/O口扩展系统、交通灯状态显示系统、LED数码显示系统、紧急情况中断系统、复位电路等几大部分组成。系统除基本的交通灯功能外,针对复杂多变的路况环境,特别增设了倒计时、紧急情况处理、路段遇忙调整、特种车检测、语音提示等模块等功能,较好的模拟实现了十字路口可能出现的状况,进一步完善了交通灯控制系统。
软件上采用AT80C51编程,主要编写了主程序,LED数码管显示程序,中断程序延时程序等。经过整机调试,实现了对十字路口交通灯的模拟。
关键词:AT80C51;8255A;LED数码管显示;交通灯控制器
Abstract
The system uses the microcontroller AT80C51-centric devices to design traffic signal controllers, analog traffic signal will cycle the working state, the system practical, simple, and strong expansion. The design is simulated using SCM crossroads traffic lights all the time status display and the countdown.
The design of the system by the MCU I/O port expansion, traffic light status display system, LED digital display system, emergency interrupt system, reset circuit of several ponents. System in addition to basic functions of traffic lights, road conditions for plex environment, in particular, the addition of the countdown, emergency, roads busy adjusting, special vehicle detection modules features such as voice prompts, a good simulation to achieve a crossroads possible situation, to further improve the traffic light control system.
Software program using AT80C51, the main preparation of the main program, LED digital disply propram, interrupt procedures delay procedures. After machine debuggine
debugging,simulation of traffic lights on the crossroads.
Key words:AT80C51;8255A;LED digital display;traffic light controller
目录
第1章概述 1
概述 1
设计目的 1
设计任务和内容 1
第2章总体设计及核心器件简介 2
总体设计 2
单片机 AT80C51 3
可编程输入输出接口芯片8255A 7
单片机8255A口输出信号接信号灯 11
单片机8255A输出信号与数码管的连接 11
单片机8255A与AT80C51的连接 12
锁存器74LS164简介 13
可编程电路X5045 13
时钟和数据时序 15
状态寄存器 16
本章小结 16
第3章单元电路模块设计 18
LED数码管显示电路 18
晶振电路 19
交通灯状态显示电路 19
其他硬件模块 20
本章小结 23
第4章软件编程设计 24
设计思想 24
程序框图 24
相关程序代码 26
测试、数据及结果分析 28
本章小结 28
结论 29