基于单片机的表情显示系统设计
基于单片机的表情显示系统设计(任务书,开题报告,外文翻译,论文12000字)
摘要
本文主要研究了单片机在表情显示方面的应用,以单片机作为控制芯片,含有LED显示模块,按键选择模块,驱动模块,外扩存储器模块和红外通信模块。在本次毕业设计中,表情显示系统采用通过LED点阵阵列进行显示,并且通过添加相应按键模块丰富功能;设计好行、列驱动电路,即可以实现最基础的表情显示,成本低廉;此外本人学习了解了IIC协议,将其运用于本次毕业设计,可以通过外扩存储器芯片来存储表情的编码,以便获得更大存储空间丰富表情包的编码制作;本次设计还有一亮点是采用红外通信技术,可以实现短距离的遥控控制。
本文的表情显示系统主要运用单片机技术进行实现,具有成本低廉,可靠性高,可扩展功能丰富的特点,通过运用KEIL4 和 Proteus7.5以及ISP串口下载助手,相应取模软件进行程序设计,系统仿真和程序下载到硬件,最后可完整实现硬件设计,达到预期功能,并且稳定性高,采用的C语言设计可以很好的移植到更大的机器人系统上去。
关键词:单片机;表情显示;基于NEC协议的红外通信;基于IIC协议的存储器扩展
Abstract
This paper mainly studies the application of single-chip microcomputer in emotion display. The single-chip microcomputer is used as the control chip, which includes led display module, button selection module, drive module, external expansion memory module and infrared communication module.In the design, through the LED dot matrix array display, by adding the corresponding button module rich function; design the row and column drive circuit, that is, the most basic expression display can be realized, the cost is low; in addition, I learned to understand the iic protocol, Applied to this graduation design, the memory of the expression can be stored by the external expansion memory chip, so as to obtain the encoding of the rich expression package with larger storage space; another highlight of this design is the use of infrared communication technology, which can realize short distance. Remote control. [来源:http://www.doc163.com]
The expression display system of this paper is mainly realized by single-chip technology. It has the characteristics of low cost, high reliability and versatilfunctions. It uses KEIL4 and Proteus7.5 and ISP serial download assistant, corresponding modulo software for program design, system simulation. And the program is downloaded to the hardware, and finally the hardware design can be fully realized, the expected function is achieved, and the stability is high. The adopted C language design can be well transplanted to a larger robot system.
Key Words:MCU; Emotion display; NEC protocol for infrared communication; IIC protocol for external storageof an EEPROM.
[来源:http://Doc163.com]
[资料来源:www.doc163.com]
目录
1.1课题的背景及意义 1
1.2 关于其他一些表情显示系统的介绍 1
1.3设计的基本内容及目标 2
第 2 章 设计方案和表情显示系统组成 2
2.1 设计方案 2
2.2 KEIL软件简介 3
2.3 Proteus简介 3
2.4系统的整体结构框图 4
第3章 表情显示系统的组成 6
3.1 单片机最小系统 6
3.2 按键模块 7
3.3行列驱动模块 8
3.4 LED显示模块 11
3.5 红外遥控模块 12
3.6 外扩存储器模块 14
3.7 系统的整体原理图 15
3.8 基于单片机的表情显示系统的Proteus仿真 16
第 4章毕业设计总结 18
参考文献 19
附录 21
附录1:主函数流程框图 21
附录2:LED模块控制流程 22
附录3 按键功能检测流程框图 23
附录4 红外遥控流程框图 24
附录5 主程序和重要部分的子程序代码附录 25
附录6 主程序和重要部分的子程序代码 26
致谢 27
[来源:http://Doc163.com]