您好,欢迎来到佳博论文网!

LED点阵显示屏设计

论文编号:TX298论文字数:21530,页数:51

摘要

本文介绍了一种实用的LED点阵显示屏系统设计。PC(Personal Computer)机将所需要显示的汉字或数字信息转换成其相应的内码,通过串行口发送给LPC2103。LPC2103根据接收到的数据,从字库芯片GT23L32SW读取所要显示的汉字或数字的点阵显示数据。上、下位机之间通过MAX232芯片实现串行数据通信,并通过PC机实现对汉字或数字移动方向、移动速度以及显示屏相关指令的控制。本文简单介绍了在PC机上利用Delphi编程,对所要显示的汉字字符及其滚动方向与速度控制的过程,以及PC机与单片机串口通信的实现,然后着重阐述整个过程硬件的设计与实现。PC机通讯程序利用Delphi提供的MsComm串行通讯控件来完成,单片机的程序用C语言编写。

关键词:LED显示屏,LPC2103,点阵,字库,串口通信

ABSTRACT

This thesis introduces the design of a practical LED dot matrix display. The computer changes the Chinese characters and digital information required to display into the corresponding code. Then the corresponding code will be sent to the LPC2103 through serial interface .According to the data received, the LPC2103 reads the Chinese characters and digital dot-matrix display data from Font-chip GT23L32SW. Then LPC2103 control the basic characters’ moving direction speed and relational instructions on the display with the computer. The upper and lower machine realizes serial data communication with MAX232 chip. This thesis simply introduces the process of getting the required Chinese characters, controlling of their direction and speed by Delphi and the realizing of series communication between PC and MCU. Next this thesis puts its importance on the design and realizing of the hardware in the whole process. MsComm Serial communication control offered by Delphi implements the computer’s communication procedure. The procedure of single-chip is finished with C language.

Keywords: LED display,LPC2103,dot matrix,Font,Serial communication

目录

摘要I

ABSTRACTII

第1章 引言1

1.1 背景1

1.2 研究内容2

第2章 方案设计3

2.1 目标要求3

2.2 设计思路3

2.3 总体设计方案5

第3章 下位机硬件设计6

3.1 CPU电路设计6

3.2 电源电路设计9

3.3 时钟电路设计9

3.4 看门狗复位电路设计10

3.5 字库芯片电路设计11

3.6 列驱动电路设计12

3.7 行扫描电路设计13

3.8 电平转换电路15

第4章 下位机软件设计16

4.1 开发工具简介16

4.2 显示信息生成17

4.2.1 字库芯片中的点阵数据17

4.2.2 字库信息读取的实现18

4.3 C语言程序设计18

第5章 串行通信20

5.1 异步串行通信20

5.2 RS-232C通信标准22

5.3 PC机串行通信23

第6章 上位机设计24

6.1 上位机界面设计24

6.1.1 串口设置24

6.1.2 命令区指令25

6.1.3 文字符号显示25

6.2 开发工具及通信控件26

6.2.1 开发工具简介26

6.2.2 MSComm通讯控件简介27

第7章 调试29

7.1 硬件调试29

7.2 串口调试29

第8章 结束语30

致谢31

参考文献32

附件33

附件1: 总原理图33

附件2: PCB图34

附件3: 实物图35

附件4: C语言源程序36

LED点阵显示屏设计......