Located on the motor output side of the SPARK MAX is a 6-pin Encoder Port. This port is designed to accept the built-in hall-encoder from the NEO Brushless Motor, but it can also connect to other external encoders when running in Brushed Mode. The connector details can be found below.
The SPARK MAX can be configured to run in Alternate Encoder Mode, which reconfigures the Data Port on the top of the controller to accept an alternative quadrature encoder in addition to the Encoder Port.
Connector Pin
Pin Type
Pin Function
1
Power
Ground
2
Digital
Encoder C / Index
3
Digital
Encoder B
4
Digital
Encoder A
5
Analog
Motor Temperature
6
Power
+5V
Description
Manufacturer
Part Number
Vendor
Vendor P/N
JST-PH 6-pin Housing
JST
PHR-6
DigiKey
JST-PH Contact
JST
SPH-002T-P0.5L
DigiKey
Recommended Crimping Tool
IWISS
SN-2549
Amazon