单片机c语言交通信号灯设计,基于51单片机的交通信号灯设计毕业设计.pdf

摘 要

在现代城市中,随着人口和汽车的急剧增长,市区交通日益拥挤,要是没有红绿灯

作为指挥工具,恐怕川流不息的汽车就会由于混乱而造成严重阻塞。因此,交通灯是交

管部门管理城市交通的重要工具之一。随着电子与计算机技术的迅速发展,电子电路的

分析与设计方法发生了重大的变化。电子设计自动化技术已成为设计现代电子系统必不

可少的工具和手段。在电子技术领域里,为了便于储存,分析和传输,常将模拟信号编

码,即把它转换为数字信号,利用数字逻辑这一强有力的工具来分析和设计复杂的数字

电路或数字系统,为信号的储存,分析和传输创造了硬件环境。根据这次的设计要求,

设计一交通灯,我们以传统电子设计方法为基础的工程设计基础上,引入了电子设计自

动化技术,模拟与数字、硬件与软件相结合的综合性设计,通过运用Protelforwindows

软件及阵列逻辑器件,设计了可控LED交通信号灯。

本系统由单片机系统、LED 显示、交通灯演示系统组成。系统包括人行道、左转、

右转、以及基本的交通灯的功能。系统除基本交通灯功能外,还具有倒计时、时间设置、

紧急情况处理、分时段调整信号灯的点亮时间以及根据具体情况手动控制等功能。

关键词:单片机 STC89C52 LED发光二极管 C语言程序 交通灯

1

Abstract

In a modern city, as the rapid growth of population and vehicles, urban

traffic increasinglycrowded, ifthere are no traffic lightsas a command tool,

I'mafraidThestreamneverstopsflowing.carwillbeduetotheconfusioncaused

by severeobstruction.Therefore,thetrafficlightisoneoftheimportanttools

for traffic management departments of city traffic management. With the rapid

development of electronic and computer technology, great changes have taken

place in electronic circuit analysis and design method. Electronic design

automation technology has become an essential design tools and means of modern

electronicsystem.Inthefieldofelectronictechnology, inordertofacilitate

the storage, analysis and transmission, often the analog signal coding, namely

it is converted to a digital signal using this powerful tool for digital logic

digitalcircuitsordigital systemanalysisand designofcomplex,as thesignal

storage,analysis and transmission to create a hardware environment.According

to the requirements of the design, the design of a traffic light, we take the

traditionalelectronicdesignmethodbasedengineeringdesignbasis, introduced

electronic design automation technology, comprehensive design of analog and

digital, the combination of hardware and software,by using Protel for Windows

software

你可能感兴趣的:(单片机c语言交通信号灯设计)