大学实施方案单片机交通灯系统实施方案.docVIP

  • 1
  • 0
  • 约1.44万字
  • 约 25页
  • 2019-03-07 发布于江苏
  • 举报

大学实施方案单片机交通灯系统实施方案.doc

个人收集整理 仅供参考学习 个人收集整理 仅供参考学习 PAGE / NUMPAGES 个人收集整理 仅供参考学习 基于单片机地交通灯系统地设计 【摘要】 近年来随着科技地飞速发展,单片机地应用正在不断深入,同时带动传统控制检测技术日益更新.在实时检测和自动控制地单片机应用系统中,单片机往往作为一个核心部件来使用.本系统采用MSC-51系列单片机ATSC51和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,能根据实际车流量通过8051芯片地P1口设置红、绿灯燃亮时间;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过8255地PC口输出至双位数码管);车辆闯红灯报警;绿灯时间可检测车流量并可通过双位数码管显示,本系统实用性强、操作简单、扩展功能强.b5E2RGbCAP 【关键词】:单片机,交通灯,8051,检测车流量 【ABSTRACT】 In recent years, with the rapid development of science and technology, the application of SCM is at the same time, traditional detection techniques to control the growing update. In real-time detection and automatic control system of single-chip applications, often as a single-chip core component to use only single-chip is not enough knowledge, but also the structure of hardware and software in accordance with the specific combination of hardware, to be improved.p1EanqFDPw Crossroads shuttle vehicles, pedestrians bustling, car lanes, the pavement and orderly. So to achieve the orderly what order? Is the traffic lights on the automatic control system. Many traffic lights control. The system uses MSC-51 series single-chip ATSC51 and programmable parallel I / O interface chip 8255A-centric device designed to control traffic lights, can be achieved in accordance with the actual traffic flow through the P1 port 8051 chip set red, green fuel Liang function of time; traffic light cycle, the countdown five seconds left when the yellow light flashing warning (traffic lights through the PA output signal indicates the time directly through the PC port output 8255 to double-digits); vehicle alarm; green time traffic flow can be detected through a double-digital display. The system practical, simple and strong extensions .DXDiTa9E3d 【KEY WORD】:SCM,Traffic lights,8051,Detect traffic 目录 引言1 一、方案设计1 二、系统总体设计2 三、硬件设计2 (一)8051单片机2 1.硬件结构2 2.引脚说明3 3.最小系统4 (1)时钟电路4 (2)复位电路4 (二)8255芯片简介5 (三)74LS373简介5 (四)键盘电路6 (五)显示电路7 四、系统工作原理8 五、软件设计8 (一)主程序设计8 (二)计数器硬件延时10 1.计数器处置计算10 2.1秒地方法10 3.相应地程序代码

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档