单片机交通灯设计报告27.doc

  1. 1、本文档共36页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
山东大学 威 海 分 校 课 程 设 计 报 告 设计题目: ______ 红绿灯控制器___ _ 姓 名 : 袁卫平 学 号 : 20078002041 院 系 : 信息工程学院 专 业 : 电子信息科学与技术 年 级 : 07级 2010年7月25日 目 录 目 录 1 摘 要 8 关 键 词 8 Abstract 8 Keywords 9 1 引言 10 2 设计方案论证 10 2.1 电源提供方案 10 2.2 输入方案 10 2.3 界面显示方案 11 2.4 单片机使用方案 11 2.5 编程方案 11 3 芯片与工具及各模块图简介 12 3.1 STC12C5410AD单片机简介 12 3.1.2 STC12C5410AD单片机连接图 13 3.2 MAX232简介 13 3.3 工具简介 14 3.3.1 软件工具 14 3.3.2 硬件工具 14 3.4 系统模块简介 14 3.4.1 串口下载接口 14 3.4.2 单片机最小系统及外围结构 15 3.4.3 5V稳压电源电路 16 3.4.4 指示剩余时间的数码管模块 17 3.4.5 LED模块指示 17 3.4.6 键盘模块 18 3.4.7 复位电路 18 4 课题描述与分析 18 4.1 系统需求描述与分析 18 4.2 系统开发步骤 20 4.2.1 本系统的工作流程 20 4.2.2 软件设计 21 4.3 系统安全问题 21 5 课题设计 21 5.1 总体设计 21 5.2 硬件设计 22 5.2.1 灯控制电路设计 22 5.2.2 数码管显示电路设计 23 5.3 软件设计 24 6 系统测试 27 6.1 软件调试 27 6.2 硬件调试 27 7 结论 27 参考文献 28 摘 要 随着社会经济的发展,城市交通问题越来越引起人们的关注。人、车、路三者关系的协调,已成为交通管理部门需要解决的重要问题之一。城市交通控制系统是用于城市交通数据监测、交通信号灯控制与交通疏导的计算机综合管理系统,它是现代城市交通监控指挥系统中最重要的组成部分。本设计简单地模拟红绿灯的控制情况。12C5410AD为核心,使用STC232E建立RS23C接口。利用单片机的定时器产生秒信号,控制十字路口的红绿黄灯交替点亮和熄灭,并且用4只LED数码管显示十字路口两个方向的剩余时间。了解实验原理和设计思路,以便更好的掌握单片机的设计和运用。STC12C5410AD 单片机最小系统 数码管显示 Abstract With the social and economic development, urban transport problems are becoming increasingly a cause for concern. Of passengers, vehicles and the relationship between the way the coordination of traffic management has become an important need to address one of the issues. Urban traffic control system is used for urban traffic data monitoring, traffic signal control and traffic management computer system, it is the modern urban traffic control system command and the most important component. The design is simple to simulate the control of traffic lights. This system is based on 12C5410AD, which use STC232E to establish the RS23C interface. The use of single-chip timer seconds signals generated to control the turn at the crossroads of the red and green light and yellow light is off, and by 4 LED digital display at the crossroads of the remainder of the two directions. Underst

文档评论(0)

精品天地 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档