在线时间0 小时
UID27
注册时间2006-9-15
NXP金币0
该用户从未签到
新手上路

- 积分
- 6750
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2008-5-16 16:30:35
|
显示全部楼层
回复:翻译接龙第二期:Using the Touch Screen Controller
[quote]原帖由scarletnet于2008-05-14 11:47发表:
未完待续
接上文
1.1 How 4-Wire Resistive Touch Screens Work
8、A 4-wire touch screen is made from two layers, each with a resistive coating. There is a separation between the two layers. The bottom layer is rigid, but the top one is flexible. Both layers have bus bars placed perpendicular to each other. A voltage is applied to the bus bars on both sides of a layer and the resistive coating creates a voltage gradient across the plane. The basic idea is to create a voltage divider. Detecting the voltage at the division point (the touch point) allows for calculating the relative position of the touch point with respect to the two rails.
9、To get the coordinates for a single point, two measurements are needed. First a voltage is applied across the x-axis plane, and the contacts for the y-axis plane are allowed to float. The resistive coating on the touch screen creates a voltage gradient across the plane. If the top layer is pressed, it flexes and makes contact with the bottom layer. The y-axis plane now has a voltage equal to the voltage on the x-axis plane at the point of contact. The voltage on the y-axis plane can be measured and used to obtain the x-coordinate. The process is repeated again to get the y-coordinate. This time the voltage is applied across they-axis plane and the x-axis plane is allowed to float. Then the x-axis voltage is measured and used to calculate the y-coordinate location.
1.1.1 Example of 4-Wire Touch Screen Measurement
10、Figure 1 shows an example of how measurements would be taken on a 4-wire touch screen. The first step is to get the x-axis coordinate. To do this X+/XL is biased to 3.3 V, and X–/XR is biased to 0 V. At this point there should be a consistent voltage ramp across the x-axis plane. If the screen is touched in the center, the mid-level voltage of 1.65 V is transferred to the y-axis plane. The Y+/YU and Y–/YD points are floating, so the entire plane should be at 1.65 V. This input voltage is read from the Y+/YU connection and used to determine that the x-axis coordinate of the touch point is at 50% of the screen’s width.
11、The next step is to get the y-axis coordinate. This time Y+/YU is biased to 3.3 V, and Y–/YD is biased to 0 V. This creates the consistent voltage ramp across the y-axis plane. The pressure from the touch creates a contact point between the two planes so that the x-axis plane goes to 1.65 V. The input voltage is read from the X+/XL wire and used to determine that the y-axis coordinate of the touch point is at 50% of the screen’s height. |
|