Wednesday, 9 April 2014

Infarared touch system programming

A Carroll Touch infrared touch framework comprises of a touch controller and touch edge or a consolidated touch casing and controller. The touch framework utilization checking infrared (IR) bar engineering to discover specialist info. Creating an unobservable framework of IR light shafts before the host feature presentation screen, the touch framework reports touch data when the IR light field is hindered by a stylus (normally a finger). This data can be utilized by a touch requisition as comparable requisitions use information from indicating gadgets, for example, a mouse, light pen or trackball.
 

Touch Frames
The typical Carroll Touch touch frame is a thin, flat rectangle comprised
of four joined printed circuit boards (PCBs). Two adjacent PCBs contain
arrays of IR light emitting diodes (LEDs), while the other two PCBs
contain arrays of photo transistor/receivers. Each IR LED and the
photo transistor opposite it is called an opto- pair. The IR LED of each
opto-pair emits an IR light beam that is detected by the photo transistor.
The x-axis and y-axis arrays of opto-pairs are pulsed sequentially to
create a grid of IR beams, as shown in Figure 1-1.

 

 http://image.shutterstock.com/display_pic_with_logo/790342/790342,1326652631,7/stock-photo-woman-hand-holding-black-frame-and-touch-the-cloud-against-blue-sky-with-clouds-concept-image-on-92863696.jpg

Figure 1-1. Infrared Touch Frame
A beam, or a beam pair, consists of an IR LED and phototransistor
directly across from each other in the touch frame.

 

Touch Controller
The touch controller is the circuitry required to create and monitor the
IR grid. A sequence of electrical pulses is sent to the LEDs to create the
grid of IR beams in front of the video display surface. This grid of IR
beams is the touch active area.
When a stylus enters the touch active area, light beams are obstructed at
a particular location on the grid. The touch frame then transmits to the
controller a list that indicates which beams have been interrupted. The
controller converts this list into an x, y coordinate that identifies the
location of the touch. The x, y coordinate data is transmitted to the host
processor via the PC bus or the RS-232 serial port and is then processed
and used by the application program.

 


http://www.analog.com/static/imported-files/images/overviews/CapSystemAppDiagramAD7142_43.gif

Interpolating Touch Coordinates
To achieve finer resolution than the physical IR beam grid provides,
Carroll Touch IR touch systems interpolate a virtual beam between each
pair of physical beams. The physical beams are assigned even numbers
(0, 2, 4, and so on). The virtual beams are assigned odd numbers (1, 3,
5, and so on). The combination of physical beams and virtual beams
results in a set of logical beams.
The coordinate system formed by the logical beams is called the logical
coordinate system. The origin of the logical coordinate system (0, 0) is
located in the upper left corner of the display. When multiple beams are
interrupted, the touch system averages them and reports one x, y logical
coordinate pair to the host, a process known as beam averaging.


Reporting Touch Coordinates
For a touch to be reported, at least one x beam and one y beam must be
interrupted. If no beams are interrupted in either the x- or y-axis, the
touch is ignored.
The lowest logical coordinate reported for any axis on any touch frame
is zero. The maximum logical coordinate that may be reported for a
given touch frame axis may be determined from the number of physical
beams on that touch frame axis as follows:
Maximum logical coordinate = 2 x (number of physical beams - 1)
For example, on a frame that has 40 x-axis beams and 30 y-axis beams,
the maximum logical coordinates for the frame are:
Maximum logical x coordinate = 2 x (40 - 1) = 78
Maximum logical y coordinate = 2 x (30 - 1) = 58
Therefore, the reported coordinates would range from 0 to 78 on the
x-axis and from 0 - 58 on the y-axis.


                                        "News powered by"

                                           


                                                  



No comments:

Post a Comment

About Me

Popular Posts

Designed By Seo Blogger Templates