基于89C51的红绿灯控制电路设计与仿真
基于89C51的红绿灯控制电路设计与仿真
摘要:如今随着科技的发展,单片机的应用正在不断的深入,同时带动传统控制检测技术的日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往会被作为一个核心的部件来使用。但仅单片机上的知识是远远不够的,还得根据具体的硬件结构软硬结合来加以完善。十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MCS-51系列单片机ATMEL89C51为核心控制器件来设计交通红绿灯信号控制器,实现亮绿灯行,亮红灯停,亮黄灯5秒警告车辆的功能,并显示通行,禁止通行和警告的倒计时。本系统使用性强,操作简单,容易实现,还可根据路口的具体要求修改程序达到想要的功能。
关键词:51单片机;红绿灯;时间显示
The circuit design and Simulation of traffic lights control based on 89C51
Abstract:Nowadays,with the development of science and technology,SCM applications aredeepening,updatingand promote the traditional controldetection system of single chip puterin real-timedetection ontrol,MCUis oftenasa ponent to onlySCMknowledge is not enough,but alsobased onspecific hardware structureofhardware and binationto be vehicles,pedestrians bustling,car dealership traffic lane,people walkways,everything in good order and well what to rely on to achieve this in order?Rely onthe mand system oftraffic lot of traffic signal system design oftrafficsignalcontroller as the corecontrol device totheMCS-51 Series MCUATMEL89C51,to achievea green light,red lightstop,yellow light5 secondswarningfunction of the vehicle,and display thetraffic,bannedandwarningof the system isthe use of strong,simple operation,easy to realize,can alsomodify the programto achieve the desiredfunction according to thespecific requirements ofthe intersection.
Keywords:microcontroller 51,traffic lights,time display
目录
第一章绪论1
第二章单片机交通控制系统总体设计3
第三章单片机交通管理系统组成5
,LED及显示接口6
第四章交通管理系统主程序流程图9
第五章电路设计与仿真10
C程序17
,说明20
第六章调试功能说明及原理图调试主要过程22
基于89C51的红绿灯控制电路设计与仿真 来自淘豆网www.taodocs.com转载请标明出处.