It's a GPIO expander, it's a keypad matrix driver... its the Adafruit TCA8418 Keypad Matrix and GPIO Expander Breakout - a cute and powerful I2C GPIO expander and keypad matrix driver! This chip is quite fancy, with the ability to act as your I2C multi-tool for handling keypads, buttons or LEDs.

This chip has 18 total 'I/O' pins, 10 columns and 8 rows. You can of course arrange them as a matrix of buttons for a total of 80 switches. Or you can use any subset as individual GPIO input or outputs. The nicest part of the keypad driver is that it has a 10-element event queue, so even if you don't get to the interrupt immediately, keypress and release events will be held for you. Since it's I2C its very easy to use with any microcontroller or computer.

GPIO expanders work like this: you have a board with some number of GPIO but not enough for your project - maybe you need more buttons or LEDs. You could upgrade to a board with massive number of GPIO like the Grand Central, or you could pop on one of these boards. Connect it over I2C and then you can send/receive I2C commands to control the GPIO pins to write and read them. It's going to be slower than direct GPIO access, but maybe that doesn't matter if it takes a millisecond instead of a microsecond. You only need the two I2C pins, and you can even share the I2C port with other sensors and devices. Heck, you can even add more expanders for massive I/O control!

For GPIO expansion, any of the 18 pins can be used as input or output. For inputs, you can also set an optional pull-up and an interrupt output on the INT pin for rising or falling signals. There's also a debouncer that can add a little low-pass filtering for noisy tactile switches. For outputs, you can set them high or low, great for basic LED driving.

For Keypad Matrix driving, theres up to 10 columns and 8 rows. You cannot change a row into a column or vice versa. Pull-ups and matrix scanning is handled for you, with key presses and releases recorded into a 10-element FIFO queue. You can of course set up interrupt output on key press or release so you don't have to poll over and over again. 

We've written both Arduino and CircuitPython/Python libraries for the TCA8418, so you can get started whether you have an Arduino-compatible UNO or a Raspberry Pi 4 - or anything in between. There's also a Linux Kernel driver module if you want to have this natively supported by a single-board-computer.

To get you going fast, we spun up a custom-made PCB in the STEMMA QT form factor, making it easy to interface with. There's a built in 3.3V regulator and level shifting on the I2C lines so you can use this with 3V or 5V microcontrollers.

The STEMMA QT connectors on either side are compatible with the SparkFun Qwiic I2C connectors. This allows you to make solderless connections between your development board and the TCA8418 or to chain it with a wide range of other sensors and accessories using a compatible cable. QT Cable is not included, but we have a variety in the shop. 

Note: You may get an off-white or black JST connector.

TCA8418 Specifications :
  • Supports 80 Buttons With Use of 18 GPIOs
  • Supports QWERTY Keypad Operation Plus GPIO Expansion
  • Low Standby (Idle) Current Consumption: 3 μA (not including breakout board regulator and LED)
  • Supports 1-MHz Fast Mode Plus I2C Bus
  • 10 Byte FIFO to Store 10 Key Presses and Releases
  • Open-Drain Active-Low Interrupt Output
  • Integrated Debounce Time of 50 μs

Package Includes : 

  • 1 x Adafruit 4918 TCA8418 Keypad Matrix and GPIO Expander Breakout - STEMMA QT / Qwiic

Write a review

Please login or register to review

Adafruit 4918 TCA8418 Keypad Matrix and GPIO Expander Breakout - STEMMA QT / Qwiic

  • Brand: Adafruit
  • Product Code:NR-Ada-Keypad-Matrix-GPIO Expander
  • Reward Points:7
  • Availability:In Stock
  • रo 757.56

  • Ex Tax:रo 642.00
  • Price in reward points:677

  • 45 or more रo 664.34
  • 240 or more रo 660.80

Related Products

Adafruit 4399 / 4210 / 4401 STEMMA QT / Qwiic JST SH 4-pin Cable

Adafruit 4399 / 4210 / 4401 STEMMA QT / Qwiic JST SH 4-pin Cable

This 4-wire cable is a little over 50mm / 1.9" , 100mm / 4" , 200mm / 7.8" long and fitted with JST-..

रo 121.54 Ex Tax:रo 103.00

Universal 4×4 16 Matrix Switch Keypad Keyboard

Universal 4×4 16 Matrix Switch Keypad Keyboard

The Keypad 4×4 features a total of 16 buttons in Matrix form. This is a membrane keypad with no movi..

रo 88.50 Ex Tax:रo 75.00

Adafruit 5640 Si5351A Clock Generator with STEMMA QT - 8KHz to 160MHz

Adafruit 5640 Si5351A Clock Generator with STEMMA QT - 8KHz to 160MHz

Never hunt around for another crystal again, with the Si5351A clock generator breakout from Adafruit..

रo 1,012.44 Ex Tax:रo 858.00

Adafruit 5664 PCA9546 4-Channel STEMMA QT / Qwiic I2C Multiplexer - TCA9546A Compatible

Adafruit 5664 PCA9546 4-Channel STEMMA QT / Qwiic I2C Multiplexer - TCA9546A Compatible

You just found the perfect I2C sensor, available in a handy chainable Qwiic, or STEMMA QT package, a..

रo 502.68 Ex Tax:रo 426.00

Adafruit 5663 PCA9546 4-Channel I2C Multiplexer - TCA9546A Compatible

Adafruit 5663 PCA9546 4-Channel I2C Multiplexer - TCA9546A Compatible

You just found the perfect I2C sensor, and you want to wire up two or three or more of them to your ..

रo 502.68 Ex Tax:रo 426.00

Adafruit 5637 QT 5V to 3V Level Shifter Breakout - STEMMA QT / Qwiic

Adafruit 5637 QT 5V to 3V Level Shifter Breakout - STEMMA QT / Qwiic

If you're hankerin' to use the new Qwiic / Stemma QT standard for your next project - but you're sti..

रo 375.24 Ex Tax:रo 318.00

Adafruit 2045 Si5351A Clock Generator Breakout Board - 8KHz to 160MHz

Adafruit 2045 Si5351A Clock Generator Breakout Board - 8KHz to 160MHz

Never hunt around for another crystal again, with the Si5351A clock generator breakout from Adafruit..

रo 1,012.44 Ex Tax:रo 858.00

Adafruit 1429 24-Channel 12-bit PWM LED Driver - SPI Interface - TLC5947

Adafruit 1429 24-Channel 12-bit PWM LED Driver - SPI Interface - TLC5947

For all of you out there who want to control 24 channels of PWM, we salute you! We also would like y..

रo 1,904.52 Ex Tax:रo 1,614.00

Tags: Adafruit, Keypad Matrix, GPIO Expander, Breakout, STEMMA, QT / Qwiic

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.

Name
Email
Phone
Comments