Electronics / Theory / Fundamentals
Theory 01

Fundamentals Four quantities and one equation carry an astonishing amount of weight. Nearly every beginner circuit is Ohm's law plus a datasheet, and most confusion later traces back to a shaky grip on what voltage actually is.

start hereprerequisite for every page
Tier 0 · Groundno assumptions

The four quantities

Learn these precisely now and everything downstream is arithmetic rather than mystery.

Module 0.1

Voltage, current, resistance, power

And where the water analogy lies to you
QuantitySymbol / unitIsWater analogy
VoltageV, voltsDifference in electrical pressure between two pointsPressure difference
CurrentI, ampsRate of charge flow past a pointLitres per second
ResistanceR, ohms (Ω)Opposition to flowA narrow pipe
PowerP, wattsRate of energy conversion, usually into heatWork done per second

Where the analogy misleads. Voltage is always a difference between two points, never a property of one point. "This wire is at 5V" is shorthand for "5V relative to the node we agreed to call ground". And current is not consumed — the same current that leaves a battery's positive terminal returns to its negative one. A circuit must be a complete loop or nothing flows at all.

One more that catches people: a component does not "draw the voltage it needs". A resistor across a supply gets the full supply voltage and the current follows from Ohm's law. Only components with their own internal behaviour — diodes, regulators — impose a voltage of their own.

Module 0.2

Ohm's law and the power law

Six formulas, all rearrangements of two
V = I × R          I = V / R          R = V / I
P = V × I          P = I² × R         P = V² / R

// 5V across a 220Ω resistor
I = 5 / 220        = 0.0227 A = 22.7 mA
P = 5 × 0.0227     = 0.114 W  -> a 0.25W resistor is comfortable

The power calculation is the one beginners skip, and it is the one that decides whether a component survives. Any time current exceeds roughly 30mA, work out the dissipation before you build.

Ohm's law calculator

Fill any two fields; the other two are calculated.

Enter any two values.
Module 0.3

Prefixes and sanity ranges

Read these fluently or every calculation is a coin toss
k  kilo   ×1000        1k5 = 1500Ω   (the k replaces the decimal point)
M  mega   ×1000000     4M7 = 4,700,000Ω
m  milli  ÷1000        20mA = 0.02A
µ  micro  ÷1000000     100µF, 10µH
n  nano   ÷10⁹         100nF = 0.1µF
p  pico   ÷10¹²        22pF
Sanity ranges for hobby work. Logic runs at 3.3V or 5V. An LED wants 5–20mA. A microcontroller pin can source or sink roughly 20mA maximum, and the whole chip has a total limit too. A small motor wants hundreds of milliamps and must never be driven straight from a pin. If your arithmetic lands far outside these, check it before you wire it up.
Tier 1 · Mechanicshow circuits behave

Topology and reference

Module 1.1

Series and parallel

The two arrangements, and what is shared in each
SERIES PARALLEL +9V +9V │ ├──────┬──────┐ [R1] 1k [R1] [R2] [R3] │ ├──────┴──────┘ [R2] 2k │ │ GND GND same CURRENT through both same VOLTAGE across each voltages ADD: 9V = V1 + V2 currents ADD: I = I1 + I2 + I3 R_total = R1 + R2 = 3k 1/R = 1/R1 + 1/R2 + 1/R3

Two shortcuts worth memorising: two equal resistors in parallel give half the value; and a parallel combination is always smaller than the smallest resistor in it. If your parallel arithmetic gives a bigger number, you have inverted something.

// series divider — 9V across 1k and 2k
I = 9 / 3000 = 3mA
V across R1 = 3mA × 1k = 3V
V across R2 = 3mA × 2k = 6V   // they add back to 9V
Module 1.2

Kirchhoff's laws and ground

The whole of basic circuit analysis, informally
  • Current law: whatever flows into a junction flows out of it. Nothing accumulates.
  • Voltage law: going round any loop, the rises and drops sum to zero. A 9V battery's 9V is always fully accounted for across the components in that loop.

If a measurement contradicts either, the circuit is not what you think it is — usually an unintended connection, or an open one.

Ground is simply the node you choose as 0V and measure everything against. It has no cosmic significance; on a battery circuit it is just the negative terminal.

The missing-common-ground fault. Two circuits that must communicate need their grounds connected, or their voltages have no shared reference and signals are meaningless. This is one of the most common reasons a beginner project does nothing at all, and it is maddening because each half measures perfectly fine on its own. If you power a sensor from one supply and the microcontroller from another, tie the negatives together.
Drill 1

Two 1kΩ resistors in parallel, connected across 5V. What is the total current drawn from the supply?

10 mA. Two equal resistors in parallel give half the resistance, so 500Ω across 5V draws 10mA. Sanity check with the other route: each resistor independently sees the full 5V and draws 5mA, and parallel currents add. Both paths agree, which is exactly how you should verify this kind of arithmetic.
Tier 2 · ContextDC, AC, safety

What kind of electricity

Module 2.1

DC, AC and the safety line

Read this before buying anything

DC flows one way at a steady level: batteries, USB, bench supplies — everything you will build at first. AC reverses direction periodically; UK mains is 230V at 50Hz, and audio and radio signals are AC riding on a DC level.

The safety line, stated plainly. Battery and USB work at 3.3V–12V is safe to handle: skin resistance means these voltages cannot push a dangerous current through you. Mains is categorically different and can kill. Do not open mains-powered equipment, do not build anything that plugs into the wall, and do not repair a charger as a first project. Use a sealed, certified USB supply or batteries. Years of worthwhile learning are available below 24V.

Two other things that can hurt you or your house even at low voltage: lithium batteries — a shorted LiPo can vent flame, so never short, puncture or charge one unattended — and large capacitors, which hold charge after power is removed. Neither appears in a first LED project; both appear sooner than people expect.

Referencesearchable

Glossary