The wiring of DIN plugs

I get to do all sorts of practical stuff at work, some of which has nothing to do with physiology or imaging. One such thing is producing custom-made cables and plugs. Since I’ve had the pleasure of doing a fair few of these recently, I thought I’d put up a short how-to blog post on wiring up a DIN connector.

DIN stands for Deutsches Institut fur Normung, which translates to the German Institute for Standardisation. A DIN connector is, in short, a standardized connector, which come in a similar size. You may have seen them as they are often used for analog audio. The male DIN plug is typically 13.2 mm in diameter, and it often has a notch at the bottom to make sure the plug goes in the right way. Male plugs have a set of round pins, 1.45mm in diameter, that are equally spaced within the plug. The different types of DIN plugs have different numbers and configurations of pins. Below is an overview of some typical pin configurations.


There are, of course, variations over these themes, as well as specialized plugs with more than 10 pins. Pins on male connectors are numbered. The numbering goes from right to left, viewed from the outside of the connector with the pins upward and facing the viewer. The female counterparts are the inverse of the male plugs, and their numbering is from left to right. Usually, only corresponding male-female pairs work together, but you may be able to fit a 3-pin plug with a 5-pin 180 degree plug.

So how to attach a DIN plug to a cable? 

  1. Take the cable and snip off a few centimetres of plastic and remove padding. Snip off the insulation (about 1 cm) of the individual internal cables (cores). Slide the DIN metal sheet over the wire.
  2. Make sure that each core fits neatly into holes of DIN plug. This might mean cutting some of the wires. Move the unisolated wires (the ground) to one side.
  3.  Solder the core wires together and test that they still fit the holes in the plug.
  4. (Now comes the fiddly part). Add solder tin (a small amount is best) to the DIN plug holes, heat with the solder and push the tinned cores into holes. Remove solder iron and let the tin solidify (a few seconds only). Test that the solder holds by pulling firmly on the plug and cores. Attach the metal clamp around the cores (see second of figures below).
  5. Wrap the ground wires around the base of the metal clamp. Make sure the ground does NOT touch the cores. Test that there is no connection between wires and between wires and ground using a multimeter. Slide the metal sheet over the structure and plastic, and screw on the release catch where this overlays hole on metal clamp.



Appreciation post: ‘junk’ labs

This is a simple appreciation post for junk labs in general and my junk lab in particular. A junk lab arises organically from research that regularly requires new, bespoke equipment with limited funding and a reasonable amount of technical know-how. If this new stuff is built from old stuff, that’s usually easiest. So it’s a lab with a cache of old bits and bobs, scavenged and re-purposed, amended and adjusted. And it looks like this.