0

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.


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

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.