摘要随着多媒体设备的广泛使用,触摸屏作为一种新型的输入设备已被广泛使用。论文介绍一种以单片机AT89C2051为控制核心,ADS7843触摸控制芯片为驱动模块,USB接口为连接方式的触摸屏控制器的设计方法,并将触摸屏获得的信号转换为鼠标信号发送到计算机上。论文着重介绍了触摸屏、控制芯片、单片机这三者的结构与工作原理,并给出了一种互连方式,画出整个控制芯片的原理图与PCB图。并根据串行通信的设计要求及鼠标信号的要求进行了接口电路的设计,编写了触摸屏控制器的驱动程序,并使用Keil软件进行了调试。61606
毕业论文关键词 触摸屏控制器 单片机 ADS7843 串行通信
毕业设计说明书(论文)外文摘要
Title The design of touch-screen controller based on MCU
Abstract With the wide use of multimedia devices, touch screen, as a new input device, has been widely used. This paper introduces a design method of touch-screen controller, which is controlled by the AT89C2051 microcontroller, driven by ADS7843 and connected by USB .And it can transform the signal the touch screen gets into the mouse signal which is sent to the computer . This paper focuses on the structure and working principle of the touch screen, control chip and the MCU, then gives a way for them to connect with each other and gives the schematic and PCB of the whole control chip .According to the requirements of serial communication and mouse signal, designing the serial communication, writing a program of touch-screen controller and debugging by Keil is also completed.
Keywords Touch-screen Controller MCU ADS7843 Serial Communication
1 绪论 1
1.1 触摸屏控制器概述 1
1.2 课题的提出背景及研究意义 1
1.3 论文结构安排 2
2 触摸屏控制器芯片概述 3
2.1 ADS7843介绍 3
2.2 AT89C2051单片机 6
2.3 MAX232芯片 9
3 软件功能介绍 11
3.1 定时器简介 11
3.2 中断系统结构 12
3.3 串行通讯 14
4 电路设计 18
4.1 触摸屏的选用与连接 18
4.2 ADS7843的连接方法 22
4.3 USB接口的连接 23
5 软件设计 25
5.1 流程图 25
5.2 读写程序 25
5.3 中断程序 26
5.4 串行通信程序 27
结论 29
致谢 30
参考文献 31
附录A 32
附录B 36
附录C 38
1 绪论
1.1 触摸屏控制器概述
触摸屏,从市场概念来说,就是一种人人都会使用的计算机输入设备。概括地说,触摸屏是用手指或者其他感应介质直接触摸显示器来操作计算机的一种输入设备。它是目前最新的计算机用户接口界面。