1、 摘要 随着现代化建设脚步的加快, 汽车数量明显增加, 城市交通变得越来越拥挤, 而十字路口则是造成交通堵塞的主要“凶手” 。目前大多数城市采用的交通信号 灯指挥控制系统采用电子线路加继电器构成, 也有少数采用可编程控制器 (PLC) 构成。 本课题主要是采用单片机作为控制器,来实现交通信号灯的控制。该系统有 自动和应急控制两种工作方式:自动方式的通车时间可以由程序设定,并且用 LED 数码管显示出时间;应急控制方式则可以根据需要使用按键将路口的信号灯 都改为红灯。 关键词:关键词:单片机;交通信号灯;LED 动态扫描显示。 Abstract With the accelerated pace
2、 of modernization, a marked increase in the number of cars, urban transportation has become more and more crowded, and the crossroads is the main cause of traffic congestion “murderer.“ At present the majority of city traffic lights used in command and control system uses electronic circuits add rel
3、ay consists of a small number of the use of programmable logic controller (PLC) constituted. The main topics are the use of single-chip microcomputer as a controller, to achieve the control of traffic lights. The system has two types of automatic control and emergency work: automatic mode of the ope
4、ning time can be set by the procedure, and with LED digital tube display time; emergency control mode can use the keys will be required in accordance with the signal junctions are replaced by a red light . Key words: microcomputer; traffic lights; LED dynamic scan shows. 1 目录 第一章 绪论 1.1 课题背景 4 1.2 设计动机 5 1.3 设计目的 5 第二章 系统分析系统分析 21 系统要求 6 22 设计原理 6 22.1 交通信号