mattzzw / midi_muppet_hx_2btn

Arduino based 2 button MIDI controller for the Helix HX Stomp
BSD 3-Clause "New" or "Revised" License
24 stars 7 forks source link
arduino controller guitar midi stompbox

MIDI Muppet HX

This is a small Arduino based two button MIDI foot switch for the Helix HX Stomp. It is more flexible and more powerful than the "normal" foot switches connected via TRS cable and as a bonus you can still use an expression pedal hooked up to your HX Stomp.

MIDI Muppet HX

The MIDI Muppet HX can

MIDI Muppet Main Modes

The unit supports three basic modes of operation. The LED will indicate the current mode:

Mode LED on boot LED in operation
Scroll preset flash red scroll preset: red, snapshot: green, tuner: flash green
Footswitch FS4/FS5 flash green green, tuner: flash green
Looper flash red/green play: green, record: red, overdub: yellow

To select a mode, press and hold both buttons until one of the above LED patterns shows up and the mode is selected.

Next time the unit is powered on the unit will automatically switch to the mode used last.

Overview

Using the Modes:

SCROLL Mode:    up/dn switches program patches
                long press dn: toggle TUNER
                long press up: toggle SNAPSHOT mode

Footswitch Mode: up/dn emulate footswitch FS4/FS5
                 long press dn: toggle TUNER
                 long press up: toggle SNAPSHOT mode

SNAPSHOT Mode:  up/dn switches snapshot
                long press dn: toggle TUNER
                long press up: back to last mode (FS or SCROLL)
TUNER Mode:     up or dn back to prev Mode

LOOPER Mode (if enabled):

LOOPER Mode:    dn toggles record/overdub
                up toggles play/stop
                long press up toggles undo/redo

Disabling LOOPER Control

The LOOPER mode can be disabled. This can be handy if you want to cycle between SCROLL and FS modes more quickly or you simply don't need the LOOPER mode:

LOOPER control configuration will be stored in EEPROM and will be loaded on restart.

Setting the MIDI Channel

MIDI channel can be set to any value between 1 and 16. HX Stomp listens on channel 1 per default.

To change the MIDI Channel:

MIDI Channel configuration will be stored in EEPROM and will be loaded on restart.

Building MIDI Muppet HX

Parts are around 20€:

Make sure you know whether you have the 3.3V or the 5V version of the Arduino Pro Mini. How to find out? Apply 9V to the RAW pin and measure the VCC pin.

Luckily MIDI works with 3.3V, so if you are using the 3.3V version you have to change the resistors for the MIDI TX line (pin 5 of MIDI plug) to 10 ohms and for the MIDI voltage reference line (pin 4 of MIDI plug) to 33 ohms.

A little bit of drilling, soldering and hot snot will be required.

building MIDI Muppet

drilled

Wiring

schematic

Wiring

I put a little bit of capton tape on backside of a foot switch and on the the inside of the case for isolation and fixated the Arduino PCB with a little bit of hot snot.

Hot Snot

The Code

The code requires the OneButton and the JC_Button library to be installed. The Arduino library manager will be your friend.

Programming

Disconnect external power supply first! The FTDI adaptor will provide power.

Hook up the FTDI adaptor to the Arduino board, select "Arduino Pro or Pro Mini" in your Arduino IDE, load the code, compile and upload.

The LED will flash rapidly on boot. Congratulations, you have just created a powerful controller for your HX Stomp. Have fun.