基于单片机的推箱子游戏设计 毕业论文

基于单片机的推箱子游戏设计 毕业论文

ID:325941

大小:1.39 MB

页数:46页

时间:2017-07-23

基于单片机的推箱子游戏设计  毕业论文_第1页
基于单片机的推箱子游戏设计  毕业论文_第2页
基于单片机的推箱子游戏设计  毕业论文_第3页
基于单片机的推箱子游戏设计  毕业论文_第4页
基于单片机的推箱子游戏设计  毕业论文_第5页
资源描述:

《基于单片机的推箱子游戏设计 毕业论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、毕业设计(论文)课题名称基于单片机的推箱子游戏设计学生姓名学号0540827080系、年级专业信息工程系﹑05级电子信息工程专业指导教师职称2009年5月24日摘要本论文主要介绍了基于单片机的推箱子游戏的规则、硬件结构、软件代码的编写及工作原理、基于T6963C内核的液晶模块PG160128A的详细介绍以及指令集。模拟出Windows系统下的推箱子游戏,具有任意关数选择、难度依次加大、游戏步数记录、游戏时间记录、按键发声、系统低功耗、可实现在线调试等特点。本系统是以单片机为其控制核心,以有源晶振构成的电路作为时钟信号,通过方向键的选择向单片机

2、控制系统发出人物移动控制命令,控制系统接收命令后做出一系列必要的判断后,控制人物及箱子的移动。本设计已通过了实验仿真,运行稳定,基本上没有规则方面的错误。论文主要分为两大块:一块为游戏的硬件电路组成部分,一块为软件程序设计部分。在硬件电路里主要包括有源晶振部分、方向控制部分及液晶显示部分等与单片机的接线设计;软件编程方面主要是子程序和主程序的编写,包括:初始化代码、液晶驱动代码、方向按键代码、过关判断代码、步数记录代码、时间记录代码、按键发声代码、关数选择代码及表格数据代码等等。所有这些在文中都有详细说明。关键词:单片机;推箱子;PG1601

3、28A;T6963C内核;指令集AbstractThispaperintroducesthesingle-chipbasedontherulesofthegameSokoban,thestructureofhardware,softwarecodewritingandworkingprinciple,basedonthecoreT6963CLCDmodulePG160128A,aswellasdetailsoftheinstructionset.SimulatethesystemunderWindowsSokobangame,anarbitr

4、arynumberofrelatedoptions,inturnincreasethedifficultyofthegameafewstep-by-steprecordtimeofthegamerecord,soundbutton,low-powersystemcanachieveon-linedebuggingandsoon.Thesystemisbasedonitssingle-chipcontrolofthecore,consistingofactivecrystalclockcircuitclocksignalsentthrought

5、hearrowkeystoselectthesingle-chipcontrolsystemtocontrolmobilecommandcharacters,thecontrolsystemafterreceivinganordertomakeaSeriestodeterminethenecessary,tocontrolthemovementofpeopleandboxes.Thisdesignhasbeenadoptedbythesimulationexperiments,stable,rulesvirtuallynomistakes.T

6、hemainthesisisdividedintotwoblocks:oneforthegame'shardwarecomponentsofthecircuit,asapartofthesoftwareprogramming.Inthehardwarecircuitry,includingthemainactivepartofthecrystal,thedirectionandcontrolofsomeoftheliquidcrystaldisplayandotherpartsofthesingle-chipwiringdesign;soft

7、wareprogrammingsideofthemainsubroutineisthemainprogramandthepreparation,including:initializationcode,LCDDrivercode,thedirectionofkeycode,customscodetodetermine,step-by-steprecordofthenumberofcode,recordtimecode,voicebuttoncode,customscodeandselectanumberofformsofdatacodeand

8、soon.Alloftheseareinthetextindetail.Keywords:MCU;Sokoban;PG160128A;T6963Ccore;inst

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。