Pinouts >  Audio / Video hardware connectors
5 pin DIN female connector layout
5 pin DIN female connector
at the peripheral
MIDI=Musical Instrument Digital Interface.

MIDI is a digital communications protocol, introduced in 1983 by a group of musical instrument manufacturers.

MIDI In

Pin Name Description
1 n/c Not connected
2 connected to shield Not connected
3 n/c Not connected
4 CSRC Current Source
5 CSINK Current Sink

MIDI Out 

Pin Name Description
1 n/c Not connected
2 GND Ground
3 n/c Not connected
4 CSINK Current Sink
5 CSRC Current Source

A MIDI cable should have pin 2 (Shield) connected on both ends. (to be symmetrical)
A MIDI OUT port should have Pin2 grounded, a MIDI IN port should have pin 2 left NC.

egarding disconnecting the earth at one end, this is a common bad practice. Also an earth loop is not formed by connecting 2 devices at multiple points, that is a total misunderstanding of the concept of earth loops. In fact the best practice is to create a combination mesh and star earth using an earth bus and as many earth connections in between interconnected devices as possible.

Disconnecting the earth where you have bad earthing will help to avoid coupling (capacitively within the cable) the earth circuit related noise (hum and buzz) with the midi signal, but this is a bandaid solution. at the same time keep in mind you will increase the amount of rfi coupled to the midi signal. but yes due to the optoiscolators, this should not be a problem. but it should be correctly understood.

Signal 1st 2nd
Shield 2 2
Current Source 4 4
Current Sink 5 5
5 pin DIN male connector layout
5 pin DIN male connector
at the cable
According to 3 reports in our database (2 positive and 0 negative) this pinout should be correct.

Is this pinout
MIDI In/Out and cable visual pinout:click to enlarge
Source(s) of this and additional information: Hardware Book
Copyright © 2000-2019 by pinouts.ru team, except user uploaded images.
No portion of this webpage may be reproduced in any form without visible link to Pinouts.ru .
Efforts have been made to ensure this page is correct, but it is the responsibility of the user to verify the data is correct for their application.