200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > 交通灯控制系统c语言编程 基于单片机的交通灯控制系统设计(本科)毕业论文设计.doc...

交通灯控制系统c语言编程 基于单片机的交通灯控制系统设计(本科)毕业论文设计.doc...

时间:2022-01-25 03:37:18

相关推荐

交通灯控制系统c语言编程 基于单片机的交通灯控制系统设计(本科)毕业论文设计.doc...

基于单片机的交通灯控制系统设计

摘 要

当你路过一个十字路口时,你是否注意到各个方向车辆和行人有有条不紊的通过十字路口。这样井然有序的情境靠什么来实现的呢?靠的是交通灯控制系统。在论文中我使用单片机STC89C51作为主控单元。通过单片机芯片STC89C51的P1口和P2口分别控制东西方向和南北方向红黄绿灯的点亮。通过单片机芯片STC89C51的RXD和TXD控制数码管的显示时间。采用发光二极管来实现交通灯的点亮,由数码管实现时间的显示。该系统不仅仅具有交通灯的基本功能还有倒计时,还可以通过按键在紧急事件中设置为四个方向都为红灯的紧急模式,也可以通过按键在夜晚设置为四个方向都为黄灯的夜间模式。当然也可以通过按键来设置交通灯的倒计时时间,使系统更加符合实际交通情况。

我设计的交通灯控制系统可以较好的模拟十字路口出现的交通状况,使行人和车辆能有序的通行。我设计的系统成本低,操作简单,性能稳定,实用性较强。

关键词:交通灯控制系统 单片机 AT89C51 数码管 LED

Abstract

When you pass an intersection, have you noticed that vehicles and pedestrians through the intersection methodical .Such an orderly situation rely on to achieve it? Rely on the traffic light control system. This paper will intr-oduce a single-chip microcomputer ATC89C51 as the main control unit system. Thr-ough the STC89C51 microcontroller chip P1 and P2 port respectively control the east-west and north-south direction red yellow green light. Through STC89C51 microcontroller RXD and TXD control digital tube display time. Light emitting diode is used to realize traffic lights lit, achieved by the digital time display. The system not only has the basic function of the traffic lights and the countdown, you can also through the buttons in the event of an emergency is set to four directions for the red light in emergency mode, can also through the buttons in the night is set to the four directions of yellow light night mode, of course, also can through the button to set the countdown time of traffic light, make the system more in line with the actual situation.

I design the traffic light control system can better simulate the crossroads of traffic, the pedestrians and vehicles to orderly traffic.I designed the system of low cost, simple operation, stable performance, strong practicability.

Keywords: Traffic Light Control System SCM AT89C51 Digital pipe LED

目 录

摘要I

AbstractII

绪论1

1系统设计方案论证3

1.1设计方案3

1.2功能概述4

2 系统硬件设计5

2.1交通灯控制系统组成5

2.1.1 ATC89C51芯片5

2.1.2交通灯控制系统构成8

2.2各单元电路模块功能9

2.2.1时钟电路模块9

2.2.2复位电路模

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。