0

September 2, 2010 AT 12:49 pm

Everything you need to enjoy a brand new MCP23008 (MCP23008 library)

Mcp23008

Need more pins on your Arduino? Maybe an I/O expander is what you need. These chips use the 2-pins of the i2c port to give 8 more in/out pins. You can have up to 8 of them share the same two pins for up to 64 additional pins! The trade off is speed (its about 50x slower to go through the expander than direct) and memory (the library takes up both RAM and flash). We wrote a handy library with examples of reading, writing and setting pullups for the inexpensive and easy-to-breadboard MCP23008.

Download the library from github.
Purchase the chips via our part selector.
Add it to your project with our Eagle library.


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Memorize Your Metrics

Wearables — Furry face

Electronics — Get the scoop on crystal capacitors

Biohacking — Hykso: Punch Tracking Sensors

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



1 Comment

  1. Have you worked at all with the MCP23017-E/SP-ND, the 16 bit version of this? I imagine it will only take a few code changes to get it to work, but I haven’t tried it yet so I thought I’d ask. Thanks!

Sorry, the comment form is closed at this time.