1、 1、 摘要摘要 近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统控制检测日新 月异更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用, 仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加 以完善。 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩 序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用 MSC-51 系列单 片机 Intel8051 和可编程并行 I/O 接口芯片 8255A 为中心器件来设计交通灯控制器, 实现了能根据实 际车流量通过8
2、051芯片的P1口设置红、 绿灯燃亮时间的功能; 为了系统稳定可靠采用了MAX629“看 门狗”芯片,避免了系统因为死机而停止工作的情况发生;显示时间直接通过 8255 的 PA、PB 口输 出;交通灯信号通过 PC 口输出;交通灯的点亮采用 VT 双向晶闸管来控制,直接采用 220V 交流电 源驱动,系统实用性强、操作简单、扩展性强。 关键词:关键词:单片机 交通灯 控制器 设计 2、 ABSTRACTABSTRACT In recent years along with science and technology develop fast, the application of sing
3、le flat machine is moving towards thorough continuously, at the same time drive traditional control detection day the benefit of new moon update. In the only flat machine application system of the automatic control and detection of real time, only flat machine is often to use as a key parts, only si
4、ngle flat machine aspect knowledge is insufficient , return should basis specific hardware structure, as well as aim at the software that applies object characteristic specific combination, perfect. Crossroads vehicle wear comb, pedestrian Xi Rang, turn to be all right lane, person pedestrian says, methodically. Do you lean what to realize this orderly order. What lean is that the automatic command system of traffic signal lamp. Traffic signal lamp control way is many, This sy