Adafruit
Adafruit TCA8418 Keypad Matrix and GPIO Expander Breakout
The Adafruit TCA8418 Keypad Matrix and GPIO Expander Breakout is a versatile I2C GPIO expander and keypad matrix driver. With 18 I/O pins (10 columns and 8 r...
Get notified when back in stock
The Adafruit TCA8418 Keypad Matrix and GPIO Expander Breakout is a versatile I2C GPIO expander and keypad matrix driver. With 18 I/O pins (10 columns and 8 rows), it can manage up to 80 switches in a matrix configuration or serve as individual GPIO inputs and outputs.
Whether you need more buttons, LEDs, or a full keypad matrix for your project, this breakout handles it all over a simple I2C connection. It features a 10-element event queue so key presses and releases are stored even if you can't respond to the interrupt immediately. The built-in STEMMA QT connectors and onboard 3.3V regulator with level shifting make it compatible with both 3V and 5V microcontrollers.
Key Features
- 18 I/O Pins – 10 columns and 8 rows, configurable as a keypad matrix (up to 80 switches) or individual GPIO
- 10-Element FIFO Event Queue – Stores key press and release events so you never miss an input
- I2C Interface – Easy to connect and share the bus with other sensors and devices
- GPIO Inputs with Pull-ups – Optional pull-up resistors, interrupt output on INT pin for rising or falling signals, and built-in debouncer for noisy tactile switches
- GPIO Outputs – Set pins high or low for basic LED driving
- Interrupt Support – Configurable interrupt output on key press or release, no need for constant polling
- STEMMA QT / Qwiic Compatible – Solderless STEMMA QT connectors on both sides, compatible with SparkFun Qwiic
- Onboard Voltage Regulation – Built-in 3.3V regulator and I2C level shifting for 3V or 5V microcontrollers
Ideal For
- Custom keypads and button matrices
- Expanding GPIO on pin-limited microcontrollers
- LED control arrays
- Projects requiring interrupt-driven button input
- I2C sensor and peripheral chains
Package Contents
- 1× Adafruit TCA8418 Keypad Matrix and GPIO Expander Breakout
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- 3.3V regulator
- A 3.3V regulator is a power circuit that provides a steady 3.3 volts for parts that need that supply voltage. On a breakout board, it can let the sensor run safely even when the connected microcontroller or power source uses a higher voltage.
- breakout
- A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
- FIFO
- FIFO stands for "first in, first out", a way of handling stored items so the oldest one is read out first, like a queue. In electronics a FIFO is usually a small buffer that temporarily holds data, such as sensor samples or serial bytes, so a processor can collect it in batches instead of reading continuously.
- GPIO
- General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- LED
- A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- Qwiic
- Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
- STEMMA
- A plug-and-cable connection system used on some maker electronics boards to make wiring simpler. If a product uses STEMMA, you need the matching cable or connector type to plug it in without soldering.
- STEMMA QT
- A small plug-in connector system for I2C boards that lets you connect compatible sensors and controllers without soldering. It matters because it can make wiring faster and less error-prone, especially when adding several small modules to a project.
- UPS
- An uninterruptible power supply is a battery-backed power system that keeps a device running when external power is unplugged or fails. For an embedded computer, it helps prevent sudden shutdowns that can corrupt files or interrupt a project.
Find this product in
Brands
Components
Prototyping & Wiring
introducing adafruit stemma qt
Document · 1.5 MB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Related Tutorials
Free guides on learn.littlebird.com.au