毕业设计-基于单片机的交通灯设计.doc
文本预览下载声明
电子线路设计论文(设 计)
(2012年)
基于单片机的交通灯设计 英文题目: Traffic light design based on single chip 系 别: 信息工程系 专业班级: 10应用电子技术班 二 ○ 一二年 十二月
目录
摘 要 2
Abstract 3
第一章 课题来源背景及设计任务 4
1.1背景 4
1.2设计思路 4
1.3 交通灯功能要求 4
第二章 交通灯控制系统方案设计 5
2.1 交通灯通行方案设计 5
2.2 交通灯的基本构成及原理 5
第三章 交通灯的硬件设计 6
3.1 AT89S51的内部构造 6
3.2 主要功能引脚 6
3.3 系统硬件总电路构成 8
3.4 系统工作原理 8
3.5 其它硬件介绍及连接 8
3.5.1 八段LED数码管 8
3.5.2 晶振电路 9
3.5.3 复位电路 9
3.5.4 数码管显示电路 10
3.6 proteus仿真电路 10
3.7 Protel电路原理图(见附录) 11
第四章 软件系统设计 11
4.1 集成开发环境Keil v4 11
4.1.1 程序编写流程图 11
第五章 电路调试 12
5.1 利用keil进行调试 12
5.2 仿真结果分析 13
总结 13
参考文献 14
附录 14
1.C源程序 14
2.protel 原理图 18
摘 要
自从1858年英国人,发明了原始的机械扳手交通灯之后,随后的一百多年里,交通灯改变了交通路况,也在人们日常生活中占据了重要地位,随着人们社会活动日益增加,经济发展,汽车数量急剧增加,城市道路日渐拥挤,
近年来,随着科技的飞速发展,电子器件也随之广泛应用,其中单片机也不断深入人民的生活当中。本系统利用单片机89S51作为核心元件,实现了从一定程度上解决了交通路口堵塞、车辆停车等待时间不合理、急车强通等问题。系统具有结构简单、可靠性高、成本低、实时性好、安装维护方便等优点,有广泛的应用前景。
关键词:交通灯 单片机 AT89S51 数码管
Abstract
Since the 1858 British, invented the original mechanical wrench the traffic lights, then after more than one hundred years, the traffic lights changed traffic road conditions, also in Peoples Daily life occupy an important position, as people social activities, increasing economic development, car dramatically increase, the urban road is crowded, traffic lights more show its function, make traffic effectively control, for the improvement of road traffic dredge, conduction ability, reduce the number of traffic accidents have remarkable effect.
In recent years, with the rapid development of science and technology, electronic device has extensive application, including single chip microcomputer and deepening of peoples life. The simulation of traffic light system using the single chip microcomputer AT89S51 as the core element, realized through the light of pavement status of intelligent control. From a certain extent solved the traffic jams, vehicle parking waiting time is not reasonable, urgent problems such as car strong flux. The system has the
显示全部