Home

Awesome

MacroPadSynthPlug!

Turn MacroPad RP2040's StemmaQT port into Audio Out + MIDI In

<a href="https://www.tindie.com/products/todbot/macropadsynthplug-turn-rp2040-into-a-synth/"><img src="https://d2ss6ovg47m0r5.cloudfront.net/badges/tindie-smalls.png" alt="PicoTouch on Tindie" width="200" height="55"></a>

Demo video on Youtube: CircuitPython drum machine demo

What is this?

The Adafruit MacroPad RP2040 is really fun and could be a great musical instrument, with its 12 keys, rotary encoder, OLED display, RP2040 chip, and 8MB of flash storage.

If it only had a way to get MIDI into it and Audio out of it! Well now you can, with MacroPadSynthPlug!

MacroPadSynthPlug is a small board that plugs into the StemmaQT port (but is not I2C!) and gives you TRS-A MIDI In and Audio line out.

The MacroPad RP2040 can now be a stand-alone MIDI synth!

Examples provided for both CircuitPython and Arduino:

How?

The Raspberry Pi RP2040 chip on the MacroPad RP2040 is amazingly configurable.

Normally a port like the StemmaQT I2C port would only be usable as an I2C bus, or maybe as GPIO pins.

But with the MacroPad RP2040, the two StemmaQT pins are:

This means we could use the StemmaQT port for all sorts of musical things, like:

To get audio out, all we need is a small PWM filtering circuit. To get MIDI in, a small optoisolator circuit is needed.

MacroPadSynthPlug is just this. It is wired like so:

This is sort of an "abuse" of the StemmaQT port, as it's meant only for I2C devices. But it's safe, will not damage other StemmaQT devices, but it does mean you "lose" the StemmaQT port for it's normal use.

Why?

Seems like fun? I have built many RP2040-based little hardware synths, like:

and wanted the MacroPad RP2040 to join in the fun.

Does this work for other boards with StemmaQT?

Short answer: not really

For any non-RP2040-based board, this almost definitely will not work.

And while the RP2040 is a very configuraable, not all functions are availbe on all pins. So it probably won't work on other RP2040-based boards too. For instance:

Are these for sale?

Yes! Get one now at Tindie!

Action shots

<img width=700 src="./docs/img_production1.jpg"> <img width=700 src="./docs/img1.jpg"> <img width=700 src="./docs/img2.jpg">