Skip to content

SolderedElectronics/Soldered-MCP23017-Port-Expander-Arduino-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IO expander MCP23017 breakout Arduino library

Make docs and publish to GitHub Pages Arduino Library Manager Compatibility

IO expander MCP23017 breakout
IO expander MCP23017 breakout

Are you short on IO pins? Looking to increase the number of them? That’s what the GPIO Expander MCP23017 is for! It uses I2C communication to do so. With just two wires, 16 new fully configurable digital IO pins are added to a microcontroller.

Due to the jumpers on the board, the I2C address of a device can be changed. Thus, eight breakout boards can be connected to a microcontroller. All of the pins on the expander board have pull-out resistors that can be turned on and off.

  • Dimensions: 38 mm x 22 mm
  • Standby current consumption: 1 μAStandard current consumption:  1 mA
  • Logic voltage level: 5V
  • Operating voltage: 1.8V to 5.5V
  • Communication: I2C (address: 0x27)
  • Connectors: easyC x2
  • Mounting holes: 2 (https://www.soldered.com/easyC)

Repository Contents

  • /src - source files for the library (.h & .cpp)
  • /examples - examples for using the library
  • other - keywords file highlights function words in your IDE, library.properties enables implementation with Arduino Library Manager.

Hardware design

You can find hardware design for this board in IO expander MCP23017 breakout hardware repository.

Documentation

Access Arduino library documentation here.

  • Tutorial for using the IO expander board
  • Installing an Arduino library

Board compatibility

The library is compatible with board & microcontroller families shown in green below:

Compile Sketches

About Soldered

soldered-logo

At Soldered, we design and manufacture a wide selection of electronic products to help you turn your ideas into acts and bring you one step closer to your final project. Our products are intented for makers and crafted in-house by our experienced team in Osijek, Croatia. We believe that sharing is a crucial element for improvement and innovation, and we work hard to stay connected with all our makers regardless of their skill or experience level. Therefore, all our products are open-source. Finally, we always have your back. If you face any problem concerning either your shopping experience or your electronics project, our team will help you deal with it, offering efficient customer service and cost-free technical support anytime. Some of those might be useful for you:

Original source

This library is possible thanks to original arduino-mcp23017 library. Thank you, blemasle.

Open-source license

Soldered invests vast amounts of time into hardware & software for these products, which are all open-source. Please support future development by buying one of our products.

Check license details in the LICENSE file. Long story short, use these open-source files for any purpose you want to, as long as you apply the same open-source licence to it and disclose the original source. No warranty - all designs in this repository are distributed in the hope that they will be useful, but without any warranty. They are provided "AS IS", therefore without warranty of any kind, either expressed or implied. The entire quality and performance of what you do with the contents of this repository are your responsibility. In no event, Soldered (TAVU) will be liable for your damages, losses, including any general, special, incidental or consequential damage arising out of the use or inability to use the contents of this repository.

Have fun!

And thank you from your fellow makers at Soldered Electronics.