15% off Adafruit | Free Shipping Over $25 | Spend $150 Get Arduino Uno Free (Code: 150-FREE-UNO)

{"id":4445193961590,"title":"Adafruit MCP23008 - i2c 8 input\/output port expander","handle":"adafruit-mcp23008-i2c-8-input-output-port-expander","description":"\u003cp\u003eAdd another 8 pins to your microcontroller using a MCP23008 port expander. The MCP23008 uses two i2c pins (these can be shared with other i2c devices), and in exchange gives you 8 general purpose pins. You can set each of 8 pins to be input, output, or input with a pullup. There's even the ability to get an interrupt via an external pin when any of the inputs change so you don't have to keep polling the chip.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eUse this chip from 2.7-5.5V (good for any 3.3V or 5V setup), and you can sink\/source up to 20mA from any of the I\/O pins so this will work for LEDs and such. Team it up with a high-power MOSFET if you need more juice. DIP package means it will plug into any breadboard or perfboard.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eYou can set the i2c address by tying the ADDR0-2 pins to power or ground, for up to 8 unique addresses. That means 8 chips can share a single i2c bus - that's 64 I\/O pins!\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eWe used this chip in our SPI\/i2c backpack and found it to be very reliable and easy to get up and running.\u003c\/p\u003e","published_at":"2020-03-30T13:18:31-04:00","created_at":"2020-03-30T13:17:14-04:00","vendor":"Adafruit","type":"Adafruit","tags":[],"price":190,"price_min":190,"price_max":190,"available":true,"price_varies":false,"compare_at_price":195,"compare_at_price_min":195,"compare_at_price_max":195,"compare_at_price_varies":false,"variants":[{"id":31513581584502,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"K630","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Adafruit MCP23008 - i2c 8 input\/output port expander","public_title":null,"options":["Default Title"],"price":190,"weight":0,"compare_at_price":195,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"continue","barcode":""}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/593-01.jpg?v=1585588634"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/593-01.jpg?v=1585588634","options":["Title"],"media":[{"alt":null,"id":6286137917558,"position":1,"preview_image":{"aspect_ratio":1.332,"height":728,"width":970,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/593-01.jpg?v=1585588634"},"aspect_ratio":1.332,"height":728,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/593-01.jpg?v=1585588634","width":970}],"content":"\u003cp\u003eAdd another 8 pins to your microcontroller using a MCP23008 port expander. The MCP23008 uses two i2c pins (these can be shared with other i2c devices), and in exchange gives you 8 general purpose pins. You can set each of 8 pins to be input, output, or input with a pullup. There's even the ability to get an interrupt via an external pin when any of the inputs change so you don't have to keep polling the chip.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eUse this chip from 2.7-5.5V (good for any 3.3V or 5V setup), and you can sink\/source up to 20mA from any of the I\/O pins so this will work for LEDs and such. Team it up with a high-power MOSFET if you need more juice. DIP package means it will plug into any breadboard or perfboard.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eYou can set the i2c address by tying the ADDR0-2 pins to power or ground, for up to 8 unique addresses. That means 8 chips can share a single i2c bus - that's 64 I\/O pins!\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eWe used this chip in our SPI\/i2c backpack and found it to be very reliable and easy to get up and running.\u003c\/p\u003e"}

Adafruit MCP23008 - i2c 8 input/output port expander

Product Description

Add another 8 pins to your microcontroller using a MCP23008 port expander. The MCP23008 uses two i2c pins (these can be shared with other i2c devices), and in exchange gives you 8 general purpose pins. You can set each of 8 pins to be input, output, or input with a pullup. There's even the ability to get an interrupt via an external pin when any of the inputs change so you don't have to keep polling the chip.


Use this chip from 2.7-5.5V (good for any 3.3V or 5V setup), and you can sink/source up to 20mA from any of the I/O pins so this will work for LEDs and such. Team it up with a high-power MOSFET if you need more juice. DIP package means it will plug into any breadboard or perfboard.


You can set the i2c address by tying the ADDR0-2 pins to power or ground, for up to 8 unique addresses. That means 8 chips can share a single i2c bus - that's 64 I/O pins!


We used this chip in our SPI/i2c backpack and found it to be very reliable and easy to get up and running.

SKU: K630
Avaliability: This item will ship within 5-10 business days. This item is popular! We are awaiting more inventory. Please Contact Us for an exact estimate on avalaiblity.
$1.90 $1.95
Maximum quantity available reached.

This board/chip uses I2C 7-bit address between 0x20-0x27, selectable with jumpers