AML GP60 electronics / DCC installOverviewThis is a LONG technical page, and needs to go into details due to the weird electronics in the loco, and COMPLETE lack of documentation.I've gone into these details as I used this page to document my investigation to DECODE the interface presented on the GP60 motherboard, specifically to adding any decoder.Apparently the choices made were because ESU was the only decoder company to do all the design (I assume free) of the motherboard. A really poor choice in my opinion, DCC is popular because it is a standard, and allows we consumers to make our OWN choice of what electronics.But in not-so-infinite-wisdom, AML decided to use a non-standard socket in the GP60, even though there are thousands of Aristo/Bachman socketed locos and several decoders that fit THAT STANDARD socket:Phoenix SM-18 decoderTCS Wowsound 501 decoderDigitrax DG583s QSI Revolution decoder (out of production)QSI Titan decoder (out of production)To make this worse, there are NO screw terminals to connect to the loco "peripherals", and to top it off, unusual connectors in the areas that the lighting is connectorized.So this page documents the arduous process of understanding the pinout of the OEM decoder, and verifying the socket, and the other plugs on the motherboardyou have to understand the pinout of the decoder first, thus allowing the documentation of the socketat the end of this page, I "decode" the understanding and the operation of the "dummy plug" that is supplied for DC operation and is likewise UNDOCUMENTEDproduction of an adapter to facilitate the installation of ANY decoder (in such a way that ordinary hobbyists can do this)So, you can read how I got to the answer, or jump ahead to the section where I make the plug in adapter.Table of Contents: (with links)Starting point: document Loksound decoder pinoutDocument the GP60 motherboard / socket pinouts from step above CLICK HEREDocument other motherboard connectors - the actual devices connected to the socket CLICK HEREThe strategy to make a plug in adapter CLICK HEREFinal wiring - connect the adapter to the decoder CLICK HEREThe starting point: LokSound 5XL decoder connectionsClearly the starting point is the ESU decoder, since no document on the motherboard socket is provided. Below is the pinout of the LokSound 5 XL decoder... pay attention to the fact that pin 1 has a square outline on the silkscreen.I'm calling the leftmost connector J1, as it maps similarly to the industry standard Aristo and Bachmann sockets. This is where track and motor and headlights are.I'll call the rightmost connector J2, again following the Aristo and Bachmann conventions.Further I call the top connector (in this illustration) J3, and the bottom J4(Note, THE FOLLOWING ILLUSTRATION IS FROM THE "BOTTOM SIDE" of the decoder)Now map the GP60 motherboard socket connections to the decoderYou think this would be easy, but there are unused pins and other weird stuff. Below is a picture of the motherboard (thanks to RLD Hobbies),Notice the orientation is such that pin #1 is nearest the bottom on the left and right connectors. Also pin#1 on the lower horizontal connector is on the left. The top connector is not labelled the same way, but we don't care since it is mostly servos.Again using my nomenclature:Left Side: J1, #1 pin at bottomRight side: J2, #1 at bottom, but NOTE: the first pin of the decoder does NOT have a socket hole...so the J2 socket starts with the rear light, not AUX 11, weird.likewise the last connection does not appear in the socket, so the 14 pins on the decoder are only matched by 12 on the motherboardYou can see on the motherboard there are clearly 2 unused holes in the board, that the socket does not utilizeBottom side: J3, pin one on the leftTop side: J4, pin 1 on the right, but the numbering is screwed up when looking at the decoder illustration. No matter, mostly servos.Listing of the pins in the socket J1: (notice I reference the actual pins in the socket)Table 1J1 socket pin numberUSE notes 1 left rail pickup 2 right rail pickup 3 right rail pickup (optional) duplicate of to pin 3 4 right motor motor plus 5 U+ (common pole) no idea - needs research 6 U+ common pole tied to +UB on motherboard 7 GND 8 left motor motor minus9 wheel sensor input reference to ground or plus?10 left motor duplicate motor minus11 speaker 1 #1 speaker minus per decoder definition12 speaker 1 #2 speaker plus per decoder definition So most of what we want is here, the U+ things are not identical on the motherboard, so several things to check out.J2 socket pins: (again I am referencing the pins in the socket, which are NOT numbered the same as the decoder, the decoder has 14 pins, the motherboard socket only has 12)Table 2J2 socket pin number USE Notes 1 rear light 2 headlight 3 sensor input #1 4 AUX1 5 AUX2 6 AUX3 7 sensor input #2 8 AUX4 9 AUX5 10 auxilary board power control (reserved) 11AUX6 12 U+ tied to +UB, Pin 6 J1 J3 socket pins, (bottom) again 12 pins, starting from the leftTable 3 J3 socket pin numberUSE Notes 1AUX13 logic level 2speaker 2 #1 says plus (notice silk screen reverse polarity of speaker #1, clearly an error) 3speaker 2 #2 says minus 4+10 volts really? what for? 5+5 volts 6AUX7 7AUX8 8AUX9 9AUX10 10AUX11 also for SUSI data or servo511AUX12 also for SUSI clock or servo 612 UVAR regulated DC power common (+) 1.8 v, but can be set by changing resistor 1.5 to 3v J4 socket pinsTable 415,14,13 servo 111,10,9 servo 27,6,5 servo 33,2,1 servo 4(I may add a formal table here eventually, only for the servos, perhaps used for uncouplers, or if there is a high current output for a smoke unit on J4 GP60 motherboard other connectorsThere are a number of connectors on the mother board.to get the signals and power on and off, below is the legend mapping the silkscreen to functionsThe bright green pins are the J1 and J2 pins needed to connect to a decoder are in green Table 5 connector "number"mb socket connection silkscreen meaningX1 - right end (with the silkscreen right side up)(rear of loco)J1-1 - TRKL - left railJ1-2 - TRKR - right rail TRKL and TRKRTRacK Left and TRacK RightAs delivered, not connected, see X14 for feed pointX2 - right end / rear J3-2 SPK2 plus J3-3 SPK2 minus SPK2 SPeaKer 2, note polarity is also on silkscreendecoder lit says pin 2 is SPK2 #1, silkscreen is reverse of speaker #1.As delivered, speaker on top of loco connected here, weirdX3 - right end/rearJ1-4 - MOT+ - motor plusJ1-10 - MOT- motor minus MOT MOTors, note polarity is also on silkscreenAs delivered, rear motor connected hereX10 - right end pin1 is +5v J2-1 - pin2 is LMPR - rear lt pin3 is AUX 7 - J3-6 pin4 is AUX 8 - J3-7 pin5 is AUX 9 - J3-8 pin6 is AUX10 - J3-9 pin7 is AUX11 - J3-10?? +5v / LMPR / AUX7 thru AUX115 volts, LaMP Rear, and AUX 7 through 11.lmpr has a 1k resistor J3-10 goes through an IC, so it might be connected to aux11in some configurationAs delivered only LMPR (rear headlight) is connected in stock loco, AUX 7-11 not connectedX11 - left end pin1 is +5 v buss multi pin, use this pin to feet +5v common for decoderX12 - right end J4-9 J4-10 J4-11 SERVO2 / +5v / GND typical servo pins for servo #2As delivered, not connectedX14 - middle J1-1 - TRKL - left rail J1-2 - TRKR - right rail TRKL and TRKR TRacK Left and TRacK Right (duplicate of X1)As delivered, this has orange wires connecting to switch board, track pickups also go to switch boardX7 - left endJ1-12 SPK1 minusJ1-11 SPK1 plus SPK1 plus and minus SPeaKer 1, note polarity is also on silkscreen, decoder lit sayspin 12 is speaker 1 #2 -plus, pin 11 is speaker 1 #1 - minusAs delivered, not connectedX8 - left end J1-4 - MOT+ - motor plus J1-10 - MOT- motor minus MOT MOTors, note polarity is also on silkscreen (duplicate of X3)As delivered, connected to front motorX9 - left end pin1 +5v common J2-2 / pin2 is LMPF - front ltJ2-5 / pin3 is AUX2 - nbr bdsJ2-6 / pin4 is AUX3 - rt ditchJ2-8 / pin5 is AUX4 - lft ditchJ2-9 / pin6 is AUX5 - cab light pin7 is AUX6 - J2-11 +5v / LMPF / AUX2 thru AUX6 5 volts, LaMP Front, and AUX 2 through AUX6As delivered:Pin1 common to all front lampsPin2 - LMPF - front headlight Pin3 - AUX2 - number boardsPin4 - AUX3 - right ditch lightPin5 - AUX4 - left ditch lightPin6 - AUX5 - cab lightPin7 - AUX6 - not connectedseems the +5 common is from a regulator that is fed from the decoder itself.X11 - left end +UB / AUX1 / +5v / AUX13 +UB???, AUX1, +5 volts, AUX13As delivered, not connectedX13 - left end SERVO1 / +5v / GND typical servo pins for servo #1As delivered, not connected Plug in adapter strategy:Summary: what is needed from the motherboard for adapting a DCC decoder:we need a 12 pin connector on J1we can get away with 6 pins for J2we need to find a way to feed the +5 volt pins that go to the LED lightsWhy start with the Bachmann adapter?It already has two 12 pin male connectors with wires.even though the distance between J1 and J2 is different from the Aristo/Bachmann standards, it appears simple to cut it in half to fitthe 11 pin piece is ready to use on J2the 12 pin piece only needs slight modification to remove the "shorts" between 1&2 and 11&12basically it saves a lot of timeModifying the Bachmann Dash 9 adapter for the GP60 socketThe Bachmann adapter has 2 ends:J1 "end" has 12 pins, but only 10 wires since J1 has pins 1&2 jumpered as well as pins 11&12, so it needs modification to separate these pins and add 2 more wiresJ2 "end" has all 11 pins with independent wires, it's ready to go.Look carefully at the picture below and you can see the copper that jumpers these two pairs of pins on J1 (lower left corner in the picture below):Steps to modify the Bachmann adapter:Cut away insulator from pins on J1 (it will be easier to fully remove the pins to "split" the copper shorting pins 1&2 and 11&12)Remove the pins from the J1 side (see below) (now easy to remove the pins individually)grind away the copper that shorts pins 1&2 and 11&12put in new pin strip with long pins on both sides (strips found on Amazon)connect two new separate wires to pins 1 and 12finally cut the adapter in half, and trim to fitStep 1: Cutting away the plastic from the connector pins:Below you see the black plastic insulator that holds the pins in alignment before insertion:If you take a sharp X-Acto knife and slide along the pins, 3 at a time, you can cut away one side of the insulator, and when you get done, the insulator on the other side of the row of pins will fall away:Step 2:Now that the pins are no longer all held by the plastic, you can remove them one by one. However you do this, you will probably want some "solder wick" to clean up the old solder, and ensure the holes are completely open.I used solder wick to remove the solder on all 12 pins first, and then you can pull them out one by one easily with a bit of heat. Clean up the board as best as you can with solder wick and a brush etc. Depending on your level of expertise, you might just heat and remove the pins one by one, and then cleanup the board with solder wick later. This is the way I did it.Step 3: remove copper shorting 1&2 and 11&12Now cut away the extra copper that links the outer 2 pins... I used a small cylindrical grinder at slow speed:Step 4: solder new pin strip in:Now solder the new strip back in: (bought from amazon with 7.5 mm pins on BOTH sidesStep 5: add on wires for pins 1 & 12Trim pins 2 through 11 (easier to get to new pins 1 & 12Add in new wires for pins 1 and 12Step 7: cut adapter in half and trim to fitCut the adapter in half and you have your 2 plugs to access all the "peripherals" needed for ANY decoder installation.You will need to trim bottom margin to white line on both halves, and make them narrower, look at the silk screen for a guide.You need to notch J1 to clear the "bottom" socketUse the picture below as a guide: Installation and connections:Final pin connections for J1 & J2 for connecting any decoder (no servos)1. test connect decoder, just connect:track pickupsmotorsspeaker2. if this works, then finalize "forwards" wiring: (do in the following order)test for DCC direction, and complete wiring to motors (reverse motor wire connections)test for DC direction, and complete wiring to track pickups, adding in a polyswitch to EACH track pickup wire (4 total) (reverse track pickup connections if wrong)3. Now, add the lighting functions and the +5 volt supply (from QSI to motherboard)(you do this to simplify the powering of the common for the LEDs)Table 6 - J1 and J2 wiring in order - green is what needs to be connected, yellow is optional"J" GP60 motherboard socketfunctionwire color on modded adapterQSI titan socket& pin # corresponding GP60 motherboard "Xn" connector if any (n=1 to 11) J1-1 Left rail pickup red (added) J1-1 X1 and X14 J1-2 Right rail pickup black J1-12 X1 and X14 J1-3 J1-4 Motor plus white J1-10 X3 and X8 J1-5 J1-6 J1-7 J1-8 Motor minus green J1-3 X3 and X8 J1-9 J1-10 J1-11 speaker 1 plus (#1) red J2-1 X7 J1-12 speaker 1 minus (#2) black J2-3 X7 J2-1 rear headlamp purple J1-9 QSI LED port 2 J2-2 front headlamp purple J1-4 QSI LED port 1 J2-3 J2-4 J2-5 number boards green J3-2 QSI LED port 6 J2-6 front right ditch light green J2-12 QSI LED port 4 J2-7 J2-8 front left ditch light brown J2-8 QSI LED port 3 J2-9 cab light brown J3-4 QSI LED port 8 J2-10 J2-11 J2-12 X11-2 +5 volt common J3-11 feed +5v from Titan to motherboard X11 J3-1 J3-2 speaker 2 #1 + J2-4 X2 - used for optional fuel tank speaker J3-3 speaker 2 #2 - J2-5 X2 - ditto above J3-4 J3-5 J3-6 J3-7 J3-8 J3-9 J3-10 J3-11 J3-12 direct to QSI Titantruck lights J2-10QSI LED port 9 (smoke fan minus)direct to QSI Titan J3-11+5v from Titan (smoke fan plus)direct to QSI Titanstep lights J1-8QSI LED port 12 (smoke heater)direct to QSI Titan J1-6 positive unregulated rectified trk pwr (smok heater) (I used an adjustable DC regulator from here)direct to QSI Titan front ohead beacon 1 J3-1 QSI LED port 5 (optional oh beacon)direct to QSI Titan front ohead beacon 2 J3-3QSI LED port 7direct to QSI Titan front ohead beacon 3 J2-11QSI LED port 10direct to QSI Titan front ohead beacon 4 J3-8QSI LED port 11 The picture below shows the basic connections.You have the #1 pin reference on the silk screen on each boardThe wires in the black tube are unused. I may add a rotating beacon at some other time, so I have not cut away the rest of the wires from the adapters. Review of QSI LED light ports for reference (and double check):Port 1 - front headlightPort 2 - rear headlightPort 3 - front left ditch lightPort 4 - front right ditch lightPort 5 - reserved for front overhead beacon (1 of 4)Port 6 - front number boardsPort 7 - reserved for front overhead beacon (2 of 4)Port 8 - front cab lightPort 9 - smoke unit fan (using truck lights feature)Port 10 - reserved for front overhead beacon (3 of 4)Port 11 - reserved for front overhead beacon (4 of 4)Port 12 - reserved for smoke unit heater (special high current port on QSI) (using step lights)Note all 12 LED ports are mapped Smoke Unit InstallI used a feature of the QSI decoder that allows directly driving the fan and heater separately, and provides a high current output for the heater.I used the stock bracket with just a little modification and it fits like it was designed to go there.I've made a separate page for this install: CLICK HEREReference - GP60 Dummy plug notesInvestigating the "dummy plug" will yield some more cluesBelow is a picture of the "dummy plug", shown below (as shipped for DC operation)Dip Switch labeling/mapping:Closer inspection shows dip switches apparently mapped to headlights and AUX functions, and the default settings:The silk screening indicates the 2 headlights (upper left switch position 3&4 and 5&6) and then AUX outputs A1 through A11.It would seem that only AUX 1 through 7 have something connected. (by the switch positions)I will verify this, but it's clear there are 2 switches per "output" (normally a led)So every switch has either: (this indicates what function is controlled)LF or LR (light front, light rear)A1 through A13 for AUX1 through AUX13 (the A is missing on some switchesIn addition every switch has:F or R (meaning operation in forward or reverse)ON/OFF (move to ON to enable the desired direction)Looking at the switch positions as shipped:front light is on only in forwardsrear light is on only in reversethe rest are on only in forwards (that is weird)Reference: Bachmann / Aristo socket wiringThis is background to help understand the standard socket wiring, since I will use a modified Bachmann adapter plug.Therefore a "mapping" between the Bachmann nomenclature may be helpful to use the silk screened data on the plug.Showing the standards for J1 and J2:Note: The basic Aristo socket only uses J1 electrically: Pin # J1 function (Aristo) J1 function (Bachmann) J2 function(Bachmann) 1 Power Pick-up Right Side Power Pick-up Right Side Aux power 2 Power Pick-up Right SidePower Pick-up Right Side F1 3 Motor(s) Right SideMotor + F2 4 Front Lamp Control rear LED ??? F3 5 Smoke On/Off*smoke - F4 6 + Outgnd F5 7 Ground CommonB+ train bus +8Smoke On/Off*chuff train bus -9Rear Lamp Controlfront LED?? SP-10Motor(s) Left Sidemotor - Reed sw11Power Pick-up Left Sidepower pickup left side SP+12Power Pick-up Left Sidepower pickup left side XXXXXXXXX Aristo did not standardize J2 for power/control purposes(but sometimes the speaker is wired to it), * Pin 5 & 8 must be bridged for DCC