基于AT89C52交通灯的控制系统.docVIP

  • 15
  • 0
  • 约4.28万字
  • 约 61页
  • 2017-08-25 发布于辽宁
  • 举报
摘 要 交通在人们的日常生活中占有重要的地位,随着人们社会活动的日益频繁,这点更是体现的淋漓尽致。交通信号灯的出现,使交通得以有效管制,对于疏导交通流量、提高道路通行能力,减少交通事故有明显效果。本系统采用单片机AT89C52中心器件来设计交通灯控制器,系统实用性强、操作简单、扩展性强。本设计就是采用单片机模拟十字路口交通灯的各种状态显示以及倒计时时间。 本设计系统由单片机I/O口扩展系统、交通灯状态显示系统、LED数码显示系统、紧急情况中断系统、复位电路等几大部分组成。系统除基本的交通灯功能外,还具有倒计时、紧急情况处理等功能,较好的模拟实现了十字路口可能出现的状况。 软件上采用汇编语言编程,主要编写了主程序,LED数码管显示程序,中断程序延时程序等。经过整机调试,实现了对十字路口交通灯的模拟。 关键字:AT89C52 74HC244 LM7805 PROTELDXP Abstract Traffic in peoples daily life plays an important role, as people increasingly frequent social activities, which is embodied in full. The emergence of traffic lights so that traffic can be effective control, for ease traffic flow, improve the road capacity, the effect of significantly reducing traffic accidents. The system uses a single-chip devices AT89C52 Center to design the traffic light controller, the system practical, simple, and strong expansion. The design is based on the single-chip simulation of traffic lights at the crossroads of a variety of state and the countdown time display. The design system consists of single-chip I / O port expansion system, the traffic light status display system, LED digital display systems, emergency interrupt system, reset circuit, such as a few major components. System of traffic lights in addition to basic functions, also has a countdown, and other functions to deal with emergency situations, to achieve a better simulation of the situation that may arise at the crossroads. C51 programming software used mainly to prepare the main program, LED digital tube display program, such as interruption of the procedure delayed the procedure. After machine commissioning, the realization of the simulation of traffic lights at a crossroads. Keyword: AT89C52 74H4244 LM7805 PROTELDXP 摘 要 i Abstract ii 目录 iii 第一章 绪 论 1 第一节 选题的目的和意义 1 第二节 单片机的介绍 1 一、单片机的发展 1 二、单片机的组成及特点 3 三、单片机的应用 4 四、单片机的未来和应用 5 第二章 方案设计与论证 7 第一节 设计的任务和功能要求 7 第二节 设计方案的比较 7 第三章 系统硬件电路设计 9 第一节 交通灯的主控制系统 9 一、基于单片机AT89C52的硬件功能特性 9 二、主处理器内部结构介绍 10 三、AT89C52各引脚

文档评论(0)

1亿VIP精品文档

相关文档