fbpx
Skip to main content

MIDI Forum

Confusion with 5 pi...
 
Notifications
Clear all

Confusion with 5 pin DIN terminal numbering

8 Posts
3 Users
2 Reactions
405 Views
Posts: 4
Active Member
Topic starter
 

This is an oddity to me but it should be easy for you guys to put some clarity into the issue! I'm very technically founded in other areas of electronics including the circuitry of MIDI, but not an expert on MIDI standards in any way.  Please don't feel awkward about talking technically to me even though I don't have the info I need at my fingertips.

I'm simply trying to convert a DIN-DIN cable to a DIN-TRS.  This is a requirement of using a classic Boss RE202 pedal.  As set out in their spec the pedal requires a Type-A cable just as they supply in their own BMIDI-1-35 cable. It will be attached to the controller MIDI Out/Thru via its 5 pin 180deg DIN socket.

I would attach a picture but can't see how so descriptions will have to do!!!  I am orienting the plug so it has the solder buckets pointing out of the page towards us and with the pins in the lower half (like a smile).  Pin 1 shows on the left and pin 3 on the right.  I assume Tip to 5 and Ring to 4, pin 5 on the right.  My supplied cable plug terminal labels match this so - it should be easy!  However...

This doesn't match up with every other source I can find online.  They all seem to show the plug numbering as mirrored and I am wondering what I am seeing incorrectly here.  For example, Wikipedia "DIN Connector" entry clearly shows the 5 pin 180 DIN Plug numbering, looking at the solder bucket side, as starting with 1 on the left but with the 5 pins in the upper half.  This is a mirror image of what I have described my own plug shows.

I could trust my instincts and just go ahead but I would feel happier confirming which is the correct orientation from yourselves first.  Can anyone clarify what is going on here?  (Or show me how to attach a picture maybe?)

 
Posted : 05/06/2024 12:13 pm
Bavi_H
Posts: 266
Reputable Member
 

I think you need to clarify if the connector is male or female as well as specifying if you are looking at the external connection side or the internal soldering side.

gender looking at pin numbers advancing clockwise from the notch
female external connection side 1 4 2 5 3
female internal soldering side 3 5 2 4 1
male external connection side 3 5 2 4 1
male internal soldering side 1 4 2 5 3

To encourage one standard, The MIDI Association specification for the TRS connectors uses the pin assignment that is called Type A. The pictures in the spec show a female connector and looking at the external connection side. I especially like the picture of the cable itself on page 2, that makes it a little more obvious what the diagram is showing.

 
Posted : 05/06/2024 5:24 pm
Clemens Ladisch
Posts: 323
Reputable Member
 

Just for completeness, an image (front/external side for female/socket; solder/internal side for male/plug).

 
Posted : 05/06/2024 10:34 pm
Posts: 4
Active Member
Topic starter
 

Thanks guys.  In truth the reality of wiring it up via just the logic of how things are connected is not a problem at all.  I know how the MIDI Out socket will have its Sink and Source lines connected so I could just assume that and follow it through.  I have the MMA Letter of Agreement of the standards already to refer to as well.  The issue my brain can't get around is that my cable plugs (male) seem to have incorrect numbering.

I tried to describe the orientation but I guess it is difficult to make it clear in just words.  Here is a link to the picture on my Dropbox site:  5pin DIN numbering  You can see from that pic that the socket numbering in the upper half drawing with the TRS jack seems to match what I am seeing elsewhere.  That is looking into the insertion face with the solder buckets into the screen.  The lower half is of my own plug viewed into the mating pins, i.e. from the insertion side with the solder buckets away from us into the screen.  That is numbered exactly the same!  My brain tells me it should be reversed to match the socket when it is inserted.  There are many other sites I looked at which show the same contradiction with my plug.  For example Philip Rees has a simple guide to wiring up a MIDI plug which is very clear.  It also contradicts my own plug numbers.

I could ignore this and just start at the MIDI Out socket and follow the logic but, not being a MIDI guru, I was worried I might be missing some peculiarity of the system and end up wiring it the wrong way round because of that.  As long as my plug is numbered either incorrectly or perhaps even to some different standard (???) there is no problem.  It's just confirmation that I can ignore that plug numbering and continue using what God gave me upstairs that I would appreciate.

This post was modified 5 months ago 3 times by Albert Burton
 
Posted : 06/06/2024 3:13 am
Clemens Ladisch
Posts: 323
Reputable Member
 

These numbers indeed are wrong for a male plug.

Does this thing have a name and/or a datasheet?

 
Posted : 08/06/2024 12:57 am
Posts: 4
Active Member
Topic starter
 

Thanks for confirming that Clemens.  Yes, it is blatantly incorrect according to most info out there.  However, what I have found is that everyone knows how MIDI should be wired up but there is much confusion caused with pictures posted showing it where it is not made absolutely clear which way plugs and sockets are being viewed.  I have found pictures where a cable is being defined but the DIN connection at one end is apparently the wiring of the socket in the unit and not the plug on the end.  I do find such inconsistencies very frustrating as someone who always attempts to clarify things to the point of irritation for others, (I mean I can be a pedant).

I've taken the pragmatic view and used the existing basic info for the wiring of the MIDI Out socket I'm attaching the cable to, and simply worked from there to the TRS jack ignoring any plug numbering completely.  Assuming the MIDI Out socket is viewed from outside the Master unit looking into its mating face, and with the pins to the bottom, (smiley face orientation), Pin 4 will be to the right and pin 5 to the left of pin 2 in the centre.  I have wired pin 4-Source to the Ring and pin 5-Sink to the Tip of the TRS jack.  This should conform with Type-A standard - unless anyone tells me different, (I can always be wrong of course)!

I'll now have to take the cable to where it can be tested with a live unit over the next day or two, this isn't for my own use, and I will be sure to confirm whether this is correct or wrong after that.

 
Posted : 08/06/2024 2:37 pm
Posts: 4
Active Member
Topic starter
 

I'm not sure what you meant when you asked for a name or datasheet.  In terms of the units involved, the master unit is a Boss RC-202 Loop Station also controlling a Boss RE-202 Space Echo pedal.  The RC-202 has standard DIN5 MIDI Out and the RE-202 has a Type-A 3.5mm TRS MIDI In according to their specs.

The cable is a generic MIDI Din5-Din5 bought from a reputable supplier as it has a good quality thick braided cable type which is good for rougher onstage treatment.  The original connections as supplied have been made cleanly and with decent soldering technique.  I have removed one of the DIN plugs and am fitting a Rean made 3.5mm TRS plug with a larger cable entry to suit the thicker cable type.  (I always stick to Neutrik/Rean wherever I can as I have always found them to be top notch connectors at a sensible price.)  There should be nothing unusual about that.  The DIN-5 plugs supplied are again decent quality - except for this anomaly of their numbering.  I have contacted the supplier pointing this out.

This post was modified 5 months ago 2 times by Albert Burton
 
Posted : 08/06/2024 2:53 pm
Clemens Ladisch
Posts: 323
Reputable Member
 

I meant the cable. Apparently, that reputable supplier did not use a cable assembly from a reputable supplier.

 
Posted : 09/06/2024 12:34 am
Share: