{"product_id":"io-expander","title":"IO Expander Breakout","description":"\u003cp\u003eAdd oodles of extra analog-friendly input and output pins to your Raspberry Pi (or Raspberry Pi Pico) project!\u003c\/p\u003e\n\u003cp\u003eThis breakout uses a clever Nuvoton MS51 microcontroller and some I2C magic to give you a whopping\u003cstrong\u003e 14 additional input\/output pins\u003c\/strong\u003e to connect things up to. Eight of the pins are hooked up to an \u003cstrong\u003eAnalog to Digital Converter\u003c\/strong\u003e so you can easily use old skool analog sensors with your Raspberry Pi, as well as passive components that use an analog signal (like light dependent resistors).  \u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eSix of the pins can be used as (up to 16-bit) \u003cstrong\u003ePWM outputs\u003c\/strong\u003e - great for controlling devices that require a simulated analog output, like servos or non-addressable LEDs.\u003c\/p\u003e\n\u003cp\u003eYou can attach it to your Pi's GPIO directly or via a breadboard with the included headers, but it's also compatible with our fancy solderless \u003ca href=\"\/en-eu\/products\/breakout-garden-hat-i2c-spi\" target=\"_blank\"\u003eBreakout Garden\u003c\/a\u003e, which makes it super easy to use several different breakouts at the same time. Why not couple it with one of of our \u003ca href=\"\/en-eu\/products\/1-12-oled-breakout?variant=29421050757203\" target=\"_blank\"\u003eteeny display breakouts\u003c\/a\u003e to show the results from all those lovely sensors?\u003c\/p\u003e\n\u003ch2\u003eWhat's new? ✨\u003c\/h2\u003e\n\u003cp\u003eBreakouts made after August 2023 have the long side of the pin headers pointing out of the back of the breakout instead of the front - this is so we can do one sided assembly, which makes our production team happy.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.nuvoton.com\/products\/microcontrollers\/8bit-8051-mcus\/industrial-8051-series\/ms51xb9ae\/?__locale=en\" target=\"_blank\"\u003eNuvoton MS51 microcontroller \u003c\/a\u003ewith inbuilt 12-bit ADC (\u003ca href=\"https:\/\/www.nuvoton.com\/export\/resource-files\/DS_MS51_16KBFlash_Series_EN_Rev1.01.pdf\" target=\"_blank\" data-mce-href=\"https:\/\/www.nuvoton.com\/export\/resource-files\/DS_MS51_16KBFlash_Series_EN_Rev1.01.pdf\"\u003edatasheet\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eI2C interface, with a default address of 0x18\u003c\/li\u003e\n\u003cli\u003eMax I2C speed 400kHz\u003c\/li\u003e\n\u003cli\u003e3.3V or 5V compatible\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection (input side only)\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003eRaspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9)\u003c\/li\u003e\n\u003cli\u003eCompatible with all models of Raspberry Pi (\u003ca href=\"https:\/\/github.com\/pimoroni\/ioe-python\" target=\"_blank\"\u003ePython library\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eCompatible with Raspberry Pi Pico (\u003ca href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\" target=\"_blank\" data-mce-href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\"\u003eC++\/MicroPython libraries\u003c\/a\u003e).\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.nuvoton.com\/export\/resource-files\/TRM_MS51_16KBFlash_Series_EN_Rev1.03.pdf\" target=\"_blank\"\u003eTechnical Reference Manual\u003c\/a\u003e\u003cbr\u003e\n\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/io_expander_schematic.pdf?v=1600934754\" title=\"IO Expander Breakout schematic\" target=\"_blank\"\u003eSchematic\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eKit includes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eIO Expander Breakout\u003c\/li\u003e\n\u003cli\u003e1x5 straight male header\u003c\/li\u003e\n\u003cli\u003e1x5 right angle female header\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWe've designed this breakout board so that you can solder on the piece of right angle female header and pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 7, 9).\u003c\/p\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eWe've put together a \u003ca href=\"https:\/\/github.com\/pimoroni\/ioe-python\" target=\"_blank\"\u003ePython library\u003c\/a\u003e to use with your IO Expander, together with some handy \u003ca href=\"https:\/\/github.com\/pimoroni\/ioe-python\/tree\/master\/examples\" target=\"_blank\"\u003eexamples\u003c\/a\u003e that show you how to interact with different kinds of devices.\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eYou can also use this breakout with Raspberry Pi Pico and other RP2040 boards, using \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\/\" target=\"_blank\"\u003eC++ or Pirate brand MicroPython\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eAdditionally, there's an \u003ca href=\"https:\/\/github.com\/ZodiusInfuser\/IOExpander_Library\" target=\"_blank\"\u003eArduino port of our library\u003c\/a\u003e - thanks \u003ca href=\"https:\/\/twitter.com\/ZodiusInfuser\/status\/1295814275752173569\" target=\"_blank\"\u003eChris\u003c\/a\u003e!\u003c\/p\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe default I2C address is 0x18, but it's possible to change this in software if you'd like to use multiple IO Expanders, or avoid conflicts with other I2C devices.  The new address will be saved in flash memory, so will persist if unpowered.\u003c\/li\u003e\n\u003cli\u003eThis board uses a Nuvoton MCU with our custom firmware but if you're brave and hackerly, you can substitute your own firmware to change the way this board works and have a super cheap and capable microcontroller (though this is not for the faint of heart!)\u003c\/li\u003e\n\u003cli\u003eDimensions: 26x24.5x12mm (LxWxH)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":32005993136211,"sku":"PIM517","price":7.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/IoExpander_1of1.jpg?v=1595604677","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/io-expander","provider":"Pimoroni Ltd","version":"1.0","type":"link"}