{"product_id":"4132-adafruit-gpio-expander-bonnet-16-additional-i-o-over-i2c","title":"Adafruit GPIO Expander Bonnet - 16 Additional I\/O over I2C STEMMA QT \/ Qwiic","description":"\u003cp\u003eThe Raspberry Pi is an amazing single board computer - and one of the best parts is that GPIO connector! 40 pins of digital goodness you can twiddle to control LEDs, sensors, buttons, radios, displays - just about any device you can imagine. This Adafruit GPIO Expander Bonnet will give you \u003cem\u003eeven more\u003c\/em\u003e digital deliciousness - 16 more digital input\/output pins are yours for any desire you have. The outputs are grouped into two 16-pin connectors that have a matching ground pin. You can set each pin to be a digital output (high or low) or as an input, with an internal pull-up if you like!\u003c\/p\u003e\n\u003cp\u003e Simply pop the Bonnet on top of your Pi, the circuitry connects to the SDA\/SCL I2C pins for control. The MCP23017 chip converts our Python commands to pin instructions.\u003c\/p\u003e \u003cp\u003eWhen used as an output, each pin can supply up to 20mA (current clamped) - so you can drive LEDs directly. The datasheet recommends you keep the total current draw to under 125mA for the whole chip. We set up the expander chip for 5V logic by default (the I2C is level shifted so that's 3V logic). We did that so you can drive white, blue or green LEDs that sometimes aren't too happy with 3.3V logic. Or, you can cut\/solder a jumper to change it to 3.3V logic.\u003c\/p\u003e\n\u003cp\u003e When used as an input, you can set up a pull-up resistor so buttons and switches don't need extra resistors - just wire the pin to one side and ground to the other! There's interrupt capabilities on the chip, and two IRQ pins (INTA and INTB) you can solder a wire to, if you want to have a quick way of telling if any of the GPIO's changed.\u003c\/p\u003e\n\u003cp\u003e By soldering close the address select jumpers, you can change the address from 0x20 up to 0x27. So, if you wanted to, you could have up to 8 bonnets for 128 total GPIOs.\u003c\/p\u003e \u003cp\u003eComes as an assembled and tested Bonnet with two pre-soldered 16-pin IDC socket headers and a slim 2x20 header connector on the bottom. \u003ca href=\"https:\/\/learn.adafruit.com\/gpio-expander-bonnet\/overview\"\u003eFollow our guide to use our CircuitPython library with Python 3 for fast and easy setup and configuration, you'll be running in under 5 minutes.\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003cstrong\u003eWorks with\u003c\/strong\u003e any Raspberry Pi computer, including the original Pi 1, B+, Pi 2, Pi 3, Pi 4, Pi 5, and Pi Zero. \u003c\/p\u003e\n\u003cp\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/qGOCBhsXWxk?start=386\" contenteditable=\"false\" allowfullscreen=\"true\" frameborder=\"0\" src=\"https:\/\/img.youtube.com\/vi\/qGOCBhsXWxk\/hqdefault.jpg\"\u003e\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"4-6 Days","offer_id":47700299514201,"sku":"ADA-4132\/B","price":14.57,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886491943257,"sku":"ADA-4132\/A","price":14.57,"currency_code":"EUR","in_stock":false},{"title":"2-4 Weeks","offer_id":47886651916633,"sku":"ADA-4132","price":14.57,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/4132-05.jpg?v=1705517232","url":"https:\/\/xernuqvalzi.pro\/en\/products\/4132-adafruit-gpio-expander-bonnet-16-additional-i-o-over-i2c","provider":"Robot Italy","version":"1.0","type":"link"}