Electronics notes/Touch screen notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#addbodyclass:tag_tech}}
{{Electronics notes}}
{{Electronics notes}}


Line 13: Line 14:
-->
-->
====Resistive====
====Resistive====
<!--
{{stub}}


Most simpler touch screens are resistive.
Most simpler touch screens are resistive.
For a good time they were the rather cheaper option -- largely though economy of scale.
For a good time they were the rather cheaper option -- largely though economy of scale.


They need force, and may require a stylus to be useful.
They need more force than the later capacitive type, and may require a stylus to be useful.
 


''Can'' have pretty decent resolution.
''Can'' have pretty decent resolution, but may not.


Each axis, when touched, will give a particular resistance in a range (usually interfaced with an ADC), so can report only a single touch - touching on multiple places (e.g. resting a palm while drawing) will mis-report.
 
Each axis, when touched, will give a particular resistance in a range (usually interfaced with an ADC), so can report only a '''single touch''' - touching on multiple places (e.g. resting a palm while drawing) will typically mis-report.




There's 4-wire, 5-wire, 7-wire, 8-wire and more.  
There's 4-wire, 5-wire, 7-wire, 8-wire and more.  
These relate to different accuracies, and some to variants that won't lose as much accuracy over time{{verfiy}}
These relate to different accuracies, and some to variants that won't lose as much accuracy over time{{verfiy}}
-->


====Capacitive====
====Capacitive====
{{stub}}
{{stub}}


Capacitive sensing can sense anything that is capacitive (or somehow influences capacitance), which includes fingers or anything with a conductive tip - from specific styluses to sausages in latex gloves.
Capacitive sensing can sense various materials nearby, which includes fingers or anything with a conductive tip - from specific styluses to sausages in latex gloves.


Designs usually try to only be sensitive to very nearby things (not far beyond a protective plastic/glass layer.  
Designs usually focus on a specific range of capacitive effect, and will then respond fewer things that aren't fingers and closeby.




Has a few subtypes -- see [[capacitive sensing]].
Capacitive tricks went from being there in only a few devices (e.g. nineties trackpads)
One of them can be multi-touch, and multi-touch tablets are very usually capacitive.
to increasingly common (in MP3 players, and phone touchscreens) in the late noughties,
to uniquitous in phones and tablets since.




Has a few subtypes -- see [[capacitive sensing]].


Capacitive touch can be faster and more responsive than resistive.
One of them can be multi-touch, and '''multi-touch''' tablets and phones are very usually capacitive.
Some of the simpler/cheaper designs are less accurate than resistive, though; some handwriting recognition stuck with resisitive).
 
 
The screen itself ''can'' be built in a more robust way than resistive (sensors are under the top glass, not part of the top layer as in resistive).




Capactive touchscreens ''can'' be built in a more robust way than resistive (sensors are under the top glass, not part of the top layer as in resistive).


Went from there-but-specific (e.g. in trackpads) in the nineties to pretty common (in MP3 players, and phone touchscreens) in the late noughties.
Capacitive touch can also be faster and more responsive than resistive.
Some of the simpler/cheaper designs are less accurate than resistive, though; some handwriting recognition devices actually stuck with resisitive.


====Optical====
====Optical====
Line 111: Line 112:
=Brand-specific notes=
=Brand-specific notes=


==Elo notes==
<!--
There is no real standard, and there are a handful of touchscreen communication protocols you may find,
though some are likelier than others.


https://wiki.archlinux.org/index.php/touchscreen#Available_X11_drivers
-->




==Elo notes==


<!--
<!--
Line 146: Line 152:
there are some DIY cases where you might want to consume its communication more directly.
there are some DIY cases where you might want to consume its communication more directly.


 
Elo comes in variants:
There does not seem to be a universal standard protocol for these serial resistive touch screen - but at the same time not a lot of distinct ones either{{verify}}.
 
Even 'Elo' comes in variants:
* E271-2210 10-byte protocol
* E271-2210 10-byte protocol
* E281A-4002 6-byte protocol (legacy)
* E281A-4002 6-byte protocol (legacy)
Line 155: Line 158:
* E261-280  3-byte protocol (legacy)
* E261-280  3-byte protocol (legacy)
...but e.g. the linux driver code suggests it's not hard to cover all of them
...but e.g. the linux driver code suggests it's not hard to cover all of them


https://android.googlesource.com/kernel/msm.git/+/android-msm-mako-3.4-kitkat-mr2/drivers/input/touchscreen/elo.c
https://android.googlesource.com/kernel/msm.git/+/android-msm-mako-3.4-kitkat-mr2/drivers/input/touchscreen/elo.c
Line 177: Line 178:


My controller is branded Onetouch (taiwanese), specifically a 5W232-O.
My controller is branded Onetouch (taiwanese), specifically a 5W232-O.
It uses basic 3-wire (RX,TX,Gnd) TTL-level RS232, at 9600 baud.
: It uses basic TTL-level RS232, at 9600 baud.
The protocol's touch data comes in a simple 4-byte packet with a sync bit, packing two 12-bit coordinates, pen up/down information, and a checksum (found this in some PDF).
: The protocol's touch data comes in a simple 4-byte packet with a sync bit, packing two 12-bit coordinates, pen up/down information, and a checksum (found this in some PDF)  
A simple serial receive program can be used to check whether it works.
: A simple serial receive program can be used to check whether it works.
 
 


http://wiki.linuxmce.org/index.php/Egalax-Touchscreen
http://wiki.linuxmce.org/index.php/Egalax-Touchscreen
https://wiki.archlinux.org/index.php/touchscreen#Available_X11_drivers





Latest revision as of 23:06, 21 April 2024

⚠ This is for beginners and very much by a beginner / hobbyist

It's intended to get an intuitive overview for hobbyist needs. It may get you started, but to be able to do anything remotely clever, follow a proper course or read a good book.


Some basics and reference: Volts, amps, energy, power · batteries · resistors · transistors · fuses · diodes · capacitors · inductors and transformers · ground

Slightly less basic: amplifier notes · varistors · changing voltage · baluns · frequency generation · Transmission lines · skin effect


And some more applied stuff:

IO: Input and output pins · wired local IO · wired local-ish IO · ·  Various wireless · 802.11 (WiFi) · cell phone

Sensors: General sensor notes, voltage and current sensing · Knobs and dials · Pressure sensing · Temperature sensing · humidity sensing · Light sensing · Movement sensing · Capacitive sensing · Touch screen notes

Actuators: General actuator notes, circuit protection · Motors and servos · Solenoids

Noise stuff: Stray signals and noise · sound-related noise names · electronic non-coupled noise names · electronic coupled noise · ground loop · strategies to avoid coupled noise · Sampling, reproduction, and transmission distortions

Audio notes: See avnotes


Platform specific

Arduino and AVR notes · (Ethernet)
Microcontroller and computer platforms ··· ESP series notes · STM32 series notes


Less sorted: Ground · device voltage and impedance (+ audio-specific) · electricity and humans · power supply considerations · Common terms, useful basics, soldering · landline phones · pulse modulation · signal reflection · Project boxes · resource metering · SDR · PLL · vacuum tubes · Multimeter notes Unsorted stuff

Some stuff I've messed with: Avrusb500v2 · GPS · Hilo GPRS · JY-MCU · DMX · Thermal printer ·

See also Category:Electronics.

Types

http://en.wikipedia.org/wiki/Touchscreen#Technologies


Resistive

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Most simpler touch screens are resistive. For a good time they were the rather cheaper option -- largely though economy of scale.

They need more force than the later capacitive type, and may require a stylus to be useful.


Can have pretty decent resolution, but may not.


Each axis, when touched, will give a particular resistance in a range (usually interfaced with an ADC), so can report only a single touch - touching on multiple places (e.g. resting a palm while drawing) will typically mis-report.


There's 4-wire, 5-wire, 7-wire, 8-wire and more. These relate to different accuracies, and some to variants that won't lose as much accuracy over timeTemplate:Verfiy

Capacitive

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Capacitive sensing can sense various materials nearby, which includes fingers or anything with a conductive tip - from specific styluses to sausages in latex gloves.

Designs usually focus on a specific range of capacitive effect, and will then respond fewer things that aren't fingers and closeby.


Capacitive tricks went from being there in only a few devices (e.g. nineties trackpads) to increasingly common (in MP3 players, and phone touchscreens) in the late noughties, to uniquitous in phones and tablets since.


Has a few subtypes -- see capacitive sensing.

One of them can be multi-touch, and multi-touch tablets and phones are very usually capacitive.


Capactive touchscreens can be built in a more robust way than resistive (sensors are under the top glass, not part of the top layer as in resistive).

Capacitive touch can also be faster and more responsive than resistive. Some of the simpler/cheaper designs are less accurate than resistive, though; some handwriting recognition devices actually stuck with resisitive.

Optical

Acoustic

Temperature sensing

Brand-specific notes

Elo notes

Protocol notes

eGalax notes