Miniature version of DIN connectors, available with 3 to 9 pins. Mainly used on computer mice and keyboards (PS/2), and video equipment (SVHS). The shape of the shell, and a plastic pin in the centre of the plug ensures it will only fit one way round. Most common is the 5 pin 'A' type, used for audio connections. Unlike full size DIN connectors, the location and numbering of the pins is not standard for all connectors in the series.
4-pin - SVHS video connections
6-pin - PS/2 keyboard and mouse connections (although mostly superceeded by USB)
Other applications requiring a low voltage miniature mutipole connector
See here for details of full size DIN connectors.
Pin 1: Data
Pin 2: No Connection
Pin 3: Ground (0V)
Pin 4: +5V DC
Pin 5: Clock
Pin 6: No Connection
Note that although the mouse and keyboard have identical pin connections, functionally the connections on the computer are not interchangeable. Some computers have a combined mouse & keyboard port, requiring a splitter cable if a mouse is to be connected.
See D Connectors for pin-outs of serial mice.
Pin 1: Luminance Ground
Pin 2: Chrominance Ground
Pin 3: Luminance or Intensity (Y)
Pin 4: Chrominance or Colour (C)
Normally solder connections. Thread outer cover onto cable, solder wires to pins, then assembly 2 halves of shell around connections and close cable clamp with pliers. Slide the plastic cover over the shell - a tab on the metal shell holds it on (you will need to bend the tab in to remove the cover again). 2-pin plugs/sockets may have screw connections and a push-on cover.
Normally solder connections. It may help to fix the socket to the panel first to hold it steady.