{"product_id":"adafruit-aw9523-gpio-expander-and-led-driver-breakout-stemma-qt-qwiic","title":"Adafruit AW9523 GPIO Expander and LED Driver Breakout","description":"\u003cp\u003eExpand your project possibilities, with the Adafruit AW9523 GPIO Expander and LED Driver Breakout - a cute and powerful I2C expander with a lot of tricks up its sleeve.\u003c\/p\u003e\n\u003cp\u003eGPIO expanders work like this: you have a board with some number of GPIO but not enough for your project - maybe you need more buttons or LEDs.\u003ca href=\"\/en-eu\/products\/adafruit-grand-central-m4-express-featuring-samd51-without-headers\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e You could upgrade to a board with massive number of GPIO like the Grand Central\u003c\/a\u003e, or you could pop on one of these boards. Connect it over I2C and then you can send\/receive I2C commands to control the GPIO pins to write and read them. It's going to be slower than direct GPIO access, but maybe that doesn't matter if it takes a millisecond instead of a microsecond. You only need the two I2C pins, and you can even share the I2C port with other sensors and devices. Heck, you can even add more expanders for massive I\/O control!\u003c\/p\u003e\n\u003cp\u003eThe AW9523 is a twist on the common I2C expander:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eFirst up, its very affordable - who doesn't love that?\u003c\/li\u003e\n\u003cli\u003eIt has 16 I\/O pins, that'll double most boards' pin count\u003c\/li\u003e\n\u003cli\u003eFour I2C address options, so you can connect 4 expanders to one bus\u003c\/li\u003e\n\u003cli\u003eEach pin can be an input or an output\u003c\/li\u003e\n\u003cli\u003eIRQ output can alert you when input pins change value\u003c\/li\u003e\n\u003cli\u003eThis chip does not support internal pull-ups or pull-downs, you will need to add an external resistor if you need one\u003c\/li\u003e\n\u003cli\u003eHowever, it does have 8-bit linear constant-current LED dimming support so you can connect LEDs without resistors and have great looking dimming without PWM\u003c\/li\u003e\n\u003cli\u003eThe first 8 pins can be configured as open drain (as a group)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe lack of internally-configurable pull's is a bit of a bummer, but we think the expander more than makes up for it with the constant-current LED drive. If you're using an expander to add lots of controllable LEDs, this board will make it very easy. Since its constant-current, you don't need resistors in line with each LED (although it won't hurt if you do): simply connect the LED anode to one of the many VIN pads, then connect the cathode to the GPIO pin.\u003c\/p\u003e\n\u003cp\u003eOf course, you can control any buttons or other I\/O with the pins - we just think this board is particularly suited to LED driving. There's also an interrupt output, you can enable the pin-change IRQ for any pins so you can be notified when its time to read the I\/O states.\u003c\/p\u003e\n\u003cp\u003eOne oddity about this chip is the default I2C address determines the initial boot-state of the pins. The libraries immediately soft-reset and configure all the pins to inputs and push-pull so you can expect the same behavior no matter what the I2C address is. However, we recommend you check the datasheet Table 1 to make sure this doesn't affect your hardware.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_AW9523\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eAdafruit have written both Arduino\u003c\/a\u003e and \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_AW9523\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eCircuitPython\/Python libraries\u003c\/a\u003e for the AW9523, so you can get started whether you have an Arduino-compatible UNO or a Raspberry Pi 4 - or anything in between.\u003c\/p\u003e\n\u003cp\u003eTo get you going fast, Adafruit spun up a custom made PCB in the \u003ca href=\"\/en-eu\/collections\/stemma-qt\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eSTEMMA QT\u003c\/a\u003e form factor, making it easy to interface with. The \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\/what-is-stemma-qt\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eSTEMMA QT connectors\u003c\/a\u003e on either side are compatible with the \u003ca href=\"\/en-eu\/collections\/qwiic\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eSparkFun Qwiic\u003c\/a\u003e I2C connectors. This allows you to make solderless connections between your development board and the AW9523 or to chain it with a wide range of other sensors and accessories using a compatible cable. \u003ca href=\"\/en-eu\/products\/jst-sh-cable-qwiic-stemma-qt-compatible\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eQT Cable is not included, but we have a variety in the shop. \u003c\/a\u003e\u003c\/p\u003e\n\u003ch2\u003eTECHNICAL DETAILS\u003c\/h2\u003e\n\u003cp\u003eAW9523 Features:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e16 multi-function I\/O, each for LED drive (current-source dimming) or GPIO mode\u003c\/li\u003e\n\u003cli\u003e256 steps linear dimming in LED drive mode\u003c\/li\u003e\n\u003cli\u003eAny GPIO can be configured as an input or an output independently\u003c\/li\u003e\n\u003cli\u003eSupport interrupt, 8us deglitch, low-level active\u003c\/li\u003e\n\u003cli\u003eStandard I2C interface, AD1\/AD0 select I2C device address\u003c\/li\u003e\n\u003cli\u003eSDA, SCL, SHDN, and all GPIO can accept in 1.8V logic input\u003c\/li\u003e\n\u003cli\u003eESD protection: ±4000V HBM (MIL-STD-883H Method 3015.8 standard）\u003c\/li\u003e\n\u003cli\u003eLatch-up ：±450mA（ JEDEC STANDARD NO.78C SEPTEMBER 2010 standard）\u003c\/li\u003e\n\u003cli\u003eSupply shutdown function, low-level active\u003c\/li\u003e\n\u003cli\u003e2.5V~5.5V power supply\u003c\/li\u003e\n\u003cli\u003eI2C address default 0x58 (can be 0x59, 0x5A or 0x5B)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eProduct Dimensions: 38.0mm x 17.8mm x 4.5mm \/ 1.5\" x 0.7\" x 0.2\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 2.5g \/ 0.1oz\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/cdn-shop.adafruit.com\/product-files\/4886\/AW9523%20English%20Datasheet.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eAW9523 English Datasheet\u003c\/a\u003e\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":39287598022739,"sku":"ADA4886","price":4.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/4886-00.jpg?v=1616427707","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-aw9523-gpio-expander-and-led-driver-breakout-stemma-qt-qwiic","provider":"Pimoroni Ltd","version":"1.0","type":"link"}