毕业论文(设计)
51单片机在手持游戏机中的应用
学生姓名: 学号:
系别: 电气专业: 电子
指导教师: 评阅教师:
论文答辩日期
答辩委员会主席
摘要
本文基于单片机设计的俄罗斯方块游戏,俄罗斯方块(Tetris俄文:Тетрис)是一款风靡全球的电视游戏机和掌上游戏机游戏,它由俄罗斯人阿列克谢·帕基特诺夫发明,故得此名。俄罗斯方块的基本规则是移动、旋转和摆放游戏自动输出的各种方块,使之排列成完整的一行或多行并且消除得分。由于上手简单、老少皆宜,从而家喻户晓,风靡世界。
具体实现上,硬件系统平台采用51系列单片机,搭载LED,键盘和扬声器,构成了一个轻巧便携的游戏机系统。51系列单片机技术成熟,功能强大,应用广泛。使用单片机作为控制核心,可以简化硬件电路,采用软件编程控制单片机实现硬件电路的功能,降低能耗,降低成本。软件采用C语言编程,方便灵活,大大加快了软件开发速度,缩短了开发周期,并且便于移植。为提高开发效率和硬件稳定性,采用了功能强大的硬件仿真软件Proteus,依托该软件提供的仿真环境搭配Keil作为软件开发调试环境进行仿真调试成功。
文中具体介绍了使用到的各种硬件的特性,游戏的各种功能与详细设计,软件的具体设计思路,各模块的详细介绍,部分模块的程序流程图,关键部分代码的详细讲解等。
关键词:俄罗斯方块游戏,51单片机,Keil
Abstract
In this paper, the game of Tetris game is such a game based on MCU. Tetris (Tetris Russian: Тетрис) is a video game console and handheld game consoles game popular around the world, invented by Russians Alexei Pajitnov, it was this name. The basic rules of Tetris is moved, rotated and placed the game automatically output they are arranged in plete one or more lines and they will eliminate and you score. It is simple to use for all ages, so popular in the world.
The hardware system uses 51 MCU platform with two LCDs,keyboards and a speaker,ultimately forming pact portable game MCU’s technology is mature,powerful and widely use of MCU as control core,you can simplify the hardware circuit,achieve hardware functions of the circuit with software programming to control the MCU ,and reduce energy consumption and use C language programming,it is convenient and flexibly easy to order to enhance the efficiency and hardware stability of development,using a powerful hardware emulation software Proteus,based on the software simulation environment provided with the Keil software as a debugging environment to debug essfully.
The article introduces the use of a variety of hardware features,the game features and the detailed design,software design of the specific ideas,details of various modules,some modules of the pro
毕业设计(论文)-51单片机在手持游戏机中的应用 来自淘豆网m.daumloan.com转载请标明出处.