摘要液晶触摸屏由于其轻便、占用空间少、方便灵活等优点,己经逐渐取代键盘成为嵌入式系统的常选用的人机交互工具。本文首先对液晶触摸屏进行了详细介绍,然后在研究其硬件结构,掌握其驱动时序要求和相应寄存器功能的基础上,使用Verilog硬件描述语言编写FPGA程序实现液晶触摸屏的驱动,并对设计的程序模块的功能进行了介绍与仿真。同时由于触摸屏和点阵式液晶屏叠加在一起配套使用时,触摸屏的坐标原点、标度和显示屏的坐标原点、标度不一样,因此,液晶触摸屏在使用时需要进行校准,文中详细阐述了几种常用的触摸屏校准算法,最后针对触摸屏三点校准算法进行编程,并在Visual C++ 6.0环境下验证了该算法编程的正确性。在本文的最后,还对液晶屏的菜单显示部分进行了研究,为后期实现屏幕菜单触控工作打下一定基础。65151
毕业论文关键词 FPGA 触摸屏驱动 触摸屏校准 菜单显示
毕业设计说明书(论文)外文摘要
Title Portable thermal imager touch screen driver technology research
Abstract
LCD touch screen due to its lightweight, occupy less space, and the advantages of convenient and flexible, has gradually replaced keyboard as the often use interactive tools in embedded systems. This article first introduced LCD touch screen in detail, and then study its hardware structure, the requirements of the driving timing control and the corresponding register function. After that, writing FPGA programs to realize LCD touch screen driver with Verilog hardware description language, and the design functions of the program modules are described and simulated. At the same time, when the touch screen and dot-matrix LCD stack together to form a complete set, the scale and the origin of the coordinates of the touch screen is different from that of the display screen, therefore, calibrating is required when using LCD touch screen. This paper elaborated the several commonly used touch screen calibration algorithm in detail, finally choosing the three points calibration algorithm for touch screen programming, and verified the correctness of the algorithm programming in the environment of Visual C++ 6.0. At the end of this article, also studied the menu display part of the LCD screen, which layed a foundation for later implementing the work of touch screen menu.
Keywords FPGA touch screen driver touch screen calibration Menu display
目录
1 引言 1
1.1 液晶触摸屏的发展现状 1
1.2 液晶触摸屏概述 2
1.2.1 液晶触摸屏工作原理 2
1.2.2 液晶触摸屏主要分类 2
1.2.3 电阻式触摸屏 3
1.3 本文的主要工作 3
2 LCD触摸屏驱动硬件平台与设计基础 4
2.1 LCD触摸屏硬件平台介绍 4
2.2 LCD触摸屏驱动设计基础 6
2.2.1 LCD驱动时序设计 6
2.2.2 LCD液晶屏驱动芯片的串口配置 9
2.2.3 XY坐标值 14
3 LCD触摸屏FPGA驱动程序设计 17
3.1 lcd_spi_cotroller模块 FPGA便携式热像仪触摸屏驱动技术研究:http://www.youerw.com/zidonghua/lunwen_72633.html