S3C2410 touch screen and modulus Conversion
Http://www.laogu.com/wz_15877.htm
I. Concepts of Touch Screen
The so-called touch screen is a computer input device that everyone uses, or
interface and Channel 5 (YP or ain5) as the Y coordinate input for the touch screen interface. In the "Development of ADC Driver instances on S3C2440", the analog signal of the AD conversion is generated by a potentiometer on the Development Board and input through channel 1 (ain0, the analog signal here is the X coordinate and Y coordinate analog signals genera
layer (which is also coated with an ITO coating) has many small (about 1/1000 inch) Transparent intervals between them to separate the two layers of ITO conductive layer for insulation.When the fingers touch the screen, the two layers of conductive layers that are normally insulated from each other have a contact at the touch point, because one of the conductive
bit is pressed, x + is VDD, X-Is Gnd, Y + is AD conversion, and y-is high-impedance. In this way, the Active Value of the X axis of the contact can be measured, and the Active Value of the Y axis can also be measured.
If you do not understand the above, let's make it easier to understand. The equivalent circuit is as follows. The core of the resistive touch screen
are a completely isolated work environment, not afraid of dust, water vapor and oil pollution② It can be touched by any object and used for writing and painting. This is their great advantage.③ The accuracy of the resistive touch screen only depends on the accuracy of A/D conversion, so it can easily reach 4096*4096 • comparison, fiveLineResistance ratio 4LineRe
small (about 1/1000-inch) transparent intervals between them that insulate the two layers of Ito conductive layer. When the finger touches the screen, the usual insulation of the two layers of conductive layer in the touch point position has a contact, because one side of the conductive layer connected to the y-axis of the 5V uniform voltage field, so that the detection layer of voltage from 0 to Non-zero,
voltage value at a certain point on the board is proportional to the position value of this point.(4) Touch screen after operation, press after the coordinates are pressed, coordinates is actually location information, this position information and voltage is proportional to, and this point of voltage can be converted through AD. This is how the entire resistive touch
(OTI, indium oxide ), the top is covered with a plastic layer with an external surface hardening and smooth scratch resistance. Its internal surface is also coated with an Oti layer, and there are many small (less than 1 inch) between the two conductive layers) are separated by transparent isolation points. When the finger contacts the screen, there is a contact point in the two layers of Oti conductive layers. Because one of the conductive layers is
learn and easy to operate, with no extra space and high reliability. It is the most commonly used input device for portable systems. In particular, the structure of the resistive touch screen is simple and simple, with low cost and good light transmission performance. The working environment is completely isolated from the outside world, without fear of dust and moisture. It also features high resolution,
Msg2133 touch screen (TP source code learning)
Note: The following devices refer to touch screens.
ABS: absolute value
1. Introduction to the input subsystem
Linux input devices include buttons, keyboards, touch screens, mouse, and joystick. They are character devices, and the Linux kernel abstracts the commonality o
msg2133 touch screen (TP source code learning)Emphasis: The following device refers to the touch screenABS: Absolute Value1. Introduction to the input subsystemLinux The total type of input device is complex, common include keys, keyboards, touch screen, mouse, rocker and so
achieve human-machine interaction interface.
2 touch screen working principleThe touch screen controller is equivalent to the interface between the touch screen and the microcontroller. The t
1. Hardware principles
1.1 Overview
We often use two types of touch screens: resistive touch screen and capacitive touch screen. They differ greatly in hardware and are relatively less in driver implementation. The capacitive touch
above.Three, light LCD color LCD screen1, light LCD color LCD screen steps(1). Turn on the FSMC peripheral clock(2). Configuring Gpio Pin status for FSMC(3). FSMC initialization Configuration(4). Call the LCD color LCD screen initialization function(5). Write the LCD color LCD screen reading and writing function (Command/data)(6). Send data to the LCD color LCD
touch screen control implementation
Currently, in many PDA applications, the touch screen is used as an input device and a dedicated chip is used to control the touch screen. Obviously, the control chip of the
generates the calibration benchmark parameter,
The touchpanelsetcalibration function executes a set of mathematical algorithms. The specific content is:
The relationship between the touch screen data and its position offset is also linear.
In this case, the location information returned by the touch screen and the pix
1. Normal converson Mode)
The Normal conversion mode (auto_pst = 0, xy_pst = 0) is used for general ADC conversion, such as measuring the battery voltage through ADC.
2. Independent x/y position conversion mode (separate x/y position Conversion Mode)
The independent X-axis/Y-axis coordinate
Li huaming himiOriginal, reprinted must be explicitly noted:Reprinted from[Heimi gamedev block]Link: http://www.himigame.com/iphone-cocos2d/450.html
----------------------------------- This chapter begins with a supplement! ----------------------------------
This article has made a detailed description of the Multi-contact and touch-screen events, but a little bit ignored, that is, to enable multi-cont
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.