交通灯课程设计内容.doc

  1. 1、本文档共29页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE PAGE 1 PAGE 1 郑州华信学院 课程设计说明书 题目: 姓 名: 院 (系): 专业班级: 学 号: 指导教师: 成 绩: 时间: 年 月 日至 年 月 日 目 录 1 前言 ······································2 1.1课程设计目的 ·····································2 1.2任务和要求 ·······································2 2 硬件电路的描述和设计 ·························3 2.1单片机的简述 ······································3 2.2电源电路 ·········································3 2.3芯片的选择与简单介绍 ·····························4 2.4单片机的最小系统 ·································4 2.5 显示电路 ········································5 2.6 信号灯电路 ······································5 2.7电路原理图 ······································6 3 软件设计流程及描述 ··························7 3.1设计方案思想 ·····································7 3.2设计要求流程图 ···································7 3.3主程序流程图 ·····································8 4 仿真效果 ·····································9 4.1仿真软件 ·········································9 4.2系统仿真效果图····································9 4.3仿真结果分析·····································11 5 源程序代码 ·································11 6 参考文献 ···································17 7电路原理图及元器件表 ·······················18 7.1电路原理 ·········································18 7.2元器件表 ·········································18 8心得体会 ···········································20 1序言 1.1课程设计目的 1.巩固和加深课堂所学知识; 2.学习掌握一般的软硬件的设计方法和查阅、运用资料的能力; 3.通过对交通灯实时控制系统的设计与制作,掌握MCS-51单片机的中断系统、定时/计数器及并行I/O口的综合应用和编程方法,掌握七段数码管的显示原理和方法。 1.2任务和要求 设计一个交通灯系统,通过单片机如AT89C51并接数码管及发光二极管来模拟交通灯的变化规律,8个数码管用来显示秒值,东西南北各两个,12个发光二极管,东西南北各三个,分为红绿黄三种颜色。设计思路,首先东西方向绿灯亮,南北方向红灯亮,同时开始计时20s,在7段数码管上显示时间。当20s倒计时结束后,开始3s倒计时,并且东西方向绿灯开始闪烁,南北方向红灯亮。当3s倒计时结束后再开始2s倒计时,并且东西方向黄灯亮,南北方向还是红灯亮。当2s倒计时结束后开始20s的倒计时,此时是南北方向绿灯亮,东西方向红灯亮。接下来就是南北方向绿灯闪烁3s,再南北方向黄灯闪烁2s,接着又开始循环。要求设计出电气原理图、要求设计出程序流程图、要求设计出程序。 2硬件电路的描述和设计 2.

文档评论(0)

a13355589 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档