Gray Matter LogoGray Matter Workshop

Hardware Setup

New to Robot Hardware? Start Here!

Think of your robot like a remote control car, but much smarter. Just like a car needs:

  • Motors - like the wheels that make it move
  • Controllers - like the remote control that tells motors what to do
  • Sensors - like a speedometer that tells you how fast you're going
  • A brain - like the electronics inside that process everything

This page explains the specific robot parts you'll use in this workshop and what each one does. Don't worry if terms like "CAN bus" or "encoder" sound confusing - we'll explain everything in simple terms!

Hardware Setup - Building the Foundation

Overview of the motors, sensors, and controllers you'll connect for this workshop.

Key Concept: Solid hardware configuration enables precise and reliable robot control.

Hardware Components

Kraken Motor

Kraken X44 Brushless Motor

What it is: A powerful motor with a built-in "brain" (controller) that makes it smart. Instead of just spinning when you apply power, it can precisely control how fast it spins and exactly where it stops.

Why it's special: Most motors need a separate controller box. The Kraken has the controller built right in, making wiring simpler and saving space on your robot.

What you need to know:

  • Strong enough to lift heavy arms and spin flywheels
  • Spins up to 100 times per second (very fast!)
  • Has built-in position sensing so it knows exactly where it is
  • Communicates with your code through a wire called CAN bus
CANcoder

CANcoder – Position Sensor

What it is: A sensor that measures exactly where a rotating part is positioned. It can tell you "the arm is at 45 degrees" with high precision.

Why you need it: The encoder built into your motor gets set to 0 degrees when it is turned on. This can cause issues if you don't start the arm in the same position. However, the CANcoder uses a magnet and is able to remember its position.

What you need to know:

  • Remembers position even when robot is turned off (absolute position)
  • Mounts directly on rotating shafts
  • Connects through CAN bus like the Kraken motor
  • Works with hex shafts commonly used in FRC
CANivore

CANivore – Communication Hub

What it is: A device that creates a high-speed "conversation network" for all your robot parts. Think of it like a Wi-Fi router, but instead of connecting phones and laptops, it connects motors and sensors.

Why you need it: Just like you can't have 10 people all talking at once in a small room, robot parts need an organized way to communicate. The CANivore gives them a fast, reliable connection so they can all talk to your computer without getting confused. Often times needed with swerve as roboRIO would be overwhelmed with data.

What you need to know:

  • Connects to your computer via USB cable
  • All motors and sensors plug into this with CAN wires
  • Has LED lights that show if everything is working correctly
  • Allows for faster communication than roboRIO

Why We Choose CTRE Hardware

CTRE's Unique Advantages

Full PID Control

Complete PID implementation with kP, kI, kD, and advanced filtering options that other vendors don't provide.

Feedforward (FF)

Built-in feedforward control for gravity compensation and velocity control that competitors lack.

Motion Profiling

Advanced Motion Magic and motion profiling capabilities for smooth, controlled movements.

Rotations Units

Motor positions measured in intuitive rotations instead of confusing encoder ticks or radians.

Connecting to Your Device

Important Setup Steps

  1. Plug the computer into CANivore
  2. Make sure the "CANivore USB" is checked
  3. Change "Team # or IP" to "localhost"
  4. Your CANivore should now appear in Phoenix Tuner
  5. For this workshop, please name your CANivore: "canivore"

Updating Your CTRE Products

Using Phoenix Tuner

Open Phoenix Tuner and connect to your robot

If you have issues connecting to your robot,view this guide

Batch update all products of the same model

Select one of the devices and then click the batch update icons

Verify Updates

The device cards will be green if the firmware is the latest

Motor Update Process & Status Colors

How to Update Motors

Use Phoenix Tuner to update your motor firmware. Select devices and use the batch update feature to ensure all motors are running the latest firmware version.

Card Colors

The color of the device cards is helpful as a visual indicator of device state. The meaning of the card color is also shown as text underneath the device title.

ColorDescription
Green
Device has latest firmware.
Purple
Device has an unexpected/beta firmware version.
Yellow
A new firmware version is available.
Red
Device has a duplicate ID.
Blue
Failed to retrieve list of available firmware.

Tip

Always update all motors to the same firmware version for consistency and use batch update to save time when updating multiple devices.

Having Issues?

If you are having issues connecting to your CANivore or other devices, make sure to update your CANivore firmware.

Let's Run Some Motors!

Testing Motor Movement

Quick Test Steps:

  1. Open up your motor in Phoenix Tuner
  2. Click Config
  3. Click the three dots
  4. Click Factory Default
  5. Set the drop-down to Voltage Out
  6. Click DISABLED to enable
  7. Apply voltage to test the motor

Safety First

Always start with low voltage values when testing motors. Make sure your mechanism can move freely and won't cause damage.