NEW PRODUCT – Adafruit GPIO Expander Bonnet – 16 Additional I/O over I2C

4132 iso demo 02 ORIG 2019 03

NEW PRODUCT – Adafruit GPIO Expander Bonnet – 16 Additional I/O over I2C


The 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 even more 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!

4132

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.

When 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.

4132 kit 02 ORIG 2019 03

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.

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 GPIO.

Comes as an assembled and tested Bonnet with slim 2×20 header connector on the bottom. We provide 2 sets of 16-pin IDC sockets, you can solder these in or leave them off for a slim setup. Follow 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.

4132 quarter ORIG 2019 03

In stock and shipping now!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.