Build your own MIDI projects
Frequently Asked Questions.
MIDI & Music
MIDI and Music Information
MIDI Panic Switch


MIDI Panic Switch

If you have a MIDI module that sometimes has MIDI note-on commands producing 'stuck' notes which drone on and on, then this circuit design will produce a series of 'All Notes Off' commands or individual 'Note Off' commands if a switch or foot-switch is pressed, and switches all the notes off.




PRICE:  €50.00






The MIDI Panic Switch unit utilizes:

  • An Arduino unit including a suitable pre-programmed Atmega microcontroller,
  • A 2.1mm power socket, and associated LED, 
  • A MIDI In & Out board,
  • A MIDI 5-pin DIN input socket,
  • A MIDI 5-pin DIN output socket,
  • A MIDI activity associated LED,
  •  0.1" pin-terminal switch inputs, 


The MIDI  Panic Switch unit requires:

  • A 9 Volt battery or equivalent 9 Volt DC power source
  • A momentary action switch (if required)
  • A  1/4 inch Jack Sockets for a foot-pedal switch, ( if required)


Circuit Diagram:   

Here is the circuit schematic diagram of the MIDI panic switch board and also the circuit schematic diagram MIDI IN & Out board.





     *Click to Enlarge*

The MIDI IN and OUT connectors use  5-Pin 180 degree DIN sockets. Note that the MIDI IN/OUT wiring is polarised and the correct pins should be used.




Pin Wiring Connections:




Because some older MIDI machines do not respond to the 'All Notes Off' command there are 2 modes of operation.


When either the foot-pedal switch and/or the momentary action switch  are operated the MIDI panic unit first produces the 'All Notes Off' MIDI command on all 16 MIDI channels. These commands take approximately 16 mS.


Secondly the unit produces a 'Note Off'  MIDI command on all notes (0-127) and on all 16 MIDI channels. These commands take approximately 2048 mS to transmit.


If MIDI data from any MIDI channel is detected, on the MIDI IN socket, it is re-transmitted to the MIDI OUT socket.