Control Connections
Last updated
Last updated
The SPARK MAX can be controlled by three different interfaces, servo-style PWM, controller area network (CAN), and USB. The following sections describe the physical connections to these interfaces in detail. For details on the operation and protocols of the PWM, CAN, and USB interfaces, please see the section on Control Interfaces.
The CAN/PWM Port is located on the power input side of the SPARK MAX. This port can be connected to either a servo-style PWM signal or a CAN bus with other devices. Connector details can be found below.
Connector Pin
CAN Function
PWM Function
1
CAN High
Signal
2
CAN Low
Ground
3
CAN High
Signal
4
CAN Low
Ground
Description
Manufacturer
Part Number
Vendor
Vendor P/N
JST-PH 4-pin Housing
JST
PHR-4
DigiKey
JST-PH Contact
JST
SPH-002T-P0.5L
DigiKey
Recommended Crimping Tool
IWISS
SN-2549
Amazon
Identical-function pins are electrically connected inside the SPARK MAX, therefore the CAN daisy-chain is completed internally and any two signal and ground pairs can be used for PWM.
The USB-C Port is located on the power input side of the SPARK MAX. It supports USB 2.0 and 5V power for the SPARK MAX's internal microcontroller. While you can configure the SPARK MAX without main power, you will not be able to spin a motor.