page 28
displa
ys
Touchpanel controller
Enabling Touch panel
Correctly placing the touchpanel cable into the connector
Touchpanel is a glass panel whose surface is covered
with two layers of resistive material. When the screen
is pressed, the outer layer is pushed onto the inner layer
and appropriate controllers can measure that pressure
and pinpoint its location. This is how touchpanels can be
used as an input devices. EasyPIC PRO
™
v7 is equipped with
touchpanel controller and connector for
4-wire resistive
touchpanels
. It can very accurately register pressure at a
specific point, representing the touch coordinates in the form
of analog voltages, which can then be easily converted to X
and Y values. Touchpanel is ment to be mounted onto the
GLCD display.
Figure 14-1: Put Touch Panel flat cable in
the connector
Figure 14-2: Use a tip of your finger
to push it inside
Figure 14-3: Now place GLCD with
Touch panel into GLCD socket
1
2
3
Figure 14-5: Turn on switches
5 through 8 on SW4 to enable
Touch panel controller
Touchpanel is enabled using
SW4.5
,
SW4.6
,
SW4.7
and
SW4.8
switches.
They connect
READ-X
and
READ-Y
lines
of the touchpanel with
RF5
and
RF2
analog inputs, and
DRIVEA
and
DRIVEB
with
RE4
and
RE5
digital outputs
on microcontroller sockets. Do not
connect additional boards or otherwise
interfere with these lines while you use
touchpanel, because you may corrupt the
results of the readings and get inacurate
touch coordinates.
D
AT
A BUS
READ-X
READ-Y
Easy
PIC PRO
v7
Figure 14-4: Touch Panel
connection schematics
Содержание EasyPIC PRO v7
Страница 37: ...page 37 EasyPIC PROv7 notes...
Страница 38: ...page 38 EasyPIC PROv7 notes...