# NeoPixel with IO Expander

**URL:** <https://forums.pimoroni.com/t/neopixel-with-io-expander/28667>\
**Category:** Support\
**Created:** [February 4, 2026, 4:01pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667 "2026-02-04T16:01:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![roaldarbol](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roaldarbol/32/7766_2.png) [@roaldarbol](https://forums.pimoroni.com/u/roaldarbol)\
**Post date:** [February 4, 2026, 4:01pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/1 "2026-02-04T16:01:45Z")

</div>

I’m wiring up a NeoPixel RGB ring with 16 Pixels to an IO Expander on a Breakout Garden, and I’m a bit unsure about how to code it up. Is it even possible?

I have the signal connected to Pin 1 on the IO Expander (and obviously power and ground also on the corresponding pins).

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 4, 2026, 4:09pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/2 "2026-02-04T16:09:06Z")

</div>

Pi \> Python  
or  
Pico \> Micro python?

---

<div class="post-metadata">

**Author:** ![roaldarbol](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roaldarbol/32/7766_2.png) [@roaldarbol](https://forums.pimoroni.com/u/roaldarbol)\
**Post date:** [February 4, 2026, 4:14pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/3 "2026-02-04T16:14:02Z")

</div>

Sorry, on a Pico 2. I am indeed using Micropython. My question - more precisely now - is about whether I can use the `neopixel` library in conjunction with the `breakout_ioexpander` library ad if so, how.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 4, 2026, 6:48pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/4 "2026-02-04T18:48:52Z")

</div>

I don’t have an answer for that. I did some poking around but didn’t find anything relevant. I have some LED strips here but use the Plasma Stick to drive them. I also have an IO Expander but haven’t tried anything like you want to do. Just curios as to why your using the IO Expander to drive the LED’s?

---

<div class="post-metadata">

**Author:** ![roaldarbol](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roaldarbol/32/7766_2.png) [@roaldarbol](https://forums.pimoroni.com/u/roaldarbol)\
**Post date:** [February 5, 2026, 6:14pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/5 "2026-02-05T18:14:58Z")

</div>

Was just trying to get around having to solder extra headers onto the Breakout Garden and had the IO Expander laying around. But in the end I did solder headers on it, which solves the problem. And in the process I realised I probably wanted/needed a shield with screwgate terminals instead for this project. Thanks for looking into it!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 5, 2026, 7:01pm UTC](https://forums.pimoroni.com/t/neopixel-with-io-expander/28667/6 "2026-02-05T19:01:36Z")

</div>

Ah, OK, that answers that. I do a lot of mockups and testing with Breakout Garden hats etc. Finished build is almost always a soldered in place setup.
