你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

十字路口交通灯_电子信息工程毕业论文

发布时间:2014-10-09 来源:人大经济论坛
目 录 摘 要1 ABSTRACT2 第1章 绪 论3 1.1 交通灯发展概述3 1.2 课题背景和意义3 1.3 课题的任务和实现的主要功能4 第2章 系统总体分析和设计5 2.1 系统工作原理5 2.2 交通管理的方案论证6 2.3控制时序图6 第3章 系统硬件设计8 3.1 MCS-51芯片介绍8 3.2 看门狗电路10 3.3 74LS373简介11 3.4 键盘电路11 3.5 电源模块12 3.6 系统显示电路12 3.7 报警电路13 3.8 系统硬件电路图13 第4章 系统软件设计15 4.1 每秒钟的设定15 4.2 计数器硬件延时15 4.2.1 计数器初值计算15 4.2.2 计算公式15 4.2.3 1秒的方法15 4.2.4 相应程序代码16 4.3 软件延时16 4.4 时间及信号灯的显示17 4.4.1 8051并行口的扩展17 4.4.2 显示原理:17 4.4.3 8255PA口输出信号接信号灯:17 4.4.4 8255输出信号与数码管的连接:18 4.4.5 8255与8051的连接:18 4.5 程序设计19 4.5.1 程序流程图19 4.5.2 程序源代码21 结 论25 致谢26 参考文献27 摘 要 近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统控制检测日新月异更新。 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MSC-51系列单片机Intel8051和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;为了系统稳定可靠采用了MAX692“看门狗”芯片,避免了系统因为死机而停止工作的情况发生;显示时间直接通过8255的PA、PB口输出;交通灯信号通过PC口输出;交通灯的点亮采用VT双向晶闸管来控制,直接采用220V交流电源驱动,系统实用性强、操作简单、扩展性强。 在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加以完善。 关键词 单片机 交通灯 控制器 设计 实现 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. Crossroads of the shuttle vehicles, 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 system adopts MSC-51 series only flat machine Intel8051 with but programming parallel interface chip 8255 A of I/O is central device the design controler of traffic lights, haverealized can measure according to actual wagon flow the P1 installation bonus and green light that passes through 8051 chips burn to light the function of time; For system stabilize reliable have adopted MAX692 the chip " dog looks after the house ", have avoided that system stops working condition because of halting to occur; Show that time is directly exported through PB and PA of 8255; The signal of traffic lights is exported through usually PC mouth; The point of traffic lights light to adopt VT two-way Jing floodgate pipe come to control, directly drive with the alternating current source of 220 V, practicality is strong, operating is simple. Keywords: Only flat machine Traffic lights Controler Design Realize
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐