欢迎来到天天文库
浏览记录
ID:55690078
大小:407.50 KB
页数:47页
时间:2020-05-25
《城市十字路口交通灯控制系统的设计.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、摘要本系统由单片机系统、键盘、LED显示、交通灯演示系统组成。系统包括人行道、左转、右转、以及基本的交通灯的功能。系统除基本交通灯功能外,还具有倒计时、时间设置、紧急情况处理、分时段调整信号灯的点亮时间、违规车辆检测以及根据具体情况手动控制等功能。本文通过查询相关资料及对系统设计要求和交通灯电路逻辑的分析,结合MCS-51的使用特点提出了一套系统实现的软、硬件方案,并通过MCS-51开发装置实现了该设计方案的基本功能,对交通灯系统设计进行了一种经济、有效的尝试。关键词MCS-51单片机KEILC51编译器LED显示时序目录第1章引言······················
2、············································11.1交通灯的历史概况······················································11.2程序主芯片功能介绍····················································11.3程序编译语言及开发软件简介············································2第2章总体方案设计·············································
3、············52.1设计要求及可实现功能··················································52.2交通灯显示规律分析····················································52.3方案选择······························································8第3章硬件系统设计·························································113.1LED显示控制电
4、路······················································113.2计时器显示电路·······················································113.3车辆违规检测电路·····················································12第4章软件系统设计·························································144.1主程序设计·························
5、··································144.2按键子程序设计·······················································18第5章系统调试·····························································235.1状态灯显示测试与分析·················································235.2数码管显示测试与分析·········································
6、········235.3整体电路测试与分析···················································23结论·········································································24参考文献·····································································25附录······························································
7、···········26第1章引言1.1交通灯的历史概况当今,红绿灯安装在各个道口上,已经成为疏导交通车辆最常见和最有效的手段。但这一技术在19世纪就已出现了。1858年,在英国伦敦主要街头安装了以燃煤气为光源的红,蓝两色的机械扳手式信号灯,用以指挥马车通行。这是世界上最早的交通信号灯。1868年,英国机械工程师纳伊特在伦敦威斯敏斯特区的议会大厦前的广场上,安装了世界上最早的煤气红绿灯。它由红绿两色旋转式方形玻璃提灯组成,红色表示“停止”,绿色表示“注意”。1869年1月2日,煤气灯爆炸,使警察受伤,
此文档下载收益归作者所有