1、毕业设计(论文)毕业设计(论文) (2011 届)届) 基于单片机的交通灯控制系统 学学 院、系:院、系: 机电工程系机电工程系 专专 业:业: 机电一体化机电一体化 学学 生生 姓姓 名:名: xxx xxx 班班 级:级: 0808 机电专机电专 x x 班班 指导教师姓名指导教师姓名 xxx xxx 2011 年 5 月 xxxxxxxx学院 2 摘要摘要 近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统 控制检测日新月异更新。在实时检测和自动控制的单片机应用系统中,单片机往往是 作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以 及针对具体
2、应用对象特点的软件结合,加以完善。 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现 这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系 统采用 MSC-51 系列单片机 Intel8031 和可编程并行 I/O 接口芯片 8255A 为中心器件来 设计交通灯控制器,实现了能根据实际车流量通过 8031 芯片的 P1 口设置红、绿灯燃 亮时间的功能;为了系统稳定可靠采用了 MAX629“看门狗”芯片,避免了系统因为死 机而停止工作的情况发生;显示时间直接通过 8255 的 PA、PB 口输出;交通灯信号通 过 PC 口输出; 交通灯的点亮采用
3、VT 双向晶闸管来控制, 直接采用 220V 交流电源驱动, 系统实用性强、操作简单、扩展性强。 关键词:单片机 交通灯 控制器 设计 实现 Based on the design of the controler of traffic lights of single flat machine with realization TANG Bo (Grade 2001 ,Computer Science and TechnologyEducational direction, College of Mathematics and Computer Science, Chongqing Thre
4、e Gorges University , Wanzhou, Chongqing 404000) Abstract: Abstract: In recent years along with science and technology develop fast, the application of single flat machine is moving towards thorough continuously, at the same time drive traditional control detection day the benefit of new moon update
5、. 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 single flat machine aspect knowledge is insufficient , return should basis specificly hardware structure, as well as aim at the software that appl
6、ies object characteristic specificly 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 ma