Electronic – Colors inside DIN 5 (MIDI) cable

cablescolour-codingconnector

Today about my first components in an electronic store. I'm currently making a MIDI IN circuit for my Raspberry PI.

My local shop didn't have male to male DIN 5 pin cables, as they seem to be obsolete, just like MIDI, and thought I'd buy a male to female cable, and cut the female connection and connect the needed cables to my breadboard manually.

This seems like a good plan, except for the fact that I have no clue which color represents which pin on the DIN 5 cable, and the Internet, for once, has given me no answer until now.

I need to find pins 4 and 5 in the cable.

I currently have

  • Blue
  • Green
  • Black (possibly pin 2)
  • White
  • Reddish

If needed I can attach a photograph, but there really isn't much more to it than this.

Which pin is represented by which color?

EDIT: Currently checking for continuity manually with a multimeter.

Best Answer

I made on my Arduino Uno some MIDI in/outs, but never seen some color scheme.

The MIDI ports have specific numbers (which are not so intuitive). And also check good what is the front and back.

Btw, MIDI is far from obsolete. Every synth still uses them (although USB MIDI is getting more popular, a lot of music devices with with DIN5 MIDI plugs). MIDI cables can be found at every decent music shop.