基于单片机设计的打靶系统的毕业设计/论文.docx毕业论文(设计) 题 目基于单片机设计的打靶系统 英文题 目 Eased on Microcontroller design of Target-shoot system 院 系 电子工程学院 专 业 XX工程 姓 名 W00KIE 年 级 XXXX级 指导教师 woo XXXX年X月 本系统采用以单片机为核心制作的具有娱乐性质的单片机打靶系统。电路 模块分别有单片机时钟复位模块、4X4矩阵键盘模块、发光二极管(LED)矩 阵靶模块、用7447驱动的数码管显示模块。电路的基本功能与操作方法:运行 程序后,16个LED从LED0-LED15依次点亮,对应16个按键为Key0-Keyl5。在 3-5S内,16个LED将逐个点亮,然后,通过按键Keys来“打中”对应的LED。 当“打中”的时候,数码管显示打中位置号码,即刚好点亮的LED。本设计不 但具有娱乐性,而且在设计过程中更能加深对单片机外围电路的了解、设计应 用和提高。 [关键词]单片机键盘LED 7447驱动数码管 Based on Microcontroller design of Target-shoot system Abstract This system uses the microcontroller as the core production of entertainment properties with Mcrocontroller targeting system・ Mcrocontroller modules are clock circuit and reset module, 4x4 matrix keyboard module, light-emitting diode (LED) matrix of target modules, with 7447 driven digital display module・ The basic function of the circuit and operation method: run the program, the 16 LED light from LEDO to LED15, corresponds to 16 buttons for KeyO to Keyl5. In the 3 seconds to 5 seconds,the 16 LED will be lit one by one, and then, through the button Keys to nhitn the corresponding LED. When "hit" then the digital display the number of hit position, if that just lighted of the LED・ This design not only entertaining, but also in the design process helps improve the understanding of the microcontroller peripheral circuits, design application and improvement. [Key words] Microcontrol I er button digital tube LED 7447 dr iven 摘要 I Abstract II 刖 B 1 第一章设计思路与原理方框图 2 1打靶系统问题的提出 2 2 3 第二章打靶系统的硬件设计 4 1电路结构模块 4 2硬件原理图 4 2. 3主要控制单元(AT89C51)芯片 5 4数码管驱动芯片7447的介绍 8 第三章 打靶系统的软件设计 10 1流程图 10 2源程序 11 第四章打靶系统的调试与结果分析 13 1 Keil编程步骤 13 2 PROTEUS软件简单介绍 16 3程序烧写 20 4硬件调试 25 第五章 基于单片机设计的打靶系的扩展 26 1扩展模块的原理图 26 2核心元件ISD1420语音芯片的特点 26 3语音模块的功能 29 30 总结 31 致谢 32 参考文献 33 中国使用单片机的历史只有短短的30年,在初始的短短五年时间里发展极 为迅速。自1986年在上海召开了全国首届单片机开发与应用交流会,很多地 区还成立了单片微型计算机应用协会,那是全国形成的第一次高潮。单片机应 用技术飞速发展,我们上因特网输入一个“单片机”的搜索,将会看到上万个介 绍单片