摘要在这个信息化的时代,LED 显示屏在我们生活中的应用越来越多,LED 显示屏是由 一定数量的发光二极管按照一定的规律排列而成,可以由单片机控制其内部每个二极管 的亮灭与否,以最终完成整体图案的显示。点阵显示屏,具有色彩鲜艳、控制方便、显 示灵活等特点,大的点阵屏一般用来传递信息,有些还能播放视频,而小的显示屏可以 用来丰富人们的生活,于是出现了各种各样的点阵游戏机。84958
本设计的主要内容为基于单片机的点阵游戏机设计。采用两片单片机作为本设计的 控制中心,分别控制显示部分和控制部分,通过无线模块建立单片机之间的通讯。本设 计选用 16X16 的点阵显示屏作为主要显示器,由 4 个 8X8 点阵显示屏组合而成,并且用 4 个锁存器作为整个显示屏的行列控制驱动,由单片机直接控制。通过无线模块,本设 计可以用遥控器上的按键进行远程操作,这样就构成了整个设计的主体部分。另外,本 设计还使用数码管、液晶屏、蜂鸣器等来完善游戏机的各项功能,增加其游戏性。
完成本设计的过程可以分为以下三个:一,硬件电路设计;二,软件编程调试;三, 实物的焊接。在硬件电路中,采用的是 STC89C52 或能和其兼容的单片机作为控制核心; 在设计点阵显示屏的控制驱动时,采用将锁存器级联的方式,可以大量的节省单片机的 引脚;在按下按键时,液晶屏将显示当前操作的名称;而数码管则显示获得的分数。
毕业论文关键词:单片机;点阵游戏;无线遥控
Abstract In this era of information technology, LED display applications in our lives more and more, LED display is formed by a number of light-emitting diode array is made according to certain rules, its internal light each diode can be controlled by the microcontroller destroy or not to finalize the overall pattern of the display。 Dot matrix display with colorful, easy to control, display and flexible features, a large dot-matrix screen is generally used to convey information, but also play some video, and the small screen can be used to enrich people's lives, so there a variety of dot matrix game。
The main contents of this design is based on single-chip design dot game。 Using two single-chip as the control center of this design, control the display section and the control section, which establishes communication between the microcontroller via the wireless module。 The design uses 16X16 dot matrix display as the main display, a combination of four 8X8 dot matrix display is made with four latches and ranks as the entire display control drive, directly controlled by the microcontroller。 Via the wireless module, the design can use the button on the remote control for remote operation, which constitutes the main part of the entire design。 In addition, the design also uses LED, LCD, buzzer, etc。 to improve the game's features, increase its gameplay。
Completion of the design process can be pided into the following three: First, the hardware circuit design; Second, the software programming and debugging; Third, the kind of welding。 Hardware circuits, using STC89C52 or energy and its compatible microcontroller as the control; control in the design of dot matrix display drivers when using the latch cascade, it can save a lot of MCU pins; when the button is pressed, the LCD screen will display the name of the current operation; and digital displays scores obtained。
Keywords:MCU;LED dot matrix game;wireless
目 录
第一章 绪 论 1
1。1 课题研究背景和意义 1
1。2 国内外研究现状 STC89C52单片机的点阵游戏机设计+电路图+程序:http://www.youerw.com/zidonghua/lunwen_101310.html