SB9 is populated from the factory with a 0 Ohm jumper, which allows the ST-Link target to control the nRST line on the controller. I cleared this so that the unpowered ST-Link wouldn't be hanging on the nRST line. This may have been unnecessary.
Important Pinouts I Probably Shouldn't Forget
I mostly used T568B color/pin number mapping except for the color strips, where I didn't because I was young and foolish.
Note that the RJ45 passthrough connectors look like they're pinned straight through, but they do actually cross over internally so pin 1 maps to pin 1.
Color Strips
Pin
Color
Signal
1
Orange
5V
2
Orange/White
5V
3
Green/White
5V
4
Green
MOSI
5
Blue/White
SCLK
6
Blue
GND
7
Brown/White
GND
8
Brown
GND
Floods
Pin
Color
Signal
1
Orange
12V
2
Orange/White
12V
3
Green/White
12V
4
Blue
12V
5
Blue/White
Return
6
Green
Return
7
Brown/White
Return
8
Brown
Return
Control Panel
Pin
Color
Signal
1
Orange/White
Switch 1 (Charge SSR and Panel Meter enable)
2
Orange
Switch 2 (Color mode enable)
3
Green/White
Switch 3 (Was wig-wag mode, removed when I found out lights had toggling modes and also burned up one of my NFETs)
4
Blue
Switch 4 (Floods enable)
5
Blue/White
Switch 5 (Taillight enable)
6
Green
Switch 6 (Patrol mode enable)
7
Brown/White
Pushbutton Switch 7 (was going to be meter enable, then I just tied that to switch 1 because I wanted to use serial debug and collided on pins)
8
Brown
Ground
Speed Sensor
Pin
Color
Signal
1
Orange/White
5V
2
Orange
NC
3
Green/White
NC
4
Blue
NC
5
Blue/White
NC
6
Green
Signal (open drain)
7
Brown/White
NC
8
Brown
Ground
Pinouts inside the box
Controller I/O Terminal Block - Left Side
Pin
Signal
1
SCLK
2
SCLK
3
SCLK
4
MOSI
5
MOSI
6
MOSI
7
SW2 Enable (Taillight Enable output)
8
SSR1 Enable (Charge / Panel Meter enable)
9
SW1 Enable (Left Flood enable, til I blew it up and put them together on SW3)
Using same connector for 12V floods and 5V APA102 strings, as well as control panel and hall sensor. Swapping cables is more likely to be catastrophic than not.
Painted connectors and matching cables matching colors with some of Meb's nail polish. Still did it wrong once and had to replace stuff.
Use different connectors (something compatible with APA102 strings out of the box would be even nicer).