{"product_id":"mcp23017-i2c-16-bit-i-o-expander-module-for-microcontrollers","title":"MCP23017 I2C 16-Bit I\/O Expander Module for Microcontrollers","description":"\u003ch2\u003eAdd 16 more digital I\/O pins to your microcontroller using just two wires.\u003c\/h2\u003e\u003cp\u003eThe MCP23017 I2C 16-Bit I\/O Expander Module is a small breakout board for projects that have run out of digital pins. It gives you 16 bi-directional I\/O lines (PA0 to PA7 and PB0 to PB7) that are controlled over the I2C bus, so your main board only needs its SDA and SCL lines. It suits sensor arrays, control panels and prototyping.\u003c\/p\u003e\u003ch3\u003eWhy You'll Love It\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e16 Extra I\/O Lines:\u003c\/strong\u003e Add 16 bi-directional ports to a board that is short on digital pins.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTwo-Wire Control:\u003c\/strong\u003e Communicates over I2C, so it uses only the SDA and SCL connections to your main board.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eShared Bus:\u003c\/strong\u003e Hardware address pins let you connect up to eight modules on one I2C bus.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eConfigurable Interrupts:\u003c\/strong\u003e Interrupt outputs can be set as active-high, active-open-drain or active-low.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompact Board:\u003c\/strong\u003e Fits tight prototyping spaces and custom enclosures.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eProduct Details\u003c\/h3\u003e\u003cul\u003e\u003cli\u003eSee the size options and photos above for exact measurements.\u003c\/li\u003e\u003c\/ul\u003e\u003cul\u003e\n\u003cli\u003eInterface: I2C serial\u003c\/li\u003e\n\u003cli\u003eBit count: 16-bit\u003c\/li\u003e\n\u003cli\u003eDevice type: I\/O expander module\u003c\/li\u003e\n\u003cli\u003eCondition: Brand new\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eWhat's in the Box\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e1 x MCP23017 I\/O expander module\u003c\/li\u003e\n\u003cli\u003e2 x 20-pin male header strips (solder yourself)\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eHow to Use\u003c\/h3\u003e\u003col\u003e\n\u003cli\u003eSolder the supplied header strips or wire leads to the PA and PB pads, and to VCC, GND, SCL and SDA.\u003c\/li\u003e\n\u003cli\u003eConnect VCC and GND, then SCL and SDA to your microcontroller's I2C pins.\u003c\/li\u003e\n\u003cli\u003eSet the A0, A1 and A2 address pins (VCC or GND) so each module on the bus has a unique address.\u003c\/li\u003e\n\u003cli\u003eInitialise the device in your code and read or write the 16 I\/O lines.\u003c\/li\u003e\n\u003c\/ol\u003e\u003ch3\u003eGood to Know\u003c\/h3\u003e\u003cp\u003eThis is a bare breakout board, so the header pins must be soldered before use. Check the labelled VCC and GND pads against your supply voltage before powering up. Give each module on a shared bus its own address to avoid conflicts.\u003c\/p\u003e\u003ch3\u003eFAQ\u003c\/h3\u003e\u003cp\u003e\u003cstrong\u003eHow many modules can I connect together?\u003c\/strong\u003e\u003cbr\u003eYou can connect up to eight modules on a single I2C bus by setting the hardware address pins.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eDoes it work with common microcontrollers?\u003c\/strong\u003e\u003cbr\u003eYes, it works with microcontrollers that support I2C communication.\u003c\/p\u003e","brand":"HG Market","offers":[{"title":"Default Title","offer_id":68903296434457,"sku":null,"price":21.68,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1028\/0232\/5785\/files\/s-l1600_b3dab566-e2c1-47bf-addc-9fced15451f4.jpg?v=1795780249","url":"https:\/\/hg-market.com\/products\/mcp23017-i2c-16-bit-i-o-expander-module-for-microcontrollers","provider":"HG Market","version":"1.0","type":"link"}