住宅小区信息发布系统本科毕业设计.docVIP

  • 49
  • 0
  • 约4.14万字
  • 约 69页
  • 2016-09-24 发布于安徽
  • 举报

住宅小区信息发布系统本科毕业设计.doc

毕业设计说明书 题 目 : 住宅小区信息发布系统 院 (系): 电子工程与自动化学院 专 业 : 测控技术与仪器 学生姓名 : 李资鹏 学 号 : 1100820417 指导教师 : 黄 新 职 称 : 副教授 题目类型: 理论研究 实验研究 工程设计 工程技术研究 软件开发 2015年5月 20日 摘 要 利用LabVIEW、RS485总线、STM32微处理器、FPGA等技术,实现文字和图片信息的远程、动态发布。 上位机程序采用LabVIEW编写。上位机通过485总线向STM32发送待显示内容。STM32将数据暂存Micro SD卡中,在VGA场消隐期间,从Micro SD卡中读取数据,写入显存。FPGA读取显存数据,产生VGA信号。显示器读取VGA信号,将文字、图片显示出来。上位机与STM32之间的通信采用4线485总线。以数据帧作为通信的基本单元,采用和校验的校验方法,能在一定程度上保证数据传输的准确性和完整性。采用GBK字库,通过LabVIEW向Micro SD卡烧录了3种字体、7种字号。通过上位机向STM32发送GBK编码,STM32就能根据编码,从Micro SD卡中读取对应的点阵信息,并写入显存,实现汉字显示。ASCII码的显示与汉字的显示方法一致。 利用IMG2LCD软件生成图片点阵文件,或者由LabVIEW对图片进行解码,生成图片点阵文件。再将图片点阵文件、图片的大小位置信息发送给STM32进行处理,实现图片显示。在1024x768分辨率的显示器上,实现显示3种字体、7种字号的ASCII码与汉字,实现显示65536色的图片,显示稳定、色彩鲜艳! 关键词:小区信息发布;485总线;VGA接口;LabVIEW Abstract This system Release words and pictures remotely and Dynamically by using the technology of LABVIEW,RS485 BUS,STM32 MCU,FPGA etc. The host program designed by LabVIEW. The host send data to the STM32 by RS485 bus.STM32 will saves the data to Micro SD, and reads data from Micro SD ,then writes to the display memory in the course of VGA VBLANK.FPGA reads the data from the display memory ,and produces the signal of VGA. The display reads VGA signal and shows them on screen. The media of communication between HOST and STM32 is 4-wire RS485 Bus. The basic unit of communication is data frame. The check method of data frame is sum-check.It can ensure the accuracy and integrity of data transmission in a certain extent. The system used GBK Font. Write 3 typeface and 7 font size to Micro SD by LabVIEW. Send GBK code to STM32 by host,then STM32 can read the dot matrix information and write it to display memory through the code. So it can display Chinese characters. The method to display ASCII code is the same as Chinese characters. Using IMG2LCD software to generate the image dot matrix files, or decoding images by LabVIEW to generate the image dot matrix fil

文档评论(0)

1亿VIP精品文档

相关文档