bhcarpenter
Well-known member
For the past year or so I can’t get out of my head how great it would be to have MIDI on/off switching built directly into stomp boxes. Instead of a typical MIDI switcher that requires the pedal to be always turned on and toggled via a midi controller, integrating MIDI control into the pedal itself would retain the usefulness of the on indicator and footswitch built into the pedal itself. Here’s what I’m thinking:
- The pedal listens to program change messages and remembers the last program change received
- holding the footswitch down for a bit would save the current on/off state to the most recent program number
- receiving that program number later would recall the saved setting
Originally I had planned to do a whole I/O PCB designed around this concept, but honestly the PPCB Intelligent Relay Bypass board is most of the way there already! You just have to ignore the MIDI “requirement” that MIDI inputs need an opto-isolator (Chase Bliss and Meris seem to ignore this requirement too).
The only bad thing- doing this with an Attiny85 is probably not viable. I’ve seen some projects online that do software MIDI on a GPIO port with the Attiny85, but that seems finicky and power hungry. Luckily the some of the newer tinyAVR MCUs have hardware serial communication support! Check out this demo of me saving on/off state and the recalling it using a MIDI controller. It’s not much, but I’m pretty excited about it! https://www.dropbox.com/scl/fi/f40l1mc9urjn49kz3y3sn/Video-Feb-07-2025-9-07-02-PM.mov
I’m using a ATTiny412 and it seems to be a good fit for the job. Next step: work up a little adapter board so that I can plug this directly into the PPCB relay bypass module. I’ll keep this thread updated if my progress!
- The pedal listens to program change messages and remembers the last program change received
- holding the footswitch down for a bit would save the current on/off state to the most recent program number
- receiving that program number later would recall the saved setting
Originally I had planned to do a whole I/O PCB designed around this concept, but honestly the PPCB Intelligent Relay Bypass board is most of the way there already! You just have to ignore the MIDI “requirement” that MIDI inputs need an opto-isolator (Chase Bliss and Meris seem to ignore this requirement too).
The only bad thing- doing this with an Attiny85 is probably not viable. I’ve seen some projects online that do software MIDI on a GPIO port with the Attiny85, but that seems finicky and power hungry. Luckily the some of the newer tinyAVR MCUs have hardware serial communication support! Check out this demo of me saving on/off state and the recalling it using a MIDI controller. It’s not much, but I’m pretty excited about it! https://www.dropbox.com/scl/fi/f40l1mc9urjn49kz3y3sn/Video-Feb-07-2025-9-07-02-PM.mov
I’m using a ATTiny412 and it seems to be a good fit for the job. Next step: work up a little adapter board so that I can plug this directly into the PPCB relay bypass module. I’ll keep this thread updated if my progress!