毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机的简易红绿灯设计+程序+电路图

时间:2024-01-07 10:50来源:毕业论文
STC89C52单片机的简易红绿灯设计。由MSC-51系列单片机STC89C52、单片机最小系统、74HC245电路、数码管显示以及外围的按键等部件组成

摘  要:当今,红绿灯安装在各个道路口上,已经成为疏导交通车辆最常见和最有效的手段。与传统的红绿灯相比,单片机在信号灯上的应用,使信号灯蕴含了生命,特别是自动检测和控制能力的提高,对于疏导交通流量、提高道路通行能力,减少交通事故发生有非常明显的效果。使用单片机进行交通灯的设计,可以提高交通指示灯的智能化,简化操作程序,体现出实用性,并可根据实际情况进行功能的拓展。系统由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  数码管显示 STC89C52单片机的简易红绿灯设计+程序+电路图:http://www.youerw.com/zidonghua/lunwen_200395.html

------分隔线----------------------------
推荐内容