TTP229 16-key capacitive touch keypad with ESP32

Supply 3.3-5 V Bus GPIO
VCCGNDSCLSDOOUT1OUT2OUT3OUT4OUT5OUT6OUT7OUT8

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V3
GNDGroundGND
SCLInput (the ESP32 drives it)D25Clock from the ESP32. Not I2C: a simple 2-wire serial
SDOOutput (the part drives it)D26Key data out to an ESP32 input
OUT1Not wired to the ESP32—Direct output for key 1 in 8-key mode, not needed with SCL/SDO
OUT2Not wired to the ESP32—
OUT3Not wired to the ESP32—
OUT4Not wired to the ESP32—
OUT5Not wired to the ESP32—
OUT6Not wired to the ESP32—
OUT7Not wired to the ESP32—
OUT8Not wired to the ESP32—

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.