基于stm32的游戏机设计(附件)【字数:6381】
目录
一、 引言 1
(一) 设计背景 1
(二) 设计意义 1
(三) 设计介绍 1
二、系统方案设计 2
(一) 系统结构 2
(二) 主控芯片介绍 2
(三) LCD显示屏介绍 3
(四) MP3模块介绍 4
(五) 按键模块介绍 4
三、系统硬件设计 5
(一) 最小系统设计 5
1. 时钟电路 5
2. 复位电路 5
(二) LCD显示电路设计 6
(三) MP3模块电路设计 6
(四) 按键电路设计 6
四、系统软件设计 8
(一) MDK(Keil 5)开发环境介绍 8
(二) 主程序设计 8
(三) LCD驱动程序设计 9
(四) 按键驱动程序设计 11
(五) 贪吃蛇游戏设计 11
(六) 2048游戏设计 12
六、调试 14
七、总结 18
致谢 19
参考文献 20
附录一 主程序代码 21
附录二 按键控制代码 23
附录三 贪吃蛇游戏代码 25
附录四 2048游戏代码 30
附录五 MP3模块代码 40
Abstract
Game cons *51今日免费论文网|www.jxszl.com +Q: #351916072#
oles from the early desktop console to the current portable game consoles, game consoles have been popular and attention. At present, with the development of 5 G, the Internet of things industry is booming, embedded system as the core of the Internet of things, it is particularly important, the technology of microcontrollerhas been better developed, the performance of the new generation of microprocessorsis stronger, which makes it difficult and cost to make a simple game machine greatly reduced.
Based on STM32F103C8T6 chip, this design designs a game console. The main design content is divided into two parts: hardware design and software design. Mainly used STM32 chip, LCD display module, passive horn, six independent keys, MP3 module and so on. This design set up greedy snake and 2048 two games. At the same time, users can develop the system twice. The design after many debugging, the two systems can be perfect operation, key signal detection sensitive, high playability.
Keywords:STM32 chip; game console; LCD screen; snake ;2048
目录
一、 引言 1
(一) 设计背景 1
(二) 设计意义 1
(三) 设计介绍 1
二、 系统方案设计 2
(一) 系统结构 2
(二) 主控芯片介绍 2
(三) LCD显示屏介绍 3
(四) MP3模块介绍 4
(五) 按键模块介绍 4
三、 系统硬件设计 5
(一) 最小系统设计 5
1. 时钟电路 5
2. 复位电路 5
(二) LCD显示电路设计 6
(三) MP3模块电路设计 6
(四) 按键电路设计 6
四、 系统软件设计 8
(一) MDK(Keil 5)开发环境介绍 8
(二) 主程序设计 8
(三) LCD驱动程序设计 9
(四) 按键驱动程序设计 11
(五) 贪吃蛇游戏设计 11
(六) 2048游戏设计 12
五、 调试 14
总结 错误!未定义书签。
谢辞 错误!未定义书签。
参考文献 错误!未定义书签。
附录一 主程序代码 21
附录二 按键控制代码 23
附录三 贪吃蛇游戏代码 25
附录四 2048游戏代码 30
原文链接:http://www.jxszl.com/dzxx/txgc/557428.html
最新推荐