文档介绍:目录
摘要: 1
Abstract: 2
第1章绪论 3
3
3
4
第2章硬件部分的设计 5
5
5
单片机AT89C52 5
看门狗MAX813L 8
计数器74LS161 10
驱动器74HC245 11
译码器74LS138 12
串行输入并行输出移位寄存器74LS595 13
电平转换芯片MAX232 14
锁存器74LS373 15
16
LED扫描显示电路的工作原理 16
LED点阵显示屏的结构及工作原理 17
行扫描电路的工作原理 18
列锁存电路的工作原理 19
PC机与单片机之间通讯的实现 20
22
第3章 LED显示程序设计 23
23
26
26
第4章 VB字模提取软件 28
VB字模提取软件界面及说明 28
结论 30
谢辞 31
参考文献 32
附录 33
LED点阵连接图 33
系统总电路图 34
“药品提示屏”的显示程序代码 35
摘要:本论文主要研究了医药商店药品提示屏显示及数据下载系统的设计和实现。显示系统包括16×80点阵的单色LED显示屏,控制板,串行数据线及PC平台。
主要研究LED点阵显示行扫描、列扫描方式;PC与控制板之间的串口通讯采用RS232串行通讯标准;控制板由AT89C52与数字电路、存储单元组成,控制显示屏的扫描显示;串行口下载的数据存放于非易失性DS1230NVRAM,NVRAM作为显示信息的数据库。本文先对系统的设计方案作了简介。而后对全部的硬件电路进行了详细的讨论,包括行扫描、列扫描电路基本原理,外部存储器的控制过程,串行传输的实现以及看门狗的功能及原理。然后对显示程序部分做了说明。最后对用VB编写的字模提取软件进行了简要介绍。
运行结果表明:该实验板工作稳定,性能良好,既利于操作人员使用,也便于顾客观察。整个系统的成本也较低廉,性价比优势突出。
关键词:LED显示屏,控制板,字模提取,串口通讯
Abstract:This paper mainly discussed the design and instrumentation of the pharmacies drug screen prompts and data downloading display system consists of 16×80 latticessingle color LED screen,control board,serial and PC platform.
The paper mainly researches for scanning of rows and columns of lattices LED display and using RS-232 Serial Data Standards for PC connect with control board consists of Atmel89C52,digital circuit,memory unit,which controls the display of the interface will load batch quantity datas into the DS1230 256kb nonvolatile(NV) is the data base of display this paper,the design of system is introduced briefly. Then the whole hardware circuit is presented particularly,including the basic principle of rows and columns scan circuits,control process of external memory,serial transmission technology,the function and principle of