没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
济南大学毕业设计
毕 业 设 计
题 目 基于 AVR 单片机
的 LED 点阵屏的设计
济南大学毕业设计
摘 要
LED 显示屏是一种由很多个发光二极管组成的点阵,通过控制半导体发光二极
管的亮灭来显示内容的显示屏。LED 显示屏分为数码显示屏、图文显示屏和视频显
示屏,都是由 LED 矩阵块组成。目前由于 LED 显示屏造价昂贵,主要应用于比较高
档的场所,主要集中在城市的繁华场所。
本文介绍了一款以 AVR 单片机为控制器的 LED 点阵显示屏系统的设计。该系统
可实现字母汉字的静态显示和动态滚动效果,并且可以通过外扩接口级连的方式来扩
大显示屏幕的尺寸以达到增加显示内容的目的。系统采用 PC 机作为上位机,上位机
向单片机发送控制命令和上位机所存储的字模数据,AVR 单片机接收字模数据并处
理 PC 机的控制命令,由显示驱动模块驱动一个 16×16 分辨率的 LED 点阵显示屏的
扫描显示。PC 机与单片机之间的通信采用 RS—232C 通信标准来实现。该系统只占
用了单片机少量的 I /O 口和内存,为系统留下了功能扩展的空间。
关键字:LED 点阵显示屏,AVR 单片机,595 驱动,串口通信
济南大学毕业设计
ABSTRACT
LED matrix display is a kind of display that is composed of a lot of semiconductor
light emitting diodes usually red light.emitting diodes which show character by the LED on
and off. LED display is divided into Digital display, Graphic display and Video display,
which is composed by LED matrix. Because of high price of the LED matrix , now it is
mainly used in relatively luxury places.
This paper introduces a design of the LED lattice display system base on MCU
AVR .The system can display in both Chinese and English characters of the show and from
top to bottom and move around the magic show. And can be cascaded to expand the screen
size to achieve increased content purposes. The PC sends control commands and displays
code to microcontroller, AVR receives control commands from PC and shows the code,
Driver module drives a 16×16.resolution LED lattice LED’s panel display scan showed.
Communication between PC and the microcontroller using RS.232C communications
standards. In addition, the system will take up only a small amount of the MCU I/O and
memory,so that the system has functional space for expansion.
Key words: LED matrix, AVR, 595 driver, UART
济南大学毕业设计
目 录
摘 要...................................................................................................................................I
ABSTRACT............................................................................................................................I
第 1 章 绪论........................................................................................................................1
1.1 课题背景................................................................................................................1
1.1.1 选题背景......................................................................................................1
1.1.2 我国现状......................................................................................................1
1.1.3 LED 显示屏的市场前景 .............................................................................1
第 2 章 方案论证与选择....................................................................................................2
2.1 系统硬件方案设计................................................................................................2
2.1.1 通信系统......................................................................................................2
2.1.2 LED 点阵显示屏 .........................................................................................3
2.1.3 LED 点阵屏的驱动方式 .............................................................................3
2.1.4 硬件设计方案..............................................................................................4
2.2 系统软件方案........................................................................................................5
2.2.1 单片机编程语言..........................................................................................5
2.2.2 系统软件编译器介绍..................................................................................6
2.2.3 上位机控制传输软件..................................................................................6
2.2.4 下载软件......................................................................................................7
第 3 章 系统硬件设计..........................................................................................................7
3.1 硬件系统的总体设计............................................................................................8
3.2 AVR 单片机最小系统设计...................................................................................8
3.2.1 串口通信电路设计......................................................................................8
3.2.2 复位电路设计..............................................................................................9
3.2.3 单片机的下载口........................................................................................10
3.2.4 AVR 单片机的时钟电路...........................................................................11
3.2.5 AVR 单片机最小系统...............................................................................11
3.3 LED 点阵屏设计及驱动电路设计 ...................................................................12
3.3.1 驱动电路设计............................................................................................13
3.3.2 行驱动电路设计........................................................................................13
3.3.3 列驱动电路设计........................................................................................15
3.4 LED 点阵屏设计 .................................................................................................16
第 4 章 系统软件设计......................................................................................................18
4.1 主程序设计..........................................................................................................18
4.2 显示程序设计......................................................................................................19
4.2.1 显示驱动程序的设计................................................................................19
4.2.2 点阵数据的获取........................................................................................19
4.2.3 串口通信程序的设计................................................................................20
第 5 章 系统制作与调试..................................................................................................23
5.1 系统硬件部分的调试............................................................................................23
5.1.1 短路与虚焊检测........................................................................................23
5.1.2 上电测试....................................................................................................23
5.1.3 串口调试....................................................................................................24
济南大学毕业设计
5.2 系统软件调试方法..............................................................................................24
5.3 系统软硬件调试及结果......................................................................................26
结 论..................................................................................................................................27
参考文献..............................................................................................................................28
致 谢..................................................................................................................................29
附录 1:系统 PCB ..............................................................................................................30
附录 2 系统运行样式.........................................................................................................31
附录 3:系统程序部分代码...............................................................................................32
剩余41页未读,继续阅读
资源评论
Mmnnnbb123
- 粉丝: 748
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功