Adafruit TCA8418 Keypad Matrix and GPIO Expander Pinout

The TCA8418 scans an 8 × 10 keypad or expands up to 18 GPIO lines over I²C. The two 13-contact headers expose every matrix line, power, I²C, interrupt and reset. Both STEMMA QT sockets share the host bus.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signal details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

26 visible
PinMCU pinTypesNotes
Power3–5 V DC power input.
PowerNominal 3.3 V output from U2.
GNDCommon ground for power and signals.
I2CHost-side I²C clock, level shifted to the TCA8418.
I2CHost-side bidirectional I²C data, level shifted to the TCA8418.
ControlActive-low, open-drain interrupt output.
ControlActive-low reset input. Pull low to reset the TCA8418.
Keypad rowGPIOKeypad row 7 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 6 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 5 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 4 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 3 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 2 or programmable GPIO on IC1.
GNDCommon ground for power and signals.
Keypad columnGPIOKeypad column 9 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 8 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 7 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 6 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 5 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 4 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 3 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 2 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 1 or programmable GPIO on IC1.
Keypad columnGPIOKeypad column 0 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 0 or programmable GPIO on IC1.
Keypad rowGPIOKeypad row 1 or programmable GPIO on IC1.

Specifications

PCB
Adafruit SKU 4918 · Rev B · 35.56 × 17.78 mm
Mounting
Two 2.5 mm plated holes on 10.16 mm centers
Power input
3–5 V DC at JP4.1 (VIN) or either STEMMA QT V+
Logic
Level-shifted host I²C at VIN. Rows and columns use the 3.3 V chip domain.
I²C address
Fixed 7-bit address 0x34
Headers
JP4 and JP1 · 13 positions each · 2.54 mm pitch · 12.70 mm between rows
Keypad and GPIO
8 sense rows, 10 scan columns, up to 80 keys. Any of the 18 lines can serve as GPIO.
Key events
10-event FIFO with an active-low interrupt output on JP4.6

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
SKU 4918Wiring guideAdafruitBoard power and pin functions.Datasheet
Rev BPCB and schematicAdafruitEAGLE pad coordinates and nets for the photographed board.Datasheet
TCA8418DatasheetTexas InstrumentsWQFN-24 terminal table, keypad scan, GPIO and INT.Datasheet
AP2127K-3.3DatasheetDiodes Incorporated3.3 V regulator and GET package marking.Datasheet

Board notes

JP4 power contacts
JP4.1 is VIN and JP4.2 is 3Vo on the board and in the native EAGLE files. The raster schematic in the guide swaps those two connections.
STEMMA QT routes
CONN4 is at the top and CONN3 is at the bottom. Both use pin 1 GND, pin 2 VIN, pin 3 SDA and pin 4 SCL. CONN4 pin 1 lies toward JP1 and CONN3 pin 1 toward JP4.