文档详情

毕业设计《基于51单片机的交通灯系统》.doc

发布:2017-09-18约8.37千字共24页下载文档
文本预览下载声明
安徽农业大学 毕 业 论 文(设计) 论文题目 基于51单片机的十字路口交通灯设计 姓 名 学 号 院 系 专 业 指导教师 职 称 中国·合肥 二o一二 年六月 摘要 近年来,随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,不根据具体硬件结构软件结合,加以完善。 十字路口车辆,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。实现了从一定程度上解决了交通路口堵塞、车辆停车等待时间不合理、急车强通等问题。系统具有结构简单、可靠性高、成本低、实时性好、安装维护方便等优点,有广泛的应用前景。Abstract In recent years, with the rapid development of science and technology, the application of SCM is going deep, driving the traditional detection techniques to renew day by day. In the real-time examination and in the automatic control monolithic integrated circuit application system, the monolithic integrated circuit often took a core part uses., but should also act according to the concrete hardware architecture software and hardware union, to be improved. The intersection vehicles shuttle, the pedestrian is bustling, car dealership traffic lane, person sidewalk. Then depending on what to realizes this orderly order? The traffic lights depends on the automatic control system. There are great number kinds of modes to control the traffic lights. The system uses a series of MCS-51 as the center STC89C52 single-chip device designed to control the traffic lights. Short of the design cycle, high reliability, practical, simple operation, easy maintenance, the expansion of this system is powerful. Key words: traffic light;SCM; Digital tube 摘要 2 (一)总体设计思路 4 1.1 设计背景 4 1.2 设计目的及思路 5 1.2.1 设计目的 5 1.2.2 设计思路 5 1.3 交通灯显示时序及状态转换的理论分析 6 (二)方案比较、设计与论证 8 2.1 总体设计方案 8 2.2 控制模块选择方案 8 2.3 电源模块方案 9 2.4显示界面方案 9 2.4.1 倒计时显示界面方案 9 2.4.2 状态灯显示 9 (三)硬件设计 10 3.1系统总体硬件方案论证 10 3.2 STC89C52RC单片机简介 10 3.3单片机最小系统 13 3.3.1 时钟电路 13 3.3.2.复位电路 14 3.4 显示电路 14 3.5 电路图 15 (四)软件设计 16 4.1 程序流程图 16 4.2具体程序 16 4.3 程序烧至单片机过程 22 参考文献 23 (一)总体设计思路 设计背景 自从1858年英国人,发明了原始的机械扳手交通灯之后,随后的一百多年里,交通灯改变了交通路况,也在人们日常生活中占据了重要地位,随着人们社会活动日益增加,经济发展,汽车数量
显示全部
相似文档