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.
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 — Raspberry Pi and CoderDojo Join Forces
Wearables — Gold glow
Electronics — Linear Love
Biohacking — Read Faster Using JETZT or SPEEDREAD
Sorry, the comment form is closed at this time.