For the past week I’ve been trying to find a breadboard friendly DPDT switch to use on my Arduino Piano. After going through Digikey’s catalog a couple times, I realised that there just isn’t any DPDT switch that has the exact 0.1” spacing between pins on the same side, and the 0.3” spacing between the two sides in order to straddle across the gap on a breadboard. Therefore I decided to make my own breadboard friendly DPDT switch.
This DPDT switch I found on Digikey doesn’t have the exact 0.1” spacing, but it’s close enough to be used on a perfboard. We’ll also need two 3-pin headers, and a small piece of perfboard (protoboard, stripboard, whatever you like to call it).
Cut the perfboard down to 4×3 and use a file to smooth out the sides. Then, if you’re not using a perfboard with individual copper pads, use a X-Acto knife to split the copper trace in the middle.Now you can solder on the switch first, and then the two 3-pin headers.