Electronics

Fundamentals — voltage, current, resistance, and how circuits work

Three quantities and one equation explain most of what happens in a circuit. Everything else in this notebook — every sensor, every protocol, every peripheral — is these three things arranged in different shapes.

Quick reference
What it is
Voltage (push), current (flow), and resistance (opposition to flow) — related by Ohm's Law, V = I × R.
Mental model
Water in a pipe: voltage is pressure, current is flow rate, resistance is how narrow the pipe is.
Key numbers
V = I × R (Ohm's Law); P = V × I (power); series: current stays the same, voltage splits; parallel: voltage stays the same, current splits.
Reach for it when
Before reading any component datasheet or sensor page — this is the vocabulary everything else assumes.

Electric charge and current direction

Everything here starts with electric charge — a property of electrons (negative) and protons (positive). Current is charge in motion. There's one famous historical wrinkle worth knowing by name: conventional current is defined as flowing from + to − through a circuit, but the electrons actually doing the moving flow the opposite way, − to +. This convention was fixed before anyone knew what an electron was, and it stuck — every schematic, every formula, every datasheet you'll ever read uses conventional current (+ to −), so that's what this page uses too.

Voltage

Voltage is the difference in electrical potential between two points — it's what pushes charge through a circuit, and it's always measured between two points, never at just one.

Symbol
V (sometimes E)
Unit
Volt (V)
Measured
Across a component, in parallel with it

Current

Current is the rate at which charge flows past a point — how much charge per second.

Symbol
I
Unit
Ampere / "amp" (A)
Measured
Through a component, in series with it (the circuit has to be broken to insert a meter)

Resistance and Ohm's Law

Resistance is a material's opposition to current flow. The relationship between all three quantities is Ohm's Law, the single most-used equation in electronics:

V = I × R
I = V / R
R = V / I
Ohm's Law triangle: cover the quantity you want to find, and the other two show how to calculate it V I R
Cover V to see "I × R" left uncovered — that's how to find V. Cover I to see "V over R" — that's I = V/R. A classic mnemonic, still the fastest way to not mix up the rearrangement mid-calculation.

The water analogy

The most common — and genuinely useful — way to build intuition for all three at once:

A water tank under pressure pushing flow through a narrow pipe — pressure is voltage, pipe narrowness is resistance, flow rate is current Voltage electrical pressure Resistance pipe narrowness restricts flow Current rate of flow through the pipe out
Higher voltage (more pressure) or lower resistance (a wider pipe) both push more current — exactly what Ohm's Law says algebraically.

Power

Power is the rate energy is used or dissipated — usually as heat in a resistive component. It matters for battery life, heat dissipation, and component ratings (a resistor rated for less power than it actually dissipates will overheat and fail).

P = V × I
P = I² × R
P = V² / R

A complete circuit

Current only flows in a closed loop — a complete path from a power source's positive terminal, through components, back to its negative terminal. Break the loop anywhere and current stops everywhere, not just past the break.

A battery driving current clockwise through a resistor and an LED in a closed loop Battery + − Resistor LED
Conventional current flows out of the battery's + terminal, through the resistor, through the LED, and back into the battery's − terminal — the resistor limits current so the LED doesn't burn out.

Series vs. parallel circuits

SeriesParallel
CurrentSame through every component (one path)Splits across branches, adds back up
VoltageSplits across components, adds up to the source voltageSame across every branch
Total resistanceRtotal = R1 + R2 + ...1/Rtotal = 1/R1 + 1/R2 + ...
If one component fails openWhole circuit stopsOther branches keep working

The resistor-and-LED loop above is a series circuit — there's only one path, so the same current flows through both the resistor and the LED.

AC vs. DC

Worth knowing

Everything above describes DC (Direct Current) — voltage and current that stay a constant polarity, exactly what a battery or a microcontroller's power rail provides. AC (Alternating Current) — like household mains power — periodically reverses direction, described by a frequency (Hz) in addition to a voltage. Almost everything else in this notebook, from sensors to microcontrollers, operates on DC; AC matters mainly at the power-supply boundary where mains power gets converted down to a stable DC rail.

Real-world applications

Gotchas

Field notes