1、 I 摘要 随着我国改革开放的不断深入 ,城市化进程不断加快 ,交通事业飞速发展 ,交通 拥挤已成为城市经济发展的“瓶颈”,特别是大、中城市不断增加的车辆和有限的道路 空间矛盾日益加剧。近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带 动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往 往作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构软硬 件结合,加以完善。 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实 现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。智能的交通信号灯指挥着人和 各种车辆的安全运行, 实现
2、红、 黄、 绿灯的自动指挥是城乡交通管理现代化的重要课题。 交通信号灯控制方式很多。本系统采用 MCS-51 系列单片机 AT89C52 为中心器件来设计 交通灯控制器,实现了能根据实际车流量通过 8051 芯片的 P3 口设置红、绿灯燃亮时间 的功能;红绿灯循环点亮,倒计时剩 5 秒时黄灯闪烁警 (交通灯信号通过 P1 口输 出,显示时间通过 P0 口输出至双位数码管)。本系统设计周期短、可靠性高、实用性 强、操作简单、维护方便、扩展功能强。 关键词:关键词: 智能交通灯智能交通灯; ; 城市交通;十字路口;城市交通;十字路口; 单片机单片机 II AbstractAbstract With
3、 the deepening of reform and opening-up of our country, rapid urbanization, rapid development of the cause of the traffic, traffic congestion has become the “bottleneck“ of urban economic development, especially the increasing of large and medium-sized cities of vehicles and the limited road space c
4、ontradiction growing. In recent years, with the rapid development of science and technology, the application of SCM is unceasingly thorough, and promote the traditional control test technology is updated. In real-time detection and automatic control of microcomputer application system, the single ch
5、ip microcomputer often as a core component to use, only single chip microcomputer aspects knowledge is not enough, still should according to the specific hardware structure with hardware and software, to be perfect. Lane crossing vehicles and pedestrians bustling, garage, pedestrian humanitarian, in
6、 an orderly way. So on to achieve this in order? Depend on the traffic lights automatic command system. Intelligent traffic lights command and the safe operation of the various kinds of vehicles, realize the automatic command of red, yellow, and green is an important subject of modern traffic management in urban and rural areas. Traffic lights control mode. This system adopts the MCS - 51 series microcontroller AT89C52 as the center components to design traffic light controller, realized a