October 26, 2012 AT 3:55 pm

MCP230xx GPIO Expander on the Raspberry Pi #piday #raspberrypi @Raspberry_Pi

 Mg 0481

Adafruit 650

MCP230xx GPIO Expander on the Raspberry Pi @ The Adafruit Learning System.

While the Raspberry Pi packs and awful lot of punch for the price, and it’s fairly flexible where HW expandability is concerned, there are situations where you might want a bit more basic digital IO.  Thankfully, it’s an easy problem to solve with an I2C-enabled device like the MCP23008 (for an extra 8 GPIO pins) or the MCP23017 (for an extra 16 GPIO pins).  This tutorial will show you how you can get up and running quickly with either of these chips.

Learn more!


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!


“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

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!



2 Comments

  1. These tutorials are fantastic! Really useful, great work.

    Using a diagram of a sixteen-legged MCP3008 chip and calling it an eighteen-legged MCP23008 chip will mess up a beginner such as myself when I try to follow the diagram and connect the brown wire three pins from the right instead of six pins from the left.

  2. Gilberto Garcia

    Thanks to your excellent tutorial I was able to migrate your Python implementation to C#. I am running mono on the Raspberry Pi and using RaspberryPi.Net library.
    https://github.com/ferraripr/RaspberryPi.Net/blob/master/RaspberryPiDotNet/MCP3008.cs

    Keep up the good work!

Sorry, the comment form is closed at this time.