[信息与通信]单片机交通信号灯控制设计.doc
文本预览下载声明
摘 要
近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构软硬件结合,加以完善。
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MSC-51系列单片机ATSC51和74hc573为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过74hc573的PC口输出至双位数码管); 当有紧急情况发生时,A,B道红灯同时亮,以让特殊车辆通过。本系统实用性强、操作简单、扩展功能强。
关键词 单片机 ; 交通灯; 应急
Abstract
In recent years, with the rapid development of science and technology, the application of SCM is unceasingly thorough, and push the traditional control test technology is updated. In real time detection and automatic control of the microcomputer application system, the single chip microcomputer often as a core component to use, only single chip microcomputer aspects knowledge is not enough, should according to the specific hardware structure with hardware and software, to be perfect.
Crossroads transports, bustling pedestrian, auto lane, a humanitarian, in an orderly way. So what to do this by an order? The traffic lights on is the automatic command system. There are many ways to control the traffic lights. The system USES the MSC-51 series microcontroller ATSC51 and 74 hc573 as the center device to designing traffic light controller, can realize the according to actual traffic flow through the 8051 chip set red, green P1 mouth brighten the function of the time; Traffic light cycle to light, countdown with 5 seconds yellow light flashing warning (traffic light signals through the PA mouth, display the time output directly through 74 hc573 PC mouth output to double a digital tube); When there is an emergency case, A, B word and bright red light, so that through special vehicles. This system is practical, simple operation and strong function expansion.
Key words: single-chip microcomputer ;traffic lights ; emergency
目 录
摘
显示全部