Understanding the Buttons and LEDS, and how to connect them to the MCP23017 board
Make how-to guides like this one in a snap.
ms

matt shepherd

Created Jun 06, 2023

Understanding the Buttons and LEDS, and how to connect them to the MCP23017 board

668
1

1. The 8x Button Matrix

This is an 8-button matrix configuration, where multiple buttons share a common cable or row, while their differentiation is achieved through columns. For instance, buttons 1 and 2, which correspond to play and pause functions, are assigned to Row 1. Pressing button 1 activates Column 1, while the pause function is associated with Column 2.

And hopefully, with a bit of luck, the corresponding LED should light up when a button is pressed.

In a nutshell: even though there are 8 buttons you only have 6 wires.

2

2. Remove the Button and LED circuit from the main board

Once you have delicately detached the button and LED ribbon cables from the old circuit board, the next step involves separating and extending the individual wires using your proficient soldering skills (don't forget to use the heat shrinks).

Both ribbon cables are connected to the MCP23107 board: LEDs are on row A (PA0-PA7) and the Rows and Columns are on row B (PB0-PB5)

Oops, something went wrong

We had trouble loading this image. Try waiting a few seconds and refreshing the page.
3

3. MCP23017 wire-up pin-out

Oops, something went wrong

We had trouble loading this image. Try waiting a few seconds and refreshing the page.
4

4. Finished board

Oops, something went wrong

We had trouble loading this image. Try waiting a few seconds and refreshing the page.
Well done!
Create how-to guides like this in a snap. Get Tango now.