Thursday, May 28, 2015

MCP23008 8 gpio extender for Nusbio

Overview 

I just implemented a C# class to plug a 8 gpio extender named

This chip is an I2C chip therefore I need to use 2 of the Nusbio gpio (gpio0: clock, gpio1: data) to control it, but in exchange I get an extra 8 gpios.

8 - 2 + 8 = 14 GPIOs

It is possible to add more than one MCP23008 on the same bus.

I2C vs SPI

Becarefull MCP23S08 is the SPI version and for now, you need the I2C one which is MCP23008.
SPI support for the Nusbio will come in the next few weeks.

More GPIO


The chip MCP23017 is an 16 gpio extended part of the same familly. I will add support for it in the next few weeks. In some way the MCP23017 is superior because
  • It had twice more GPIO
  • 15% more expensive
  • Similar wiring
  • But it takes more space on the board



No comments:

Post a Comment