基于AVR单片机的LED点阵屏设计_毕业设计.docVIP

  • 1
  • 0
  • 约3.65万字
  • 约 61页
  • 2019-05-17 发布于河南
  • 举报

基于AVR单片机的LED点阵屏设计_毕业设计.doc

南大学毕业设计 毕业设计 题 目 基于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 目 录 TOC \o 1-3 \h \u 字以10的速度向上移动 displaymove_UpDown(0,NAN,15); //将南字以10的速度向上移动 displaymove_UpDown(0,DA,15); //将大字以10的速度向上移动 displaymove_UpDown(0,XUE,15); //将学字以10的速度向上移动 displaymove_UpDown(0,0,15); //以10的速度向上清空 displayS(1); //等待1秒 displaymove_UpDown(1,JT,10);

文档评论(0)

1亿VIP精品文档

相关文档