现代交通灯设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

接口技术课程设计报告现代交通灯设计

学院(系):机械与电子工程学院

专业年级:电子信息工程10级1班学生姓名:

学号:

指导教师:郭文川

完成日期:2013年7月05日

现代交通灯设计

摘要

随着现代交通事业的发展,越来越多的私家车走进寻常百姓家,因此道路的负载强度越来越大,各大城市发生经常性的堵车事件,走路要比开车快已经成了不争的事实,然而传统的交通灯只有红,绿,黄三种颜色,不仅无法方便司机在高度紧张下对路况的判断,因此发生交通事故的可能性大大升高,因此我们需要带倒计时功能,而且可以显示各个通行方向的交通灯,为了设计一款这样的符合现代需求的交通灯,本设计基于单片机,用8255A扩展接口带左转、直行、右转三种通行绿灯,具有倒计时功能,当按下夜间行驶按钮时,所有方向黄灯闪烁,灯第二次按下夜间行驶按钮时,恢复正常行驶,当按下紧急按钮时,所有方向红灯亮,当第二次按下夜间行驶按钮时,恢复正常行驶,并可由管理人员修改倒计时的时间。

关键词:现代交通灯;

Introduction

With the development of modern transport, more and more private cars come into the common people’s home, so the load of road become more and more serious, the frequent traffic jams in major cities happened everyday, you can walk faster than driving, which has become an indisputable fact, but the traditional traffic light only have red, green, yellow, which not only can’t convenient the driver to see road conditions under high tension, thus it greatly increase the possibility of traffic accident, so we need to invite a traffic light with the countdown function, and can display the traffic directions of traffic lights, in order to design a modern traffic lights whitch can match the demand of need, this design based on single chip microcomputer 89C51, and extension interface with 8255A to show turn left, go straight, turn right three passage of the green, with the countdown function, when driving at night , all direction yellow lights flashing,,when night driving button press at the second time,the display will returns to normal, when press the emergency button, all direction turns red, when driving at night button a second time, back to normal, and can modify the countdown time by management personnel.

Keyword;modern traffic lights

目录

1 设计目的与要求...................................................................................................................... - 1 -

1.1 设计目的 ................................................................................................... 错误!未定义书签。

1.2 设计要求 ................................................................................................... 错误!未定义书签。

2 系统硬件设计 ................................................................................................. 错误!未定义书签。

2.1 总体设计方案............................................................................................ 错误!未定义书签。

2.2 硬件设计 ................................................................................................... 错误!未定义书签。

3 系统软件设计 ................................................................................................. 错误!未定义书签。

3.1 程序框图 ................................................................................................... 错误!未定义书签。

3.2 各模块程序设计........................................................................................ 错误!未定义书签。

4 仿真与调试...................................................................................................... 错误!未定义书签。

4.1 各种情况下运行结果................................................................................ 错误!未定义书签。

4.2 proteus整体仿真电路图........................................................................... 错误!未定义书签。

4.3 PCB电路板................................................................................................ 错误!未定义书签。

5 总结 ................................................................................................................... 错误!未定义书签。

5.1 遇到的问题................................................................................................ 错误!未定义书签。

5.2 心得 ........................................................................................................... 错误!未定义书签。参考文献 ......................................................................................................................................... - 15 - 附录C语言源程序.......................................................................................... 错误!未定义书签。

相关文档
最新文档