I hope I'm posting this in the appropriate area. I recently bought this keyboard as part of a lot on ebay but someone had previously cut off the cable. I'm pretty sure the board used a 5 Pin DIN but I don't know how to check. I can solder on a new cable but I don't know which solder points to connect to each PIN. Are the 5 wires coming out of the PCB in a standard order? I checked another board with 5 Pin DIN and it uses different color wires and nothing is labeled like this NMB board is. Does anyone know what I have to do?
Your pictures answer your question. NMB did all of the work for you and labeled each of the wires. Look at your first image and compare to the one I linked below. The only thing that's not clear to me is the two separate grounds. I imagine one may be for the shielding and one is for pin 4. You should be able to figure that out quickly by poking one lead from a continuity tester against each of the ground pins on the board and touch the other end of it to the remains of the exposed shielding on the cut end of the cable.
I like to replace cut cables with nice
HOSA MIDI cables that I cut in half and splice in. They've got wonderfully flexible rubber sleeving and beefy metal connectors. I also like
panel mount jacks like this, although I wouldn't pay that price for just one. If you mount that to the case and wire it up, then you can just buy HOSA MIDI cables of various lengths and you've got a nice setup for removable cables.