Displays
XPT2046
Resistive touch controller used on many low-cost ILI9341 TFT touch modules.
Best For
Projects needing Touch and Resistive with a commonly available displays part.
Avoid If
You need production-grade certainty without checking the exact module vendor, pinout, and library maintenance status.
Quick Decision Notes
XPT2046 is indexed as a displays part from XPTEK. ChipScout tracks it by practical maker-facing dimensions: interfaces, library readiness, estimated price, field-level sources, and whether the page is strong enough for selection rather than only lookup.
Technical Specifications
Common Use Cases
- Maker prototypes
- Low-cost modules
- Educational hardware
Known Issues
- Breakout boards may use different pin labels or regulator choices
- Clone modules can differ from the original datasheet part
Interfaces and Library Support
Every field is meant to be source-backed. Corrections should include a datasheet URL, vendor page, module photo, or reproducible library test.
Submit correctionSource Resources
Pinout Table
Pinout is not yet source-verified. Use the table as an integration checklist, then confirm exact pins against the module vendor page before wiring hardware.
Common Wiring
Power the module from a rail that matches the breakout board, not just the bare IC.
Connect ground between the controller, sensor/module, and external power supply.
Share with other SPI devices when chip select lines are separate.
Required for most displays, radios, and writable devices.
Arduino Example
#include <SPI.h>
const int chipSelect = 10;
void setup() {
Serial.begin(115200);
pinMode(chipSelect, OUTPUT);
digitalWrite(chipSelect, HIGH);
SPI.begin();
Serial.println("XPT2046 SPI wiring smoke test");
}
void loop() {
// Replace this transaction with the maintained XPT2046 driver call.
digitalWrite(chipSelect, LOW);
SPI.transfer(0x00);
digitalWrite(chipSelect, HIGH);
delay(1000);
}MicroPython Example
MicroPython support is pending. Treat community scripts as prototypes until a maintained driver is linked and tested on a known development board.
Recommended Development Boards
Good match for SPI/I2C displays and enough memory for UI experiments.
Simple 5V classroom baseline when the display module includes level shifting.
Useful MicroPython test target for SPI and I2C display drivers.
Alternative Model Reasons
Common Questions
What is XPT2046 best used for?
Projects needing Touch and Resistive with a commonly available displays part.
Does XPT2046 support Arduino or MicroPython?
XPT2046 has verified Arduino support and MicroPython support pending verification.
What interfaces does XPT2046 use?
XPT2046 lists SPI; wireless support is no wireless protocol.
Alternatives and Related Parts
FT6236
FocalTech
Capacitive touch controller commonly paired with small TFT display modules.
GC9A01
GalaxyCore
Round color TFT controller popular in watch-style circular display modules.
HT16K33
Holtek
I2C LED matrix and segment driver used in backpack display modules.
ILI9341
Ilitek
Color TFT LCD controller used in many 2.4-inch and 2.8-inch SPI display modules.