Electronic – Fixing the wiring on a keyboard sustain pedal

keyboardswitches

I have a cheap keyboard sustain pedal of the basic on/off variety. When the footswitch is pressed down sustain is on, and off when it's released. There is also a polarity switch so that it can be used with different makes of keyboard.

I opened the pedal to apply some grease and when doing so managed to disconnect the wires from the footswitch. I don't know the correct way to reconnect these wires. I have a attached a quickly drawn diagram of how things look.

enter image description here

The smaller rectangle is the polarity switch, which has 3 prongs, and the larger rectangle is the footswitch, with 6 prongs.

I need to know what numbers on the footswitch do the blue, green and red wires connect to, and also if any of the prongs on the footswitch should be connected to each other.

PS. Here's a few more photos as requested. I changed the colours of the wires in my diagram for the sake of clarity (pink in diagram = white, blue = black, green = red, red = also red).

enter image description here
enter image description here

enter image description here

enter image description here

Best Answer

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 1. Try this.

How it works:

  • As shown the sustain switching is normally open. Pressing the pedal completes the circuit.
  • Reversing the MODE switch will make the circuit normally closed. Pressing the pedal will open the circuit.

'C' indicates the common or centre pin on each switch. (You only need one side of a two-pole switch.) This is the quite similar in operation to a two-way stairs lighting circuit.