A { Serial (RS-232):
The photo shows the pin numbers in the plastic
| 5 | 4 | 3 | 2 | 1 |
| 9 | 8 | 7 | 6 |
B { PXL/TB-12 (6pin):
The photo angle is from the "front", left to right
| 1 | 2 | 3 | 4 | 5 | 6 |
| Serial: | TB-12: |
|---|---|
| A5 | B1 |
| A3 | B5 |
| A2 | B6 |
For my usage:
pin5 - yellow
pin3 - green
pin2 - red