Explainer #34 · Electronics & Computers
How does a touchscreen work?
The glass can't feel you. Under it, a grid of invisible wires holds tiny amounts of electric charge, your finger pulls a little of it away, and a chip checking every crossing many times a second sees exactly where.
The principle
Step 1: Electric charge. All matter holds tiny bits of electric charge, plus and minus, and opposite charges pull on each other. In some materials, such as metal and salty water, charge can move freely; these are conductors. In others, such as glass, plastic and rubber, it is stuck in place; these are insulators.
Step 2: A capacitor. Put two metal plates close together with an insulating gap between them and connect a battery. It pushes plus charge onto one plate and minus onto the other, and the two hold each other across the gap. That is a capacitor: a little store of charge, and its pull (its electric field) reaches out around the plates.
Step 3: Why your finger counts. Under a phone’s glass are see-through wires, made of a conductor called indium tin oxide. Where a row wire crosses a column wire they make a tiny capacitor, about 1 to 3 trillionths of a farad, and its field reaches up through the glass. Your body is mostly salty water, so it conducts. When a fingertip comes close it pulls away part of that field, and less charge reaches the column wire. The reading drops.
Step 4: The grid finds the spot. Rows and columns cross all over the screen; a typical phone controller handles about 13 rows by 24 columns, over 300 crossings. The controller pulses one row at a time and listens on every column, so each crossing is checked separately, the whole screen about 120 times a second. Every crossing that reads low is a finger, and comparing neighbouring crossings pins it down between the wires. Because each crossing is measured on its own, it sees several fingers at once: multi-touch, typically up to 10.
Step 5: Why gloves don’t work. A glove’s fabric is an insulator, and it holds your skin a few millimetres away from the glass. The field can’t reach anything that conducts, the reading doesn’t change, and the phone sees nothing. Touchscreen gloves have conductive (metal-coated) threads sewn into the fingertips.
Step 6: Resistive or capacitive?
- Resistive (older phones, ticket machines, some car screens): Upside: cheap, works with gloves, a pen or anything firm, because it simply senses where two layers are pressed together. Downside: it needs a firm press, the soft top layer scratches and looks less clear, and most see one touch.
- Capacitive (today’s phones and tablets): Upside: a light touch is enough, many fingers at once, and the top is hard, clear glass. Downside: it needs bare skin or a special stylus, and water drops can confuse it.
Try it yourself: touch your phone with a fingernail or a pencil eraser: nothing happens. Touch it with a knuckle: it works. Skin conducts; nail and rubber don’t.
Common myth
The screen feels how hard you press
A capacitive phone screen doesn’t sense force at all; it senses the charge your skin pulls away. That’s why the lightest touch works and a hard press with a gloved finger doesn’t. (Some phones added a separate pressure sensor, but the touch itself is electric.)How this video was made: Animated drawing, simplified: a 6 by 6 grid stands in for the real one, the scan is slowed right down, and the field is drawn as a few arcs. A real phone actually uses a pattern of diamond-shaped pads in two layers rather than plain wires.
Where the facts come from
- Wikipedia: Touchscreen (projected capacitive grid, mutual capacitance at every intersection, resistive screens work with gloves)
- Wikipedia: Capacitive sensing (rows and columns form a grid of capacitors, a 12 by 16 grid has 192, some screens fail with gloves or water)
- FocalTech FT5336 touch controller datasheet (mutual capacitance, 13 row and 24 column lines, report rate up to 120 Hz, each crossing about 1 to 3 pF)
- GigaDevice capacitive touch controllers (10 touch points, 80 to 120 Hz report rate)
- Microchip MTCH6301 product brief (multitouch up to 10 touches, over 100 reports per second)
- Wikipedia: Resistive touchscreen (two layers pressed together, works with gloves and any stylus)