• Thank you all very much for sharing your time with us in 2025. We hope you all have a safe and happy 2026!

Raspberry Pi GPIO expander

Atreyo Bhattacharjee

Commendable
Feb 7, 2017
42
0
1,580
I am making a project that requires more GPIO pins than the Raspberry Pi has. are there any expanders I can use? Also, is GPIO just on Raspberry Pi or is it a generic term that is on multiple platforms? I am making an LED cube, (10x10x10) and I need to have 30 pins (10 for each axles). Are there any micro controllers that expand the I/O capacity of the Pi?
 
Google "GPIO Expanders raspberry pi".

Probably some product such as the following example links:

https://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/overview

https://www.96boards.org/blog/sx1509-i2c-gpio-expander-with-pwm/

You will probably need to change the search terms to narrow down to options and choices more relevant to and applicable to your LED cube project.

Hopefully the link
 
Solution
A common way to do this is to use I2C bus on the RPi, with a chip which will provide I/O pins. Here is a good example of that. You can use several of these chips in parallel, with I/O pins on the RPi acting as "enable" signals.