← All lessons
Electrical foundations · power · measurement

Basics of Electricity.

Before you write code or assemble a chassis, you need power. This is a primer on volts, amps, resistance, and how electricity powers the robot.

Part 1 / The Core Concepts

Volts, Amps, and Resistance

To understand electricity, it helps to imagine water flowing through pipes.

Voltage (Volts) is the water pressure. It's the force that pushes electricity through the circuit. In FRC, your main battery provides about 12 Volts when fully charged. Higher voltage means a stronger push.

Current (Amps) is the amount of water flowing through the pipe. It's the rate of electrical flow. High-power mechanisms like swerve drive motors draw a lot of current (many amps) to generate torque.

Resistance (Ohms) is the size of the pipe. A thinner pipe restricts flow (higher resistance), while a thicker pipe lets it flow easily (lower resistance). Bad crimps or thin wires create resistance, which limits current and wastes energy as heat.

Widget 01 — Push, path, flowvoltage · resistance · current
Voltage · the push
6 V
Resistance · the squeeze
3.0 Ω
Current · the result
2.0 A

Try 1: Keep resistance still and raise voltage—the charges move around the loop faster. Try 2: Keep voltage still and raise resistance—the narrow section fights the flow, so current falls. Current is the outcome of push meeting a path.

Where the water analogy stops: wires are already full of movable charge. The battery does not have to send one electron all the way to the motor; its electric field pushes charges throughout the circuit, more like pushing one end of an already-full tube of marbles.
Part 2 / The Relationship

Ohm's Law: V = I × R

Voltage (V), Current (I), and Resistance (R) are mathematically linked by Ohm's Law. It states that the voltage required to push current through a circuit equals the current multiplied by the resistance.

V I R
The Ohm's Law Triangle. Cover the value you want to find. V = I × R, I = V ÷ R, and R = V ÷ I.
V = I × R
I = V ÷ R
R = V ÷ I
V voltage difference, measured in volts (V) I current, measured in amperes or amps (A) R resistance, measured in ohms (Ω) The three forms are the same relationship rearranged. Change any two values and the third is determined.

If resistance stays the same, pushing harder (more volts) creates more flow (more amps). If you need more amps to a motor, you apply more voltage (or reduce resistance by using proper wiring).

Part 3 / How We Measure

Multimeters and Logging

To measure these on a robot, we use different tools:

Measuring Voltage: We measure voltage across a component (in parallel) using a multimeter. The RoboRIO and Power Distribution Panel (PDP/PDH) also constantly log the total battery voltage so you can see if your battery is dying.

Measuring Current: We measure current flowing through a wire (in series or via a clamp meter). Modern FRC components like the PDH and smart motor controllers (like Spark MAX or Talon FX) have built-in current sensors. You can check the dashboard to see exactly how many amps each motor is drawing.

Measuring Resistance: Measured with a multimeter while the circuit is powered OFF. You can use this to check if a wire has a break in it (infinite resistance) or a good connection (near zero resistance).

Widget 02 — Series or parallel?how robot loads connect
Voltage per load
12.0 V
Total current
9.0 A
Equivalent resistance
1.33 Ω

Try 1: Add loads in parallel: each still gets the full 12 V, but total current rises because the battery has more paths to feed. Try 2: Switch to series: one path forces the loads to share the 12 V. FRC power-distribution branches are parallel so one mechanism does not steal another's voltage.

Meter safety: voltage is measured across a component; current is measured through the circuit. Putting a meter in current mode directly across a battery creates a near-short circuit. Resistance mode supplies its own tiny test signal, so only use it on an unpowered circuit.
Part 4 / The Power Source

Battery Behavior & Internal Resistance

Your robot runs on a 12V Lead-Acid battery. However, batteries are not perfect voltage sources. Inside the battery itself, there is a small amount of internal resistance.

Because of Ohm's Law, when you pull a massive amount of current (Amps) out of the battery, that internal resistance causes a voltage drop inside the battery before the electricity even reaches your RoboRIO. This means the 12V battery might only output 8V or 9V while under heavy load (like a pushing match or sudden acceleration).

As the battery discharges over a match, its baseline voltage drops, and its internal resistance increases, making this voltage drop even more severe. This is why you must swap to a fresh battery before every match.

Widget 03 — The battery under loadvoltage sag · wasted heat
Open-circuit voltage
12.5 V
Voltage at the robot
10.3 V
Heat inside battery
259 W

Try 1: Raise robot current and watch usable voltage shrink. Try 2: Make the battery condition worse—the same current now causes more sag and heat. Try 3: Set current to zero: hidden resistance costs almost nothing until current flows.

Vrobot = Vopen − I × Rinternal
Pheat = I² × Rinternal
V_robot voltage available to the robot while current is flowing V_open battery voltage with almost no load I total current drawn by the robot R_internal effective resistance hidden inside the battery and main connections P_heat power wasted as heat before it reaches the robot The widget is a teaching model. A real battery's voltage and resistance change with charge, temperature, age, and recent load.
Part 5 / Effect on the Robot

Why it matters on the field

Every mechanism on your robot turns electrical power into mechanical power. Power (Watts) is simply Volts multiplied by Amps (P = V × I).

P = V × I
P electrical power, measured in watts (W) V voltage across the device I current through the device Power is the rate of doing work. A motor needs both push and flow to deliver serious mechanical output.

When multiple motors draw high current at once (like accelerating a heavy chassis), the total current can exceed what the battery can instantly provide. This causes the battery voltage to "droop" or drop temporarily (from 12V down to maybe 8V or 9V). If the voltage drops too low (around 6.5V), the RoboRIO will protect itself and reboot—this is called a brownout.

Understanding these basics helps you prevent brownouts by using current limits in code, wiring your robot cleanly to minimize resistance, and ensuring you always hit the field with a fully charged battery.