JIMI 发表于 20:51

单片机交通灯控制系统

论文编号:DZXX143  论文字数:20310,页数:56
摘要
 随着社会经济的发展,城市交通问题越来越引起人们的关注。人、车、路三者关系的协调,已成为交通管理部门需要解决的重要问题之一。城市交通控制系统是用于城市交通信号灯控制与交通疏导的管理系统,它是现代城市交通指挥系统中最重要的组成部分。
 本系统采用MSC-51系列单片机和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,并且采用LED七段数码管显示路口通行的倒计时, 系统包括人行道、左传、右转、以及基本的交通灯的功能,系统除基本的交通灯功能外,还具有倒计时,时间设置,紧急情况处理、及根据具体情况手动控制等功能。
 
关键词:单片机  交通灯  控制器  
ABSTRACT
 With the economic and social development, urban transport problems become a cause of concern. People, vehicles, road nexus coordination of traffic management has become one of the major issues to be resolved. Urban traffic control systems for urban traffic data monitoring, traffic lights and traffic control computer integrated management system, which is modern urban traffic control systems command the most important component.
 This system adopts MSC-51 series Single Chip Microcomputer Intel8051 with but programming parallel interface chip 8255 A of I/O is central device the design controller of traffic lights, the system can measure according to actual wagon flow the P1 installation bonus and green light that passes through 8051 chips burn to light the function of time. 
Keywords:  Single Chip Microcomputer  Traffic lights  Controller

目 录
摘要 I
ABSTRACT II
第一章  引言 1
1.1 交通灯发展概述 1
1.2 课题的背景及意义 1
1.3 课题的任务及要实现的主要功能 1
1.4 proteus软件简介 2
第二章  硬件方案设计与论证 5
2.1 系统硬件框图 5
2.2 单片机与外围接口部件 5
2.3 电源提供 6
2.4 倒计时显示界面 6
2.5 输入键盘 6
2.6 交通灯显示 8
2.7 系统稳定运行保障系统 8
第三章  硬件的选择与简介 9
3.1 MCS-51芯片简介 9
3.1.1 MCS-51单片机性能介绍 9
3.1.2 MCS-8051各个引脚信号的功能 10
3.1.3 8051的功能部件 12
3.2 8255芯片简介 17
3.2.1 脚功能说明 17
3.2.2 内部结构 18
3.2.3 芯片功能 19
3.3 74LS373芯片简介 21
3.4 其他器件 22
3.4.1 数码管与交通信号灯 22
3.4.2 看门狗MAX692 23
第四章  控制系统设计 27
4.1 交通管理的方案 27
4.2 交通灯控制系统线路图 30
4.3 系统工作原理 31
第五章 控制器的软件设计 33
5.1 交通灯燃亮时间的设定 33
5.1.1 计数器初值计算 33
5.1.2 计算公式 33
5.1.3 设置1秒的方法 34
5.1.4 相应程序代码 34
5.2 软件延时 35
5.3 时间及信号灯的显示软件设计 36
5.3.1 8051并行口的扩展 36
5.3.2 显示程序原理 36
5.3.3 8255输出信号与信号灯的连接 36
5.3.4 8255与8051的连接 37
5.5 程序设计 38
5.5.1 流程图 38
5.5.2 程序源代码 40
5.5.3 系统内存分配和I/0接口使用 40
5.6 调试 41
结  论 43
参考文献 44
致 谢 45
附录一:系统程序 46
页: [1]
查看完整版本: 单片机交通灯控制系统