Expression pedal with Arduino

Trying the SWAM sounds of beautiful horns with a friend… I thought of a volume pedal that had been sitting in its box for years… never used…
I opened it, put an Arduino Due inside, loaded a sketch… and here’s a pedal to control the Expression…
I would have preferred to insert an Arduino Micro, but I only had a Due available… a bit wasted… but for testing it’s fine.

Pedale_Expression.ino (3.3 KB)


Expression pedal test

Remember to change the firmware to the right CC number.
There are many projects to have the MIDI pedal using Arduino UNO, but I preferred to use an Arduino Micro (Arduino DUE for now) and use it USB.

1 Like

@Lanfranco, I don’t know how much into DIY and tinkering you are, but do you know this guy (and his youtube channel) who makes DIY breath controllers out of cardboard, balloons and distance sensors. His main interest seems to be in teaching children how to make their own instruments with low technical effort, but I found his experiments with custom made velocity sensing touchpads and breath controllers quite inspiring. Don’t know if this homemade stuff holds against the expectations of a professional musician but I am sure there is a lot of fun in it!


Thank you @mbvs for pointing it out to me… I was thinking about an interface that goes with the breath… I had an EWI, but I sold it because I don’t want to get distracted by the black and white keys (I first studied trumpet and then sax for 8 years), but a breath control connected to a keyboard… mmmmmmh, it inspires me…

1 Like

I dis that using OpenDeck :


Link please @Wapata!

… you had already put the link … I apologize

I was happy how “alive” the project is :

And how cool it is to just test thing :


Damn… it works VS… I had started studying it but then I forgot everything… I have to recover

I’m ancient… I stayed at the IDE…

I built a small interface to control other parameters of the SWAM soprano sax. Same principle as my controller for MiniMoog. It will mount an Arduino Micro Pro.


I apologize… I logged in with the old nickname of which I had lost the password… This is the right one…
If the admins want to delete it they are free to do so. Thank you

1 Like

1 Like



1 Arduino Pro Micro
6 (or more) potentiometers 10KOhm
1 Micro usb cable

Pedale_Expression.ino (3.3 KB)
The CC must be set on the sketch according to use

Front.gcode (1000.1 KB)
Middle.gcode (4.2 MB)
Base.gcode (4.8 MB)
All printed in PLA (I printed the front in ABS but it is not necessary.)

1 Like

16 controller


This one look cool too !
Some space is missing to write down what knob change what cc :wink:

Thank you.
For the writing I will use a Dymo plate as in the previous model. I put the largest knob on purpose to distinguish it immediately… it’s the Volume knob.

1 Like

So, what CC do you use ? Generic-non-uses ones or classics PAN / Expression/ Volume ?

default undefined MIDI CCs:

CC 3
CC 9
CC 14-15
CC 20-31
CC 85-87
CC 89-90
CC 102-119

Personally I go with 102 and upwards.

What would be nice is a prescribed way of configuring these devices for Midi channel, functions and context, presumably over the same Midi connection so we could use one set up tool rather than having to hand code or construct a new GUI front end each time.

In the Arduino sketch everything is selectable…

The portamento which in the image is CC7 has actually been replaced…

For that, I propose this one, midi-editable on the fly (no midi code or worst…sysex)