摘 要:近年来随着科技的飞速发展,单片机的应用不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,所以仅仅掌握单片机方面知识是不够的,还应根据具体硬件结构将软硬件相结合,加以完善。基于以上的现实情况,我们很有必要应用单片机技术对交通信号灯进行技术上的设计,即基于单片机的智能交通红绿灯控制系统的设计。
十字路口车辆穿梭,行人熙攘,井井有条。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本文将介绍一种基于单片机控制的交通信号灯的自动指挥系统。本系统采用STC89C51单片机作为控制核心,利用单片机内部定时器进行计时,通过四个两位数码管进行显示倒计时,并且设定几个按键可通过按键设置通行时间,比如说我们可以设定开始时间为23秒,也可以进入紧急和夜间模式。这套系统可以应用在很多场景例如在红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示;该设计有效地实现了对整个交通系统的管理与操作,本系统实用性强、操作简单、扩展功能强。 93720
通过搜集相关的资料与文献后,利用之前学过的C语言程序、单片机原理、数字电路基础与模拟电路基础等课程的相关知识,并通过自己的实践将需求与模型进行匹配,从而实现了硬件需求与软件需求的各个环节,从分析系统框架到方案的选择,从功能模块的划分到原理图的设计与绘制,从程序设计到软硬件的调试与PCB板的制作,期间获得了很多启发与实践经验,从而通过自己的努力与老师的指导完成了本次课题要求。
毕业论文关键词:单片机,交通灯,检测车流量,LED显示时间
Abstract:In recent years, with the rapid development of science and technology, the application of SCM is deepening。 In the SCM application of real-time detection and automatic control system, the microcontroller is often used as a core component to use only SCM knowledge is not enough, should also be based on specific hardware structure of hardware and software, to be perfect。 Based on the above reality, it is necessary for us to apply the technology of single chip microcomputer to the design of traffic lights。
Crossroads shuttle vehicles, pedestrians bustling, car lanes, walkways, everything in good order and well arranged。 So what to realize this orderly order? Rely on the automatic command system of traffic lights。 Many traffic lights control。 The system uses the MSC-51 series single-chip ATSC51 and programmable parallel I/O interface chip 8255A centered design of traffic signal controller device to realize the actual traffic volume by 8051 according to the P1 port chip set of red and green light time function。
This system can be used in many scenarios such as traffic light cycle, countdown 5 seconds left when the yellow light flashing warning (traffic light signal output, indicating the time directly through the PC port 8255 output to two digital tube through the PA port); alarm vehicle red light; green time can detect traffic and through a double digital display and other functions。 This design realizes the management and operation of the whole traffic system, and realizes the traffic system in an orderly way。 The system is practical, simple operation, strong expansion。源C于H优J尔W论R文M网WwW.youeRw.com 原文+QQ752-018766
Keywords: single chip microcomputer,traffic lights,traffic flow,LED display time
目 录
第1章 绪论