Our webstore uses cookies to offer a better user experience and we recommend you to accept their use to fully enjoy your navigation.
P4886
New product
Expand 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.
See description for more details about the product.
Add to cart now!
1 Item Items
Warning: Last items in stock!
Availability date:
Expand 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.
GPIO 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. You could upgrade to a board with massive number of GPIO like the Grand Central, 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!
The AW9523 is a twist on the common I2C expander:
The 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.
Of 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.
One oddity about this chip is the default I2C address determines the initial boot-state of the pins. Our 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.
We've written both Arduino, and CircuitPython/Python libraries for the AW9523, so you can get started whether you have an Arduino-compatible UNO or a Raspberry Pi 4 - or anything in between.
To get you going fast, we spun up a custom made PCB in the STEMMA QT form factor, making it easy to interface with. The STEMMA QT connectors on either side are compatible with the SparkFun Qwiic 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. QT Cable is not included, but we have a variety in the shop.
AW9523 Features:
Product Dimensions: 38.0mm x 17.8mm x 4.5mm / 1.5" x 0.7" x 0.2"
Product Weight: 2.5g / 0.1oz
The PyPortal Pynt is the little sister to our...
$54.96
Raspberry Pi Zero 2 W LIMITED TO ONE PER...
$20.95
ESP32 Development Board with WiFi and Bluetooth...
$8.40
Female Pin Header 2.54 mm for Raspberry Pi Zero...
$0.46
This mini momentary tactile switch can be used...
$0.09
This 2-channel bidirectional level translator...
$0.48
Add lots of touch sensors to your next...
$14.40
Electrolytic Capacitor 10 uF, 160 V 105o...
$0.12
$0.09
Raspberry Pi Camera Cable - 50 cm See...
$3.60