MIDI hack

Synergy/MTS Forum

Help Support Synergy/MTS Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
What a great DIY project. Awesome stuff. Thanks so much for sharing this and documenting it so well.
 
few years ago I made a DIY midi pedal to do this.. very simple, 2 button. Arduino is really overkill for a midi pedal. plenty of 2$ IC that can do that...
 
I used this one:

http://www.picaxe.com/Hardware/Starter-Packs/PICAXE-08-Starter-Pack/

but if you are handy, this is the actualy IC:

http://www.picaxe.com/Hardware/PICAXE-Chips/PICAXE-08M2-microcontroller/


IIRC it only took 8 lines of code... litterally 8 lines!
 
For Housing I used a metal stompbox housing. It only has two buttons, channel down and channel up. That's all.

If ur interested, I can send you a picture via email.

grtz,
Thijs
 
Nice work. I was in the same situation, I bought a used RM100 no foot switch.
I was actually planning to do the same thing as I have several arduinos laying around, I lucked out and found a new in box rf3 footswitch for $50 on ebay.




ramalhais said:
So i bought a used RM100 and it came without a footswitch.

I wanted to try a low cost solution and i hacked this for arduino:
https://github.com/ramalhais/code/tree/master/arduino/sketchbook/midifoot

Hope this helps someone.
 
tschrama said:
few years ago I made a DIY midi pedal to do this.. very simple, 2 button. Arduino is really overkill for a midi pedal. plenty of 2$ IC that can do that...

You're right it's overkill.
Anyway it costs 2.5EUR, it's easy to program, easy to upload with a USB cable, easy to update and you can extend with LCD display, etc.
I also had several laying around and ready to use ;)
 
tschrama said:
I used this one:

http://www.picaxe.com/Hardware/Starter-Packs/PICAXE-08-Starter-Pack/

but if you are handy, this is the actualy IC:

http://www.picaxe.com/Hardware/PICAXE-Chips/PICAXE-08M2-microcontroller/


IIRC it only took 8 lines of code... litterally 8 lines!

Can you share that code? You got me intrigued.
 
VitaminG said:
nice. What are you housing it in? Are you adding a 3rd switch for the RM100?

No housing yet, but my plan is to use 2 normal guitar footswitches with 2 switches each and connect them to the arduino with stereo female jacks.
So it would be like a converter from footswitches to MIDI.

I'm going to try to fit it inside this box of cigarillos:
d479aa896d.jpg
 
tschrama said:
For Housing I used a metal stompbox housing. It only has two buttons, channel down and channel up. That's all.

If ur interested, I can send you a picture via email.

grtz,
Thijs

Can you post it here? That would be great! Thanks!
 
CrazyNutz said:
Nice work. I was in the same situation, I bought a used RM100 no foot switch.
I was actually planning to do the same thing as I have several arduinos laying around, I lucked out and found a new in box rf3 footswitch for $50 on ebay.

Lucky guy! This needs some polishing but thanks!
I saw one for 50EUR on ebay and let it fly away :(
Anyway this is also fun.
 
`The Midi Pedal
`PICAXE 08M2

#no_data

init:
setfreq M16 `set internal 16MHZ speed

symbol serial_out = c.0
symbol serial_in = pinc.1
symbol led = c.2
symbol button1 = pinc.3
symbol button2 = pinc.4

symbol midch = b11
symbol button_on = b12
symbol pc_statusbyte = b13
symbol program = b14

program = 1
midch = 0
pc_statusbyte = 144 + midch

hsersetup b31250_16,%00010000

main:

if button1 = 1 then
if button_on = 0 then
high led
program = program + 1
hserout 0,(pc_statusbyte,program)
end if
end if

if button2 = 1 then
if button_on = 0 then
low led
program = program - 1
hserout 0,(pc_statusbyte,program)
end if
end if

goto main
 
' The Midi Pedal
' PICAXE 08M2
' buttun1 = Program Change to next program, button2 = PC to previous program
' met fast forward functie if button id pressed lomger than 1000ms

symbol program = b13
program = 0
hsersetup b31250_4,%00010000

'BUTTON pin,downstate,delay,rate,bytevariable,targetstate,address
myloop: button c.3,1,100,10,b1,1,pushed1
button c.4,1,100,10,b2,1,pushed2
pause 10
goto myloop

pushed1: program = program - 1
if program > 99 then
program = 99
endif
hserout 0,(192,program)
goto myloop

pushed2: program = program + 1
if program > 99 then
program = 0
endif
hserout 0,(192,program)
goto myloop
 
Top