Spark max controller _rev. The following sections describe the physical connections to these interfaces in detail. Getting Started with SPARK MAX SPARK MAX Firmware Updates The SPARK MAX can be controlled by three different interfaces, servo-style PWM, controller area network (CAN), and USB. The following procedure requires a small The SPARK MAX Data Port Breakout Board makes it easy to connect external sensors to the SPARK MAX Data Port. It is possible to damage the SPARK MAX, the motor, or both if the appropriate motor type isn't configured properly. Analog Input Issue - Affects Rev. REV was founded in 2014 to bring new SPARK MAX Motor Controller Using Encoders with the SPARK MAX Securing the Encoder Adapters The Encoder Adapters and SPARK MAX Data Port Breakout Boards can be secured to a SPARK MAX in two ways. The NEO Vortex Brushless Motor (REV-21-1652) is a high-power, high-performance, and high-resolution sensored brushless motor from REV Robotics. This webpage has all the information needed to use the Spark MAX but we will go over the relevant information below. Spark Swerve Template AdvantageKit includes two swerve project templates with built-in support for advanced features: High-frequency odometry On-controller feedback loops Physics simulation Automated characterization routines Dashboard alerts for disconnected devices Pose estimator integration Step-by-step setup and tuning instructions with a prebuilt AdvantageScope layout Deterministic replay We updated the firmware on our spark maxes and now they suddenly don't work at all - they don't put out any light and we can't communicate via the rev hardware client. The SPARK Flex and SPARK MAX do not have any support for more complex physics-based Feed Forward models, but do include a means of applying an arbitrary voltage which can be calculated in your team code and passed to the API. 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, separate from the default encoder inputs shared between the front Encoder Port and the default quadrature encoder Data Port pins. For more details on the physical connections, see Control Connections. The SPARK MAX can be controlled by three different interfaces, servo-style PWM, controller area network (CAN), and USB. The SPARK MAX is the brushless version of SPARK Motor Controller family. Jan 12, 2024 · This is a bolt-on mount for REV Robotics Spark MAX motor controllers. REV Robotics SPARK MAX Motor %Controller. Jul 15, 2025 · The Spark Max is the only Motor Controller that is both brushed and brushless compatible. Users can test prototypes and SPARK MAX is designed to drive 12V brushed and brushless DC motors at currents up to 60A continuously. When in Brushless Mode, these Data Port pins cannot be used with an @Override public void robotInit () { /** * SPARK MAX controllers are intialized over CAN by constructing a CANSparkMax object * * The CAN ID, which can be configured using the SPARK MAX Client, is passed as the * first parameter The SPARK Flex (REV-11-2159) is a new smart motor controller from REV Robotics. SPARK MAX has a built-in recovery mode that can force it to accept new firmware even if the controller seems to be bricked. Using this feature requires the following: The SPARKmini Motor Controller is an inexpensive in-line brushed DC motor controller designed to offer the same performance characteristics as the Control Hub (REV-31-1595) or Expansion Hub (REV-31-1153) motor ports in a small 60mm x 22mm footprint. SPARK MAX is designed for use in the _FIRST_® Robotics Competition (FRC), incorporating advanced motor control in a small, easy-to SPARK MAX is the newest member of the SPARK Motor Controller family. SPARK MAX shares these signals with the Encoder Port on the output side of the controller, therefore the Index signal is shared with the third brushless encoder signal C. These values should work reasonably well for most controllers, but if users experience issues such as asymmetric behavior around the deadband or inability to saturate the controller in either direction, calibration is recommended. PARK MAX is the newest member of the SPARK Motor Controller family. The SPARK Motor Controller (REV-11-1200) was a 12V 60A PWM-controlled brushed DC motor controller designed for FIRST Robotics Competition robots. Set(0. Contribute to REVrobotics/SPARK-MAX-Examples development by creating an account on GitHub. Common applications include driving wheels, arms, lifts, and other robotic mechanisms. Each wire runs approximately 15cm from the end faces of the controller. These can be configured via the MAXMotion Parameters, setting a target acceleration and a "cruise" velocity. Legacy Documentation SPARK MAX Client SPARK MAX Client Troubleshooting This is legacy documentation for our discontinued SPARK MAX Client Software. revrobotics. Header #include <rev/CANSparkMax. Building on the robust foundation of the original SPARK, the SPARK MAX Motor Controller incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connectivity. Every motor controller is situated close to the motor due to the necessary information needed from the encoder wires and to provide for better wire management. Learn how to use the SPARK MAX Motor Controller with detailed documentation, including pinouts, usage guides, and example projects. SPARK MAX Motor Controller Make sure that the SPARK MAX is not being used by another application, such as the REV SPARK MAX Client Unplug the SPARK MAX from the computer and plug it back in SparkMax class rev. Building on the robust foundation of the original SPARK, the SPARK MAX Motor Controller incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connectivity. Description What's in the Box? Specifications Documentation Building on the robust foundation of the original, SPARK MAX incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connect Jan 9, 2016 · The Spark features 60A continuous current with passive cooling, bi-directional limit switch inputs for smart mechanism control, an RGB LED status indicator, and a button-activated brake/coast mode. Configuring a SPARK MAX and SPARK Flex differs from other devices in REVLib with the addition of the persistMode parameter in their configure() methods, which specifies whether the configuration settings applied to the device should be persisted between power cycles. This object is specific to each motor and contains all the methods needed to control your motor with closed-loop control. Building on the robust foundation of the original, SPARK MAX incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connectivity. Are you using the Spark Max controller? Or a generic brushless esc? Unless im misunderstanding your question as far as im aware the encoder itself doesnt utilize CAN bus communication, just the spark max controller. For details on the operation and protocols of the PWM, CAN, and USB interfaces, please see the section on Control Interfaces. Using a test bed is an easy way to get started with using the SPARK MAX and verify connections and code. SPARK MAX Motor Controller SPARK MAX Getting Started Basic Configurations SPARK MAX has many operating modes that can be configured through its CAN and USB interfaces. A Only Due to a manufacturing issue the analog scaling is not working as intended. SPARK MAX Motor Controller Using Encoders with the SPARK MAX Calibration for MAXSwerve Before using the MAXSwerve Java or C++ Templates, be sure to calibrate your swerve modules using the REV Hardware Client by following the steps below: The SPARK MAX Motor Controller is your first step for getting advanced brushed and brushless DC motor control in a small, easy-to-use package. For more information see the SPARK MAX User's Manual. getEncoder(). The Smart Motion Example Program is a good tool for tuning this control loop, as it allows you to toggle between Smart Motion and Velocity control to fine-tune the constants and parameters. Bolt-on mount or tie wrap fastened for REV Robotics Spark MAX motor controllers. SPARK MAX Motor Controller SPARK MAX Specifications The following tables provide the operating and mechanical specifications for the SPARK MAX Motor Controller. Dec 19, 2021 · This is a REV Spark Max motor controller mount designed to fit a Swerve Drive Specialties MK4 Swerve Module. Then tighten the zip-tie to secure. I really like the simplicity and clean look of the Falcon 500 package. The REV Robotics SPARK MAX Motor Controller (REV-11-2158) is an all-in-one USB, CAN, and PWM enabled motor controller that can drive both 12 V brushed and 12 V brushless DC motors. If you are interested in running a SPARK MAX via a computer, please see our newer documentation: Getting Started with the REV Hardware Client. The motor controller is secured using clips that securely hold the motor controller to the base. */ motorConfig = new SparkMaxConfig (); /* * Configure the encoder. SPARK MAX Motor Controller Using Encoders with the SPARK MAX Absolute Encoders The SPARK MAX does not need to be configured to a specific mode to accept input from an absolute encoder as long as the encoder is connected to the SPARK MAX Data Port. View and Download REV Robotics SPARK user manual online. The encoder should just be a standard 3 phase encoder connection. Persisting parameters involves saving them to the SPARK controller's memory, which is time-intensive and blocks communication Installing REVLib For information about installing and updating REVLib for use with the SPARK MAX Motor Controller, see our documentation. It featured 60A continuous current with passive cooling, bi-directional limit switch inputs for smart mechanism control, an RGB LED status indicator, and a button-activated brake/coast mode. Run the installer and click through the install process. Using the PWM Output with Spark Max # The Canandmag easily integrates with the REV Spark Max motor controller, offering closed loop control feedback. The SPARK MAX Motor Controller includes a Smart Current Limit feature that can adjust the applied output to the motor to maintain a constant phase current. RUn the program and check the “About” tab to see if there are any updates available. For the initial bring up of the SPARK MAX a test bed with a single SPARK MAX, a brushless or brushed motor, and a properly wired Power Distribution Panel with breaker is recommended. When updating the firmware on the SPARK MAX, it is possible for the process to be interrupted or for the firmware to be corrupted by a bad download. Designed to work seamlessly with the 3in MAXSwerve Module, this bundle delivers reliable performance and smooth control, making it an excellent choice for teams looking for a trusted and familiar Welcome to REV Robotics documentation and thank you for choosing REV for your program! You are a part of a great and growing group of people all working to promote and become the next generation of STEM leaders. SparkMax(deviceID: SupportsInt, type: rev. SPARK MAX Motor Controller SPARK MAX is the newest member of the SPARK Motor Controller family. Using this feature requires the following: Jul 2, 2020 · SPARK MAX is the newest member of the SPARK Motor Controller family. SPARK MAX is a true all-in-one controller that will push the envelope for FRC teams. Analog input is not affected by Alternate Encoder Mode. The SPARK MAX can be controlled over PWM, CAN or USB (for configuration/testing only). SPARK MAX Motor Controller The SPARK MAX is capable of controlling either brushed DC motors or the brushless REV Robotics NEO Brushless Motors. SPARK controller pdf manual download. 5. Perfect for students, hobbyists, and developers integrating the SPARK MAX Motor Controller into their circuits. The following tables shows each state and the corresponding LED color pattern. You will need to print 2 clips for each mount. Example code for SPARK MAX. This version accepts #8 bolts to mount to any flat surface. com/java/com/revrobotics/relativeencoder#setPositionConversionFactor\(double\)) Both the SPARK MAX and SPARK Flex can operate in several closed-loop control modes, using sensor input to tightly control the motor velocity, position or current. The following sections describe the operation and protocols of these interfaces. Mounting your SPARK MAX Motor Controller (REV-11-2158) has never been easier with the help of the SPARK MAX Mounting Bracket. I print the clips using PLA due to its excellent elastic properties, but please feel free to try other materials and post The SPARK Flex Dock will allow a SPARK Flex to control any existing NEO or compatible brushless/brushed DC motor by converting it to a standalone motor controller! Jan 4, 2025 · This control mode takes a setpoint in units of rotations, but the underlying implementation executes a Velocity PID controller, so the PID tuning process will be more like a Velocity controller. all ports are uncovered, the wires come out fine, and there's a slot to see the indicator lights as we Get the Derivative Gain constant of the PIDF controller on the SPARK MAX. Test prototypes and tune parameters without needing the full control system, only using a computer running the REV Hardware Client and a USB C Cable! SPARK MAX Firmware Version 1. Because of this, there are two separate device classes in REVLib: SparkMax and SparkFlex. They can be controlled with the rev::CANSparkMax class. This is set on the motor controller using [`CANSparkMax. Brushless motors like the NEO 550 can ONLY be driven using brushless motor controllers, and will be damaged if used incorrectly. Additionally, the following basic operating modes can be configured with the MODE button located on the top of the SPARK MAX: The SPARK Flex and SPARK MAX do not have any support for more complex physics-based Feed Forward models, but do include a means of applying an arbitrary voltage which can be calculated in your team code and passed to the API. Note that the SPARK MAX uses the following bounds for PWM values. The SPARK MAX is capable of controlling either the traditional brushed DC motors commonly used in FRC or the new brushless REV Robotics NEO Brushless Motor. SparkMax motor controller is produced by REVRobotics, it can use on both brushed and brushless motors. SPARK MAX Client This is legacy documentation for our discontinued SPARK MAX Client Software. Other features include: Smart control I'm from team 8880, TerraCyborgs, and I'll be demonstrating how to configure a Spark Max. The Quadrature Encoder Input on the Data Port is compatible with standard quadrature encoder signals, usually labeled as channel A, channel B, and Index. MotorType) Bases: SparkBase Create a new object to control a SPARK MAX motor Controller Parameters: deviceID – The device ID. DO NOT exceed the maximum electrical specifications. Take a look at the troubleshooting tips below for help in determining the cause of the issue you are seeing. Find 631393 spark max motor controller 3D models for 3D printing, CNC and design. We were wondering if there was a way to hard reset them without using the client, or if there was any other way of getting them to work. type – The motor type connected to the controller. For this specific example, we are using the * integrated encoder of the NEO, and we don't need to configure it. SPARK MAX Motor Controller SPARK MAX Troubleshooting Many issues can be solved by systematic troubleshooting without needing to contact REV Support. Update, configure, and test your SPARK MAX Motor Controller with the SPARK MAX Client application. Configured with a hole pattern compatible with a 1/2in grid and allowing the mode and status light to be seen, this bracket is your number one solution to an organized and easily adjustable electrical system. Brushless motor wires must be connected to their matching colors, and the hall sensor must be plugged in. 0 includes a USB-to-CAN Bridge feature that allows a single USB-connected SPARK MAX to act as a bridge to the entire CAN bus it is connected to. SparkMax Motor Controller Introduction # SparkMax motor controller is produced by REVRobotics, it can use on both brushed and brushless motors. To configure the Spark MAX motor controllers, please download the REV Hardware Client. SparkLowLevel. When docked to an adapter, the SPARK Flex can control any existing NEO or compatible brushless/brushed DC motor. a mount for spark max motor controllers for FRC it's close fit, so the spark max won't move around at all and the holes are fit for 8-32. Every configurations is not required, you can config all the settings you need (It will use the default or previous settings if not set) check out the references: Closedloop Contol Configuring SparkMax. MAXMotion Position Control is a second-degree closed loop controller, allowing for smooth and consistent motions from one position to another by limiting both the velocity and acceleration of the motor. The USB interface (USB-C) is largely for configuration and control, allowing teams to test prototypes and tune controller settings without having to write full-scale code. Software API: REVLib. Improving upon the foundation of the SPARK MAX, new features include 3-phase current sensing, reverse polarity protection, and an expanded Data Port with additional interfaces. The motor will spin up, honoring the acceleration target, hold speed at the cruise 4) Slide the power input side of both SPARK MAX Motor Controllers into the zip-tie loop so that the power and ground wires are facing away from the MAXSwerve Module and the data port on the top is facing away from the SPARK MAX Mounting Bracket. Users can test Gear-driven azimuth drive Firmware available for the SPARK MAX that enables absolute encoder input Allows for closed-loop control of the module on the motor controller Included calibration tool Calibration values can be saved to the SPARK MAX, making modules interchangeable without updating robot code APIs in REVlib for swerve functions This will store the * configuration parameters for the SPARK MAX that we will set below. Here at REV Robotics, a majority of our staff are FIRST Alumni and have been personally involved in STEM Education and FIRST for several years. Out of the box, the SPARK MAX's Smart Current Limit default setting is 80A for any motor that you use. NEO has been optimized to work with REV SPARK MAX Motor Controller (REV-21-2158) to deliver incredible performance and feedback. Never before has an FRC motor controller featured a built-in USB interface for configuration and control. The SparkMAX allows you to test the motor controller PID, run the motor at a set percentage, and update the firmware all from the REV Hardware Client. The USB port is goBILDA 5203 Series Yellow Jacket Motor 6000 RPM 135 $ NEO Brushless Motor V1. If a NEO or SPARK MAX failed, you could replace the individual component. For additional information on the SPARK MAX Data Port, please take a look at the SPARK MAX User's Manual. 4) Slide the power input side of both SPARK MAX Motor Controllers into the zip-tie loop so that the power and ground wires are facing away from the MAXSwerve Module and the data port on the top is facing away from the SPARK MAX Mounting Bracket. It can be accessed as shown below: Building on the robust foundation of the original SPARK, the SPARK MAX Motor Controller incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connectivity. Brushed motors must be Closed-loop control in REVLib is accessed through the SPARK's closed loop controller object. | Download free 3D printable STL models Create a new object to control a SPARK MAX motor Controller Parameters Building on the robust foundation of the original SPARK, the SPARK MAX Motor Controller incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connectivity. It features a dockable controller interface that can be mounted directly to the SPARK Flex Motor Controller or our NEO Vortex Solo Adapter allowing control from any brushless motor controller like the SPARK MAX Motor Controller. It is capable of controlling brushless and brushed DC motors, offering high performance and a wide range of features. Additional SPARK MAX devices connected via CAN to the USB Host SPARK MAX are visible when using the latest firmware. The SPARK MAX Motor Controller from REV Robotics is a variable speed motor controller for use in FRC. Doing so will cause permanent damage to the SPARK MAX and will void the warranty. The SPARK Flex (REV-11-2159) is a new smart motor controller from REV Robotics. Software API: REVLib Motor Definition # Improving upon the foundation of the SPARK MAX Motor Controller, new features include 3-phase current sensing, reverse polarity protection, and an expanded Data Port with additional interfaces. Its through On the other hand, the NEO plus a SPARK MAX was significantly cheaper at $48 for the motor and $90 for the controller. The Spark Max includes a USB C port which is the easiest way to interface with individual Spark Maxes. 1 137,5 $ NEO 550 Brushless Motor 80 $ SPARK MAX Motor Controller 260 $ CANivore 870 $ Pigeon 2. Spark Maxes can be connected to when unpowered or completely disconnected from the robot or battery when connected over USB. This allows for configuration and simultaneous updating of multiple SPARK MAX controllers without having to connect to each one individually. The Canandmag’s PWM output can be read by the Spark Max without the need of any intermediate adapter boards. Installation of the REV Hardware client is required to use the SparkMAX for YAGSL. Its dockable form factor allows for direct mounting onto a NEO Vortex (REV-21-1652), simplifying wiring while maintaining flexibility. 0 580 $ CANcoder 200 $ SPARK MAX Motor Controller SPARK MAX Operating Modes Brushed/Brushless Mode - Motor Type Brushed and brushless DC motors require different motor control schemes based on the differences in their technology. The wires are 12AWG ultra-flexible silicone-coated wire. All SPARK MAX Motor Controllers comes with a USB C to USB A cable. The USB port is SPARK MAX Motor Controller SPARK MAX Status LED Patterns SPARK MAX will indicate important status information on its multi-colored STATUS LED located on the top of its case. SPARK MAX Motor Controller SPARK MAX Status LED Patterns SPARK MAX will indicate important status information on its multi-colored STATUS LED located on the top of its case. Description What's in the Box? Specifications Documentation Building on the robust foundation of the original, SPARK MAX incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, and USB connect SPARK MAX Firmware Version 1. Thanks in advance! The SPARK MAX is the brushless version of SPARK Motor Controller family. Power and motor connections are made through the two sets of wires built into the SPARK MAX. The REV Robotics SPARK MAX Motor Controller is an all-in-one USB, CAN, and PWM enabled motor controller that can drive both 12 V brushed and 12 V brushless DC motors. The internal control loop follows a standard PID algorithm with a feed-forward (F) term to compensate for known system offsets. In this state, the Status LED will be dark and the SPARK MAX will fail to operate. With a Falcon 500, failure meant replacing the entire device, motor and controller. When Power your 3in MAXSwerve Module with this proven motor and controller setup, featuring the NEO Brushless Motor and SPARK MAX Motor Controllers. Be sure to take care when cutting and stripping the wires as not to cut SPARK Motor Controllers SPARK MAX vs SPARK Flex Generally, the feature sets of the software for SPARK MAX and SPARK Flex are very similar, yet they are still very different devices and should be treated that way in code. The SPARK MAX from Rev Robotics is a member of the SPARK motor controller family, which can support both "brushed" and "brushless" DC motors, and supports PWM, CAN, and USB connectivity. The SPARK MAX Motor Controller (Part ID: REV-11-2158) is a versatile and advanced motor controller designed by REV Robotics for use in robotics, particularly in the FIRST Robotics Competition. NEO 550 has been optimized to work with the SPARK MAX Motor Controller to deliver best-in-class performance and feedback. h> Initialization frc::CANSparkMax motor { 0, rev::CANSparkMax::MotorType::kBrushless }; // kBrushless or kBrushed Percent Output motor. (Which iirc is signal 1, signal 2, signal 3, sensor gnd, vcc, gnd). 5); Idle Mode Requires: 4x SPARK MAX PWM adapters (if using SPARK MAX), 4x PWM cables (if controllers without integrated wires or adapters, otherwise optional), 2x PWM Y-cable (Optional) Option 1 (Direct connect): If using SPARK MAX, attach the PWM adapter to the SPARK MAX (small adapter with a 3 pin connector with black/white wires). QUICK START GUIDE The SPARK Motor Controller is 12V 60A PWM-controlled brushed DC motor controller designed for FIRST® Robotics Competition robots. When Building on the robust foundation of the original SPARK, the SPARK MAX Motor Controller incorporates advanced brushed and brushless DC motor control in a small and easy-to-use package with PWM, CAN, CAN Spark Max CAN Spark Max motor controllers are used to control REV motors, such as Neos or Neo 550s. setPositionConversionFactor()`](https://codedocs. It features a dockable controller interface that can be mounted directly to the SPARK Flex Motor Controller (REV-11-2159) or a NEO Vortex Solo Adapter (REV-11-2828) allowing control from any brushless motor controller, like the SPARK MAX. To get started, make sure you have calibrated the zero offsets for the absolute encoders in the Hardware Client using the Absolute Encoder tab under the associated turning SPARK MAX devices.