AN1368
TOUCH SCREEN
Some applications require the support of a touch
screen for the display. This is achieved by using a
separate touch screen on the display glass or by
selecting a display module with a touch screen. In both
cases, the touch signals must be handled by either the
microcontroller or a separate touch screen controller
(such as Microchip’s AR1000 series touch screen
controllers). These touch signals are analog and digital
signals which must be decoded to sense the touch
coordinates. Transparent touch screens are usually of
resistive type or capacitive type. Resistive touch
screens are the most commonly used and are
generally available in 4-wire or 5-wire configurations.
The touch point can be detected by measuring the
variation of the resistance of the touch screen. Only a
4-wire touch screen is explained here.
4-WIRE RESISTIVE TOUCH SCREEN
This touch screen has four signals, of which two are
purely digital signals. The other two signals are
alternately configured as both digital and analog signals.
The four signals can be directly connected to the
microcontroller I/O pins with two digital inputs and two
digital outputs, or analog pins. Figure 10 illustrates the
connections for this scheme.
When the user touches the screen, the resistance of
the screen changes. By measuring the resistance in
horizontal and vertical directions, and comparing them
with the calibrated values, the (x, y) coordinates of the
point of touch can be obtained.
When a point on the screen is touched, the x-coordinate
voltage is obtained by applying voltages across the y-
signal and measuring the analog voltage on the x-signal,
as shown in Figure 11 . The y-coordinate voltage is
obtained by applying voltage across x-signals and
measuring the analog y-voltage, as shown in Figure 12 .
FIGURE 10:
4-WIRE RESISTIVE TOUCH SCREEN
Y
PIC ? MCU
with ADC
Digital I/O
Digital I/O
Digital I/O
Digital I/O
DS01368A-page 10
X
Y
X
? 2011 Microchip Technology Inc.
相关PDF资料
AC164130 BOARD DAUGHT PICTL PLUS ECAN/LIN
AC164131 BOARD DAUGHTER USB PICTAIL PLUS
AC164132 BOARD DAUGHTER PICTAIL ETHERNET
AC164141 BOARD SMART CARD / SIM CARD
AC164142 BOARD DAUGHTER PWR LINE MODEM
AC164144 LLC PICTAIL PLUS DAUGHTR BRD
AC164145 BOARD DAUGHTER PWR LINE MODEM
AC243005-1 KIT MEMORY SERIAL SUPERFLASH 1
相关代理商/技术参数
AC164128 功能描述:子卡和OEM板 dsPICDEM Motor Cntrl PICtail Plus RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164129 功能描述:子卡和OEM板 Audio PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164130 功能描述:网络开发工具 ECAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:Rabbit Semiconductor 产品:Development Kits 类型:Ethernet to Wi-Fi Bridges 工具用于评估:RCM6600W 数据速率:20 Mbps, 40 Mbps 接口类型:802.11 b/g, Ethernet 工作电源电压:3.3 V
AC164130-2 功能描述:子卡和OEM板 CAN/LIN PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164131 功能描述:子卡和OEM板 USB PICtail Plus Daughter Board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
AC164132 功能描述:以太网开发工具 100Mbps Ethernet PICtail Plus DB RoHS:否 制造商:Micrel 产品:Evaluation Boards 类型:Ethernet Transceivers 工具用于评估:KSZ8873RLL 接口类型:RMII 工作电源电压:
AC164133 功能描述:电源管理IC开发工具 dsPIC BuckBoost PICtail Daughtr Brd RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
AC164133 制造商:Microchip Technology Inc 功能描述:Buck/Boost Converter PICtail P