How to Make an Arduino MIDI Footswitch

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • I've been playing a lot more music during my time stuck at home due to the COVID outbreak. I realized that I can create loops to enable myself to play songs solo since I can't meet up to play with friends. However, I found it difficult to trigger loops when my hands were occupied playing instruments.
    I decided to create this MIDI footswitch which connects to the audio software I use for live looping. It lets me trigger tracks and phases in the loop without having to touch the keyboard. It also only costs ~$50 (which is much less than other devices cost online)!
    Here's a link to my other channel where I post music-related stuff: / @kookaburramusic235
    See a full project writeup on Hackster.io: www.hackster.io/hackershack/m...
    Get the 3D printable part files for this project on our Patreon: / midi-footswitch-37874056
    See the code on Github: github.com/HackerShackOfficia...
    MATERIALS:
    USB Printer Cable × 1 amzn.to/2BwhOzj
    USB Panel Mount Connect × 1 amzn.to/2Azy6H6
    Teensy 4.0 × 1 amzn.to/2Ua3Byn
    Momentary Buttons × 14 amzn.to/2UaC8Nb
    Male to Female Jumper Wires × 1 amzn.to/370yn1K
    Project Housing × 1 tinyurl.com/yaj9opqf
    PCB Project Board (5x7cm) × 1 tinyurl.com/y7ocplcr
    PCB Headers × 3 tinyurl.com/y9o8ehpv
    Disclaimer
    The methods shown in this video should be used
    as a guide only.
    HACKER SHACK ACCEPTS NO RESPONSIBILITY FOR
    ACCIDENTS OR INCIDENTS ARISING FROM INDIVIDUALS
    UNDERTAKING ANY OF THE TASKS DESCRIBED. IN
    PARTICULAR, IF UNSURE YOU SHOULD ALWAYS CONTACT
    A QUALIFIED TRADESMAN BEFORE PROCEEDING.
  • Věda a technologie

Komentáře • 94

  • @jagtone
    @jagtone Před rokem +10

    Nice project. You don't need separate ground leads for every footswitch, just wire them all together with a single ground lead to the board. Significantly reduces the spaghetti.

  • @malzbiervonaldi
    @malzbiervonaldi Před 4 lety +3

    YES finally!!!! I was trying to build something like this and couldn’t find that much information. THANK YOU!

    • @hackershack
      @hackershack  Před 4 lety +1

      That’s awesome. Glad I can help :)

  • @Dan_f9
    @Dan_f9 Před 4 lety

    love your projects, really wish i had the creativity you do :D
    really good inspiration

  • @lacrapcutata
    @lacrapcutata Před 3 lety

    Damn, love your project, thank you for this amazing lesson :D

  • @jasonbrooks62
    @jasonbrooks62 Před rokem +1

    This project is something I was looking to do for myself because I'm cheap, but when you started channeling Pink Floyd in your demo, I was hooked.

  • @louizou12
    @louizou12 Před 3 lety

    Nice project !!
    Teensy boards are fantastic for Audio and Midi

  • @ocow5735
    @ocow5735 Před 4 lety

    Love your channel and projects; I made the drink cooler myself!

  • @whoopsie-vf8ib
    @whoopsie-vf8ib Před 4 lety

    Nice :D
    You really good playing it 👍

  • @KanePat
    @KanePat Před 2 lety +1

    Nice Pink Floyd/David Gilmour inspired playing at the end of your video. Nice job !

  • @ricardobarreira5665
    @ricardobarreira5665 Před 4 lety

    Pretty cool man!

  • @wesley00s
    @wesley00s Před 3 lety

    Man, thank you so much ! really helped me

  • @Seansquatch7
    @Seansquatch7 Před rokem

    So i found your channel because i started studying how to do this on my own. And of course there is a nerd world for this!! I think i found the area of expertise i wanna level up in. I’d love to make something just like your board. My controller is simple, I’m sure you’ve heard of the Melo Audio MIDI Commander by now, well, that thing has pcb switches.. but they’re the plastic flat button, and they’re pressed by the spring switch that looks more like the switches you have there, but it was quite deceiving.. anyway, i might just gut that thing and use the box.. but then again, I’d like a project box like yours.. man this is amazing.. I’m gonna use your video for reference 🎉🎉🎉🎉🎉🎃

  • @steveforwarduk
    @steveforwarduk Před 3 lety

    about to tackle this. I need to make 10 but have 4 on top and bottom with the end two acting as different things, bank up/down. How would I add in LED's so I can have red LEDs and then say Green LEDs for the end two?

  • @TehSyneS
    @TehSyneS Před 11 měsíci

    thanks for this!!

  • @commentingpausedtoprotectus

    Many thanks, very helpful video!
    This works great for me with Live 10 but I cannot for the life of me get it to work with Reaper, or Bias FX 2 standalone.. nothing at all to do with the code or anything, I think it's the DAW and the VST being a funny buggar !

  • @davidbollman5760
    @davidbollman5760 Před 2 lety

    love this, will be using this to convert a 2 octave organ pedal board to midi; it may make a better foot controller 4 u 2 :D

  • @daneguitarist1
    @daneguitarist1 Před 2 lety

    you seem like a really caring dude :) thanks for that
    hopefully i can get this midi controller going since.... its a year later and we are in wave 2... unfortunately

  • @johnmalcolm9980
    @johnmalcolm9980 Před 3 lety

    Good man

  • @AGVersace100
    @AGVersace100 Před 4 lety +4

    That's very nice!!!
    Is it possible to substitute the buttons with female jacks so that I can insert my favourite sustain pedal?
    What would be the process of inserting an expression pedal input?

  • @kaiwheeler64
    @kaiwheeler64 Před 3 lety +1

    Thanks for that, mine is working fine. Now I need to figure out how to plug in an analogue expression pedal.

    • @ZackC
      @ZackC Před 3 lety +1

      You can read it as if it’s a potentiometer (since it is) - just wire the Arduino to a 1/4” jack where you’d otherwise connect to the pot. Expression pedals can use 1/4 cables in different ways, though, so worth testing to make sure you’re getting the expected readings.

  • @massanig2292
    @massanig2292 Před 3 lety

    VERY COOL... This is going to help me make a midi controller for my Avid Eleven Rack effects processor so i can use it live in a compact design instead of the large bulky ones you can buy for big money. I would like to add an lcd to mirror what is on the Eleven racks display. How much more difficult would that be to do? What other parts would i need? Does the midi send the display info i could get an encoder to connect to a lcd? i have more to learn about the interface part but familiar with soldering and fabricating. Great video. Please keep them coming !!!!!!!!!!!!

  • @8stringwrshpleader
    @8stringwrshpleader Před 3 lety +3

    This is exactly what I've been looking for!!! Do you think there would be a good way to integrate an expression pedal into the build? I've been wanting to buy a midi controller to use Ableton VSTs as a live guitar rig for practicing and use at church. I was also thinking about adding LEDs or maybe even small backlit LCDs to indicate what position the switches are and even what effect they're tied to. It would probably take some coding but it would be an awesome project. Your build is giving me a ton of ideas!!!

    • @thewalrusdragon9579
      @thewalrusdragon9579 Před 4 měsíci +1

      Yes. It’s definitely possible. I’m learning that exact thing myself right now. This video inspired me to learn to build these. I’ll try to remember if I ever get it figured out to come back and let you know…

  • @TheAwesomeGuy101
    @TheAwesomeGuy101 Před 2 lety

    Hello, what do you mean by header pins exactly? doing this project now and I'm confuse, you said to solder to each adjacent pins except what? or all? Apologies not much familiar with electronics, just a hobby, so what pins do I not need to solder adjacently? the Ground pins and 5V??

  • @roiyosipovich7807
    @roiyosipovich7807 Před 3 lety

    AWESOME!
    Can this be used to send MIDI via a MIDI connector to a guitar effecrs pedal? (In my case: Boss gt1000 core)
    I can manage whatever HW modifications, but I don't know what interface is required..
    Thanks!!

  • @yourcurtainsareugly
    @yourcurtainsareugly Před 4 lety

    I wonder what the PCB board looks like that I use to enter my PIN number into the ATM machine. Maybe I can find a PDF format diagram to look at on my LCD display.

  • @zapz2101
    @zapz2101 Před 4 lety +5

    hello sr, nice biuld, one question, did you ever try to control vst pluggings,like guitar rig, bias fx etc? im wondering if building something like your midi pedal will work for controlling my ipads apps likebias fx, dreamfoot, ableton live on my computer as well as sunday guitar on mainstage.

  • @cgonzt5636
    @cgonzt5636 Před rokem

    Wow you’re soldering skill, so clean. What’s the wattage of your soldering iron? I have 60w melts my wires 😆

  • @adinwalls
    @adinwalls Před 2 lety

    Hey there have you figured out how to add banks to this?

  • @mykeadelic
    @mykeadelic Před 3 lety +1

    This is rad but I'm pricing it out and it's way more than $50 bucks! More like 150 from the links off the hackster post.

  • @andolivo
    @andolivo Před 3 lety +3

    Can you add an expression pedal to the programing tutorial, plz?

  • @tritonpro7240
    @tritonpro7240 Před 3 lety

    Can i control in realtime a korg keyboard (expression , pitchbend etc.) by midi control change message with arduino midi footswitch and potentiometers? for example...i have a korg arranger keyboard and i want to use interface by midi CC# (control change message) to control some parameters oscilators in realtime.

  • @LuizFelipe-wu4es
    @LuizFelipe-wu4es Před 3 lety +1

    Hi! Im doing this exact project (just with less buttons, teensy 2.0 and a led) and I’m struggling with some problems:
    - first of all when I press a button, it sends multiple midi messages at once (I tried messing with the debounce time but it doesn’t seem to help)
    - second, when I press one button, my daw is receiving multiple notes ( I figured when I only press one, its like pressing 3/4 buttons at once)
    -and last my led isn’t lighting up (I want it always on), does this mean I cant use led while programming in midi??
    Can you please help?? Great video by the way!!!

  • @g43s
    @g43s Před 2 lety

    ActitioN is the only brand that makes an affordable footswitch pedal, but this, this makes it look so easy, i think i might try to do it myself. the only thing thats bugging me is that i dont know if i'll be able to recreate some Launchkey controls i need, like changing Audio lanes on ableton, or basic play pause and record controls, i wanna have that baked into the controller and not setting it up everytime i change devices. any idea how you could do this?

  • @Hakucho64
    @Hakucho64 Před rokem

    Tip: at 7:35, if you don't have a special clamp to hold the PCB still while you're soldering things onto it, just use some blobs of Blu-Tack to hold it still.

    • @slowgaffle
      @slowgaffle Před 11 měsíci

      Blu-Tack is pretty miraculous. Also, a glue stick and a lighter is pretty awesome too.

  • @BallooII
    @BallooII Před rokem

    Great project is possible to add a wah or expression pedal to this project

  • @wilsonquevedo456
    @wilsonquevedo456 Před 3 lety

    could you do the switch pages option?

  • @WilsonALO
    @WilsonALO Před 8 měsíci

    great toturial, why do you think that my controller is sending multiple notes per press? Im using the Teensy LC

  • @sonicallyretarded9647
    @sonicallyretarded9647 Před 2 lety

    Great video! Can I mạke this controller with a Teensy 2.0?

  • @gmsstore3105
    @gmsstore3105 Před 2 lety

    GREAT!! it works with a vst in reaper?

  • @Deebz270
    @Deebz270 Před 4 měsíci

    Not bad for a rush job... Though I could see with the spacing of those footswitches you were lining yourself up for a miss-stomp... I would have mounted with wider spacing and used a long peddle-board chassis instead.
    But does the Arduino/Teensy have an actual MIDI out/thru port, for direct operation - without requirement for a DAW - of other MIDI compliant signal processors?

  • @flapjacksmike
    @flapjacksmike Před 4 lety

    FYI, Project Housing and PCB project boards are the same links in the description.

  • @carlosclaptrix
    @carlosclaptrix Před 6 měsíci

    Thanks for the tutorial. But I was expecting a footswitch that sends ProgramChange messages. I am a musician and the Arduino is very interesting to use für USB MIDI footswitches which control patches on some hardware. Strangely I do not find any newer tutorials on devices that send PC messages.

  • @sanyagupta4125
    @sanyagupta4125 Před 4 lety +1

    hi, i’m working on building a version of one of your previous projects (the smart mirror) and just wanted to let you know that darksky is no longer accepting new members and the api will be shut down in 2021. i was just wondering how i could go about changing the code to fit another api such as openweathermap or weatherbit and what you think would be best? thanks so much, a fellow coder

    • @hackershack
      @hackershack  Před 4 lety

      I haven’t looked at either, but you could experiment with the apis to see what’s best. The code for the smart mirror is module based so you could create two modules, one for each api, to experiment

    • @sanyagupta4125
      @sanyagupta4125 Před 4 lety

      @@hackershack Thanks! I was able to implement it using OpenWeatherMap.

  • @jakejuntilla1752
    @jakejuntilla1752 Před 3 lety

    is this possible with the teensy 2.0?

  • @kartman74usa
    @kartman74usa Před 3 lety

    what about to put a display?

  • @samuniv987
    @samuniv987 Před 3 lety +1

    Awesome project. But I couldn't find teensy locally so can I use an arduino instead?

    • @commentingpausedtoprotectus
      @commentingpausedtoprotectus Před 3 lety

      as long as it's either a Arduino Pro Micro or Leonardo you should be fine as they support HID natively.

  • @hevc_h265
    @hevc_h265 Před 3 lety +1

    Hi! Can I use you code with ESP32? I have a problem - exit status 1
    Bounce.h: No such file or directory

    • @arschi6554
      @arschi6554 Před 2 lety

      You must install Bounce in Arduino IDE.

  • @azmanahmad2820
    @azmanahmad2820 Před 3 lety

    Hi i made this kind of controller too for my guitar multieffect, but how do you connect it to a non midi input laptop?? any ideas?

    • @hackershack
      @hackershack  Před 3 lety

      This project connects to a laptop through usb and can be used as a midi device

    • @azmanahmad2820
      @azmanahmad2820 Před 3 lety

      @@hackershack thanks mate

  • @mateusabds
    @mateusabds Před 2 lety

    where can i find this box?

  • @paulperold640
    @paulperold640 Před rokem

    Must i use Teensy bord

  • @aditagrawal
    @aditagrawal Před 4 lety

    love your vids,
    btw my name is adit and i am from india.

  • @jannesvanderveen2611
    @jannesvanderveen2611 Před 4 lety

    Cool project. Quick question: can you use it with bias fx?

    • @hackershack
      @hackershack  Před 4 lety

      It’s standard midi interface, so should work with anything that uses midi devices

    • @jannesvanderveen2611
      @jannesvanderveen2611 Před 4 lety

      @@hackershack thanks. I think I'm gonna build something like this than. I was waiting for someone to make a midi footswitch that isn't like 300$ or is 50$ and only has 2 buttons.

    • @JimbobZip1977Lob
      @JimbobZip1977Lob Před 4 lety

      I made something quite close to this to work with guitar rig and it worked fine, but for some reason bias and THU wouldn't let me use it has it used note on/off events rather than proper midi changes. Wish I code it to change from note on/off to other usable midi changes, but can't get my head around it.

    • @commentingpausedtoprotectus
      @commentingpausedtoprotectus Před 3 lety

      for the life of me I cannot get any midi automation to work with bias fx or reaper for that matter

  • @bulletsandpencils
    @bulletsandpencils Před 3 lety +1

    Can you share the code with us?

  • @kirillprasolov8317
    @kirillprasolov8317 Před 3 lety

    hi bro. I ve made this project. But how to turn on/off leds for every button when pushed?

    • @commentingpausedtoprotectus
      @commentingpausedtoprotectus Před 3 lety +1

      Do you mean have an led show when the button is pressed and then go off when the button is depressed or have it stay on and off as a toggle ?

    • @kirillprasolov8317
      @kirillprasolov8317 Před 3 lety

      @@commentingpausedtoprotectus on and off as toggle. I mean first push down up is led on, second push down up led is off.

    • @kirillprasolov8317
      @kirillprasolov8317 Před 3 lety

      @@commentingpausedtoprotectus like in this video: czcams.com/video/aMato4olzi8/video.html

  • @Hakucho64
    @Hakucho64 Před rokem

    If you don't have access to a 3D printer, or just want a cheaper solution, simply buy 4 PCB standoffs, which are like little plastic shafts with a screw in each end. Attach them to the four corners of your PCB, remove the screws from the other end, put some super glue (or epoxy glue) on the ends of each shaft, and glue the assembly to your case where you want it. If you need to remove the PCB later, you can simply unscrew the four screws holding the PCB to each shaft.

  • @manday_13
    @manday_13 Před 2 lety

    Is this possible with arduino uno?

  • @roscius6204
    @roscius6204 Před 2 lety

    I'm late to the party here.
    Can this be configured to send PC messages too

  • @nomad100hd
    @nomad100hd Před 2 měsíci

    How is it a midi foot switch without a midi out?

  • @vijaybadgujargmail
    @vijaybadgujargmail Před 3 lety

    you better think about giving some space between those switches.

  • @stephendinella2123
    @stephendinella2123 Před 4 lety

    CAN YOU GUYS MAKE A GOLF LAUNCH MONITOR OR A GOLF SIMULATOR PLEASE!!!

  • @minkorrh
    @minkorrh Před rokem +1

    I specifically click this video because it said how to make an Arduino midi footswitch not a Teensy MIDI footswitch. Arduino Nanos are a couple of bucks each while those teensy boards are 35 or 40

    • @Dante-420
      @Dante-420 Před 6 měsíci

      That sucks! But it's not too uncommon for people to use "Arduino" interchangeably with any MCU or even any general SBC projects

  • @tpdoficial
    @tpdoficial Před rokem

    I need one of those. Help me.

  • @eugenbesson4211
    @eugenbesson4211 Před 3 lety

    ​ @Hacker Shack Will it works on Teensy 2.0?

    • @hackershack
      @hackershack  Před 3 lety +1

      It should

    • @eugenbesson4211
      @eugenbesson4211 Před 3 lety

      @Hacker Shack I wonder if it's possible to connect led to make sure the switch if it's on or off. How to connect such led and what I have to add to your code?

  • @breakingthroughinside
    @breakingthroughinside Před 3 lety

    Is much easier to buy a cheap pc joystick or use a broken one, there is tutorial online

  • @rigrentals5297
    @rigrentals5297 Před 4 lety

    Feed me more beatz

  • @Deebz270
    @Deebz270 Před 4 měsíci

    4:54 - You didn't have ANY lubrication at your place? What no cooking oil? Baby oil? ... KY jelly?
    Any of which would be sufficient to save the cutting edge of your drill bit.

  • @felipecaceres7791
    @felipecaceres7791 Před 4 lety

    hi i was wondering if this pedal can be configured to send pc commands and work properly with archetype plini (neural dsp plugin). I am about to buy the materials but I also have the option of making a similar pedal. can you tell me if this works?. or how to modify it?.
    here the link to thr plugin 14 days free:
    neuraldsp.com/products/archetype-plini/

    • @balmvioletsem
      @balmvioletsem Před rokem

      Hello. Did you have a chance to build the pedal and experience it with the neural plugin? I'm thinking of doing the same and using it with the Neural plugin. Does it work with the plugin?

    • @felipecaceres7791
      @felipecaceres7791 Před rokem +1

      @@balmvioletsem Hi, i didn’t build it, i bought the Behringer FCB 1010 instead

  • @prat2609
    @prat2609 Před 3 lety

    Hello... Nice video. I am having a bit of an issue with my project. I am using an Arduino Nano. Whenever I am uploading the program MIDI data is flowing continuously. I would like it to send Note Value instead of CC data. Can you please suggest where I am going wrong?
    This is where you can find the code: www.mediafire.com/file/zeqyj52g87yq431/MIDI_Controller.rar/file
    Any help would be very nice!