毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 论文 >> 正文

51单片机贪吃蛇游戏设计+C代码实现+流程图+电路图

更新时间:2010-9-15:  来源:毕业论文

51单片机贪吃蛇游戏设计+C代码实现+流程图
本设计采用80C51核心的单片机最小系统,80C51是MCS—51系列单片机钟CHMOS工艺的一个典型品种。另外,其他厂商以8051为基核开发出CHMOS工艺单片机产品统称为80C51系列。贪吃蛇游戏采用ATS892的80C51系列的芯片,AT89S52具有8KB空间ROM,256B的RAW,4个并行接口,1个串行接口,3个定时计数器,6个中断源。拥有大量的程序存储空间,大大减轻了对程序的编写和算法的要求。丰富的硬件资源可使外围电路变得更简单。本文来自辣.文,论-文-网
1.2 选题背景
贪吃蛇是家喻户晓的益智类小游戏,选择这个题目一是为了将自己的所学知识加以运用,二是一直以来贪吃蛇这个游戏就深深地吸引着我,它的制作方法对于以前的我而言都是很神秘的。我希望通过自己的所学知识把它剖析开来,真真正正的了解它的本质和精髓。虽然我的编程能力不是很强,但是我有信心,在这次学习中我将从实践和实际的项目中提高自己的编程能力。因此我选定了这个题目。
1.3 课题分析
  贪吃蛇游戏设计主要硬件由单片机最小系统,TFT彩屏,4X4矩阵键盘,整个的游戏设计外围电路比较少,主要核心在于游戏的程序设计,本设计的游戏规则也参照现在手机流行的贪吃蛇游戏的规则去设计,当蛇吃到食物时,蛇身就会自动增加一格,食物随机出现在屏幕上,当蛇碰到墙壁时,游戏结束。
本设计需要考虑的问题有以下几个:
1. 显示彩屏的选择
2. 保证游戏的流畅性和及时响应性
3. 游戏的设计应该接近人性化
4. 电路连接距离应尽量短,避免信号线受外界干扰
1.4 思路设计毕业论文http://www.751com.cn
  游戏的运行由矩阵键盘去控制,显示由TFT彩色屏幕完成。本设计的键盘扫描电路不同于以往一般的矩阵键盘,而由中断扫描代替,当有按键按下时,才执行扫描键盘,这样就可以节省很多CPU资源,同时也可以及时的反应出按键操作。
Based on single chip micro-game - greedy snake ABSTRACT
Single-chip microprocessor referred to as microcontrollers, which is integrated on a chip, a central processing unit, memory, timer / counters and a variety of input and output devices such as Interface Unit. SCM is a microprocessor development, an important branch, since its inception, performance, continuous improvement and increase, coupled with microcontroller with an integrated high, strong function, high speed, small size, power consumption, easy to use, reliable, cheap, etc. advantages, so in the industrial control, data acquisition and processing, communication systems, home appliances and other fields increasingly wide range of applications. Although the domestic late start, but the potential of SCM has been growing attention, especially in industrial control, automation instruments and meters, computer system interface, intelligent peripherals and other applications developed rapidly. Its application for the upgrading of products, mechanical and electrical integration, have important significance in industrial production, current, voltage, temperature, pressure, flow, flow rate and switching capacity are commonly used parameters of the main accused, was used for a variety production of different products. More extensive use of the communications industry, cell phone calls from can only be basic to the present, mobile phones have a variety of functions, single-chip has been widely used. Phone can listen to music, listening to the radio, play games, according to photos, etc., the more popular cell phone game Snake will be able to use SCM.
Keyword:51singlechip snake game
目  录
1  第一章 绪论 1
1.1 概述 1
1.2 选题背景 1
1.3 课题分析 1
1.4 思路设计 1
2 第二章 系统的基本组成和工作原理 2
2.1 系统的基本组成 2
2.2 系统的工作原理 2
3 第三章 显示电路的选取和设计 2
3.1 游戏显示的器件选择 2
3.2 显示功能的硬件电路 3
4 第四章 键盘扫描的电路设计 4
4.1 键盘扫描思路设计 4
4.2 键盘硬件电路设计 4
5 第五章 系统程序设计 5
5.1 编译软件 5
5.2 软件设计工具 5
5.3 C51 优化的 C 语言交叉编译器 10
5.4 系统设计流程图 11
参考文献 15
附  录 16
谢辞 1584

[1] [2] [3] [4] [5] 下一页

51单片机贪吃蛇游戏设计+C代码实现+流程图+电路图下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©751com.cn 辣文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。