摘  要:当今,红绿灯安装在各个道路口上,已经成为疏导交通车辆最常见和最有效的手段。与传统的红绿灯相比,单片机在信号灯上的应用,使信号灯蕴含了生命,特别是自动检测和控制能力的提高,对于疏导交通流量、提高道路通行能力,减少交通事故发生有非常明显的效果。使用单片机进行交通灯的设计,可以提高交通指示灯的智能化,简化操作程序,体现出实用性,并可根据实际情况进行功能的拓展。系统由MSC-51系列单片机STC89C52、单片机最小系统、74HC245电路、数码管显示以及外围的按键等部件组成。系统通过STC89C52芯片的P0、P1口设置来实现红绿灯燃亮和时间计时的功能。红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示,使用Keil可支持编程。时间计时通过两位一体共阴极数码管显示,并能通过按键对定时进行设置。本系统实用性强、操作简单、扩展功能强。92692

毕业论文关键词:交通灯,单片机,显示,计时 

Abstract:Today, the traffic lights installed in each port on the road, vehicle to ease the traffic has become the most common and most effective means。 Compared with the traditional traffic lights, lights on the microcontroller in the application, the signal contains life, especially the automatic detection and control ability, to ease the traffic flow, to improve traffic capacity, reduce traffic accidents have a very significant effect。 The use of single-chip design of the traffic lights can improve the intelligent traffic indicator lamp, simplify the operation procedure and embody practicability, and can expand the function according to the actual situation。 The system by the MSC-51 Series MCU STC89C52 The 74HC245 circuit, the smallest single-chip system, digital display and the external buttons and other components。 The system through the STC89C52 chip P0, P1 port settings to achieve the red and green light time function。 Traffic light cycle, countdown 5 seconds left when the yellow light flashing warning, the use of Keil programming support time。 The timing of one of the two common cathode LED display, and the timing set by key。 This system has strong practicability, simple operation, strong function expansion。

Keywords: Traffic lights, single-chip microcomputer,Display, Timing

目  录

1  前言 4

2  单片机 4

2。1  单片机的定义 4

2。2  单片机的引脚介绍 4

2。3  单片机的特点 5

2。4  单片机的发展趋势 6

3  系统的方案设计与功能 7

3。1  单片机交通灯控制系统通行方案设计 7

3。2  单片机交通控制系统的功能 8

3。2。1  显示模块功能 8

3。2。2  按键模块功能 9

3。3  单片机交通控制系统的基本构成及原理 9

4  系统硬件主电路的设计 10

4。1  系统硬件总电路的构成 10

4。2  单片机的复位电路 12

4。3  单片机的最小系统 13

4。4  显示系统 13

4。4。1  LED显示 13

4。4。2  数码管显示

上一篇:AT89C52单片机多机通信系统的仿真设计+程序+电路图
下一篇:AT89S51单片机与nRF905的无线数传系统设计+电路图

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

单相电压型逆变电路的谐...

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

遥感土地用变化监测国内外研究现状

大规模MIMO系统的发展研究现状

MNL模型历史城区居民活动...

从企业eHR建设谈管理信息...

高效课堂教师问卷调查表

小型通用机器人控制系统设计任务书

《水浒传》中血腥暴力研...

PCI+PID算法直流力矩电机速...