【精品】基于单片机的交通灯控制系统-毕业论文.doc
文本预览下载声明
山东技师学院
题 目: 基于单片机的交通灯控制
教学单位 _ ________
姓 名 _王旭庆________
学 号 ___087610624______
年 级 _2008级__________
专 业 机电一体化____
指导教师 _张琳_______________
职 称 ____________
摘 要 十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用MSC-51系列单片机Intel8051和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;为了系统稳定可靠采用了MAX629“看门狗”芯片,避免了系统因为死机而停止工作的情况发生;显示时间直接通过8255的PA、PB口输出;交通灯信号通过PC口输出;交通灯的点亮采用VT双向晶闸管来控制,直接采用220V交流电源驱动,系统实用性强、操作简单、扩展性强。
关键词:单片机,交通灯,控制器,设计,实现
AbstractCrossroads vehicle wear comb, pedestrian Xi Rang, turn to be all right lane, person pedestrian says , methodically。 Do you lean what to realize this orderly order? What lean is that the automatic command system of traffic signal lamp。 Traffic signal lamp control way is many 。 This system adopts MSC-51 series only flat machine Intel8051 with but programming parallel interface chip 8255 A of I/O is central device the design controller of traffic lights, have realized can measure according to actual wagon flow the P1 installation bonus and green light that passes through 8051 chips burn to light the function of time; For system stabilize reliable have adopted MAX629 the chip dog looks after the house , have avoided that system stops working condition because of halting to occur; Show that time is directly exported through PB and PA of 8255; The signal of traffic lights is exported through usually PC mouth; The point of traffic lights light to adopt VT two-way Jingo floodgate pipe come to control, directly drive with the alternating current source of 220 V, practicality is strong, operating is simple。
Keywords: Only flat machine ,Traffic Lights ,Controller ,Design ,Realize
目 录前 言 1
一 交通灯发展概述 1
二 课题的背景及意义 2
三 课题的任务及要实现的主要功能 2
第一章 交通灯的总体方案设计与论证 3
1.1单片机与外围接口部件 3
1.2电源提供 3
1.3 倒计时显示界面 4
1.4 输入键盘 4
1.5 交通灯显示 5
1.6 系统稳定运行保障系统 6
1.7 理论分析与计算 6
第二章 硬件的选择与简介 10
2.1单片机的简介 10
2.1.1单片机的三大阶段 10
2.1.2以8位单片机为起点的发展阶段 11
2.1.3?单片机的发展趋势 12
2.1.4单片机的组成及特点 13
单片机的组成 14
单片机的特点 14
显示全部