- 1、本文档共48页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计---交通灯的单片机控制设计[精品]
交通灯的单片机控制设计
摘 要:采用单片机,设计交通灯控制实现了通过芯片的P1口设置红、绿灯亮的功能输出显示时间在对系统功能分析的基础上,提出了三种设计方案,经比较,选择性能较优的LED动态循环显示方案进行了设计。设计包括硬件和软件两大部分。硬件包括单片机最小系统、时间显示、交通灯显示三部分。选用Atmel公司的AT89S52单片机作为控制核心东西南北四个方向设置了LED时间显示和交通灯显示时间显示采用三位LED显示器,交通灯显示则采用红绿双色高亮发光二极管来模拟。软件采用了模块化的设计方法,主要分为主程序、定时器中断服务子程序、倒计时显示子程序、交通灯模拟显示子程序四部分。
在实验板上制作了基于单片机的交通灯控制系统样机,对硬件和软件部分分别进行了调试,再进行了软硬件联调得到交通灯控制系统样机实物,可圆满地完成毕业设计任务书所要求的功能。关键词: 交通灯;单片机;AT89S52
esign of traffic light control system based on SCM
Abstract: Traffic light control system based on SCM (Single Chip Microcomputer) is designed in this paper. System requires that MCS-51 series SCM is used as CPU. Traffic light control system should be designed and made .There are four groups light which indicate to turn left, turn right, and go straight ahead and pedestrian access in east, west, north and south four directions. Timer shows traffic conversion remainder time. When special vehicles, such as 119,120 go through, the system can automatically allow special vehicles running and other vehicles is prohibited.
Based on analysis of the system functions, three schemes are put forward .By comparison, LED dynamic cycle display scheme has better functions and it is selected to be designed. The design includes hardware part and software part. Hardware has three parts .They are SCM system, LED time display, traffic lights. AT89S52 SCM is selected as control CPU. LED display and traffic lights are set in east, west, north and south four directions. Three LED monitors are used to show time. Highlight and red-green two color traffic lights are used as traffic lights. Software is designed by module. It is divided into main program, timer interrupting service subroutine, LED display subroutine, traffic display subroutine.
The model of traffic lights control system is made in experiment board. Hardware and software is debugged respectively, then hardware and software are combined and debugged .The model of traffic lights control system can meet the requirement of design task book p
您可能关注的文档
- 毕业论文- 年产10万吨10度纯生啤酒厂工艺初步设计[精品].doc
- 毕业论文(TD-SCDMA室内覆盖系统规划设计)[精品].doc
- 毕业论文 螺纹的车削与故障分析[精品].doc
- 毕业论文---牙周病的治疗及预防[精品].doc
- 毕业论文---某公司员工培训存在的问题分析及对策[精品].doc
- 毕业论文----网络广告的发展现状及趋势研究 - 副本[精品].doc
- 毕业论文---秘书心理问题的分析与研究[精品].doc
- 毕业论文--加强农村信用社企业文化建设的对策研究[精品].doc
- 毕业论文--关于我国农村医疗保险相关问题的浅析[精品].doc
- 毕业论文--基于JSP的网站新闻管理系统[精品].doc
- 聚焦2025年:中国高端医疗器械研发国际合作与本土化发展研究报告.docx
- 2024-2025学年初中生物学七年级下册人教版(新课程标准)(2024)教学设计合集.docx
- 聚焦2025年:中国高端医疗器械研发政策环境与产业布局研究报告.docx
- 城市轨道交通车站装修与公共艺术融合创新报告.docx
- 2025年智能家居家电在新兴消费行业市场应用分析.docx
- 美妆行业直播电商研究报告:2025年用户互动与购买行为.docx
- 聚焦2025年:中国高端医疗器械研发技术创新与产业协同发展研究报告.docx
- 文旅企业IP开发策略规划:2025年文化旅游演艺市场深度研究报告.docx
- 中国预制菜产业2025年线上线下融合与渠道拓展研究报告.docx
- 聚焦2025年:中国软件外包行业深度研究与展望报告.docx
文档评论(0)