DC Motor and Encoder (continued)
Motor Number
(noted on motor
board)
Pin Name (from left
to right based on the
image above)
Wire color (if using
provided DC motor)
MXP Pin number
Name in software
(based on MXP A)
1 Encoder B Purple 22 A/ENC.B
1 Encoder A Blue 18 A/ENC.A
1 Encoder Ground Green n/a n/a
1 Encoder VCC Brown n/a n/a
1
Motor + Red
27 – PWM speed
control,
15 – DIO direction
control
A/PWM0
A/DIO2
Motor - Black
2 Encoder B Purple
22 (on opposite MXP
port)
B/ENC.B
2 Encoder A Blue
18 (on opposite MXP
port)
B/ENC.A
2 Encoder Ground Green n/a n/a
2 Encoder VCC Brown n/a n/a
2
Motor + Red
29 – PWM speed
control,
17 – DIO direction
control
A/PWM1
A/DIO3
Motor - Black
42 Electronics Overview and Specications