1 / 86
文档名称:

基于单片机的俄罗斯方块毕业论文.doc

格式:doc   页数:86页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于单片机的俄罗斯方块毕业论文.doc

上传人:327062971 2015/3/12 文件大小:0 KB

下载得到文件列表

基于单片机的俄罗斯方块毕业论文.doc

文档介绍

文档介绍:基于单片机实现的俄罗斯方块游戏
MCU based Russia block game
摘要
本设计是通过AT89S52单片机来实现俄罗斯方块游戏的设计,使用C语言进行编程,并通过Proteus来进行仿真。
本设计要实现的基本功能是:应用按键来控制方块的变换与移动;消除一行并计分;消除多行额外奖励记分,方块堆满时结束游戏等俄罗斯方块的基本功能。单片机在手持娱乐设备上的应用具有非常大的潜力,它能将其带入到一个新的阶段。为了解决外部电路图,必须充分了解所用液晶的显示方法和单片机的外部接口功能,和所需要处理的逻辑关系;还要理解LCD液晶的控制原理,来通过数据端口和控制端口来实现画面在液晶上面的显示。
程序则要求对外部电路了解的情况下完成自己所需要的功能,并将所要完成的功能用编程语言的形式来实现。然后通过Protues仿真实现通过外部按键来控制各种不同图形的方块来玩游戏,并且实现记录分数和通过过关数来改变方块下降的速度。最后将程序下载至AT89S52单片机并进行实际运行,实际运行表明,本设计可以实现基本的游戏功能,达到预期的目的。
关键词:AT89S52;C语言;Proteus仿真;LCD液晶
ABSTRACT
This design is achieved through the AT89S52 microcontroller Tetris game design, programming using C language, and carried out by proteus simulation.
The design to achieve the basic functions are: application buttons to control the box, change and movement; eliminate line and scoring; eliminate multi-line incentive points, the game ends when the box filled with basic functions such as Tetris. MCU in the application of handheld entertainment devices have great potential, it can be brought to a new stage. In order to solve the external circuit, we must fully understand the liquid crystal display method and external interface MCU features, and the need to address the logical relationship; also understand that the principle of LCD liquid crystal control to a data port and control port to achieve the above the LCD screen display.
Program requires knowledge of the external circuit where they need plete the function and the function to pleted in the form of programming language used to achieve. Simulation then protues buttons to control an external box to play a variety of graphical games, and achieve record number of scores and the relationship had to change the speed of the module down. Finally, the program downloaded to AT89S52 MCU and the actual operation, the actual operation indicate that this design can achieve basic game functions, to achieve the desired purpose.
Key Words:AT89S52; C language; Proteus simulation; LCD liquid cryst
目录
1 绪论 1
课题背景

最近更新

2024年晨跑日记范文5篇 5页

2024年晚安祝福语-晚安问候短信图片 6页

2024年晋职述职报告 27页

青铜峡市禹皇酒庄营销策略研究的开题报告 2页

2024年春运志愿服务活动心得 6页

2024年春节致客户感谢信(精选10篇) 13页

青岛市城市绿地植物多样性及其对土壤理化性质.. 2页

青少年股骨颈骨折后股骨头坏死分型的初步研究.. 2页

2024年春节有趣的作文5篇 7页

2024年春节拜年日记12篇 6页

2024年春节当家心得体会大全 9页

2024年春节前安全工作汇报范文(精选20篇) 42页

心室颤动的除颤和药物治疗的再认识 43页

降低乌海地区煤矸石烧结砖生产过程中二氧化硫.. 2页

高职儿科护理学第一章绪论-课件 61页

阵发性房颤导管消融术后复发相关因素与再次消.. 2页

心内科常见急诊诊断与处置 197页

防裂制剂对新郑灰枣果实品质和组织结构的影响.. 2页

2024年春天的作文600字(优) 11页

长白山杨桦次生林健康评价与经营模式的开题报.. 2页

《同分母分数加、减法》教学设计(通用6篇) 1页

江西景德镇的导游词13篇 27页

七年级第一学期末成绩分析会年级组长发言稿 4页

老挝语-中文对照发音(共32页) 32页

金属探测器课程设计报告 11页

《中医诊断学》课程标准 6页

建筑工业产品行业标准《工业滑升门》征求意见.. 13页

三聚氰胺纸饰面人造板检验标准 4页

医患沟通的一些体会 PPT幻灯片 26页

《GBZ 158-2016 工作场所职业病危害警示标识》.. 20页