1、 大学大学 毕业设计(论文) 题 目 基于 51 单片机的交通灯控制 学生姓名 . 指导老师 . 所 属 系 电子工程学院 专 业 电子工程 年 级 级 学 号 基于 51 单片机的交通灯控制 I 基于 51 单片机的交通灯控制 摘 要 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊,那么靠什么 来实现着井然有序呢,靠的就是交通信号灯的自动指挥系统,在日常生活中交通信 号灯的使用,使交通得以有效管理,对于疏导交通流量,提高道路通行能力,减少 交通事故有明显效果。交通灯控制系统由 STC90C58AD 单片机,键盘,LED 显示,交 通灯延时组成。系统除具有基本交通灯功能外,还具有时间
2、设置,LED 显示功能, 使交通实现有效控制,从而提高交通灯控制系统的总体能力和综合应用能力。交通 灯的使用从某种程度上也反映了一个城市的文明程度, 和经济实力, 以及综合实力。 关键词 交通信号灯/STC90C58AD/单片机/LED/有效控制 基于 51 单片机的交通灯控制 II TRAFFIC LIGHTS CONTROL BASED ON 51SINGLE CHIP MICRO COMPUTER ABSTRACT Crossroads shuttle vehicles, pedestrians bustling, car dealers lane, people walkways, e
3、verything in good order and well arranged, so what to achieve in order? Is the traffic lights on the automatic command system, the use of traffic lights in everyday life, so that traffic can be effective control, for ease traffic flow, improve the road capacity, the effect of significantly reducing
4、traffic accidents. The traffic light control system consists of STC90C58AD single-chip microcomputer, keyboard, LED display, traffic lights delay. The system in addition to the basic traffic lights function, but also with the time setting, LED display function, realize the effective control of traff
5、ic, so as to improve the overall capability of traffic light control system and comprehensive application ability. The use of traffic lights in some extent also reflects the degree of civilization of a city, and the economic strength, and the comprehensive strength. KEY WORDS traffic signal lamp, st
6、c90c58ad, mcu, led, effective control 基于 51 单片机的交通灯控制 III 目 录 摘 要 I ABSTRACT .II 1 前言 1 1.1 选题背景 1 1.2 交通灯的分类. 1 1.3 交通灯功能简介 2 1.4 路口交通简介 . 2 1.5 单片机的发展 4 1.5.1 单片机的发展历史. 4 1.6 单片机的发展趋势 . 5 1.6.1 CMOS 化 . 5 1.6.2 低功耗化 5 1.6.3 低噪声与高可靠性. 5 1.6.4 高性能化. 6 1.6.5 小容量、低价格化. 6 1.6.6 外围电路内装化. 6 1.6.7 串行扩展技术. 6 1.6.8 集成化. 6 2 芯片简介 8 2.1 MCS-51 单片机内部结构 8 2.1.1 中央处理器. 8 基于 51 单片机的交通灯控制 IV 2.1.2 数据存储器(RAM) . 8 2.1.3 程序存储器(RO