摘要
基于STC15系列单片机设计的游戏机包括俄罗斯方块、贪吃蛇、赛车、打飞机四款经典小游戏。主要设计内容包括游戏机的硬件、软件。由于采用了STC15F2K60S2新型单片机,在硬件设计方面有所简化,与传统51单片机相比,可以省略振荡电路、复位电路,而且运行速度更快。以前的单片机游戏机只有1-2款游戏可供选择,而本游戏机有4款游戏可供选择。实验结果表明,该游戏机硬件简单、娱乐性强,是初学者学习认识单片机的好方法。
This system is realized based on STC15 series single‐chip computer game design .Such games in‐clude classical tetris ,snake ,car ,hitting the plane .The main contents of the design cover the hardware and software of game consoles .With STC15F2K60S2 new single chip microcomputer ,the hardware is greatly simplified in the design .Compared with the traditional 51 single chip microcomputer ,it dispenses with os‐cillation circuit and reset circuit ,and runs faster .Previous MCU game consoles only provide 1‐2 games ,but four are available on the game console .The experimental results show that the console is of simple hard‐ware but strong entertainment ,serving as a good way for beginners to learn about SCM .
出处
《西安航空学院学报》
2016年第1期64-67,共4页
Journal of Xi’an Aeronautical Institute
基金
陕西省高等教育教学与改革研究项目(15J34)
作者简介
姚伟鹏(1975-),男,陕西西安人,讲师,从事单片机及应用技术研究.