Posts: 4
Joined: Thu Apr 19, 2012 8:31 pm

I2C Port Extender

Tue Jun 26, 2012 10:33 am

I've made a (stackable) I2C port extender module using the MCP23008. Schematics and board are here: https://github.com/zeeMonkeez/RaspberryPi-I2C-PortExt/ .
Comments welcome.
I have a few prototypes of v1.0 where I've buggered up the /RST input, but it works fine if just pulled up high. I'm happy to sell them at cost, shipping to UK/EU.

Posts: 4
Joined: Thu Apr 19, 2012 8:31 pm

Re: I2C Port Extender

Tue Jun 26, 2012 1:43 pm

Here is a pic of the schematic:
And here is one of my prototypes lighting up a couple of LEDs:

User avatar
Posts: 453
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
Contact: Website

Re: I2C Port Extender

Tue Jun 26, 2012 7:04 pm

I see your MCP23008 and raise you a MCP23017 :-)

I've done a similar board but I used the MCP23017. Details here

Your board looks nice and neat.


Posts: 6
Joined: Thu Jun 28, 2012 10:49 am

Re: I2C Port Extender

Thu Jun 28, 2012 5:49 pm

Looks really great, many thank for this open project

I don't have my pi yet, and I'm not sure at all about witch i2c driver select to manage your board, or how to do it exactly.
I gather reading forum the first step is recompile the kernel with the i2c driver, this method?


And after that I think the better option is create your own header files with functions to manage the i2c, I'm right?
Are any manual, or code examples to learn how to set up the port extender and after that how to call him from a bash or phyton program?

It will be great for beguinners like me...

Return to “Interfacing (DSI, CSI, I2C, etc.)”