Electronics / Theory / Resistors
Theory 02

Resistors The component that makes everything else safe to use. Three jobs — limit current, divide voltage, define a logic level — cover almost every resistor you will ever place.

needs Fundamentalsdivider calculator
Tier 0 · Groundwhat it does

Three jobs

Module 0.1

Limit, divide, define

Recognise which job a resistor is doing and its value makes sense
  1. Current limiting — in series with an LED, or a transistor base. The resistor takes the leftover voltage and turns it into a defined current.
  2. Voltage division — two resistors making a lower voltage from a higher one, or converting a sensor's resistance into a readable voltage.
  3. Pull-up / pull-down — holding a logic input at a defined level so it is never floating. Almost always 10kΩ; the exact value barely matters.

A resistor converts electrical energy into heat in proportion to current squared. That is its entire physics, and it is why the power rating exists.

Module 0.2

Reading values

Bands, E12 series, tolerance, power rating
// 4-band: digit digit multiplier tolerance
brown black red  gold  = 1  0  ×100 ±5%  = 1000Ω = 1k
red   red   brown gold = 2  2  ×10  ±5%  = 220Ω

0 blk  1 brn  2 red  3 org  4 yel  5 grn  6 blu  7 vio  8 gry  9 wht

Honestly, most people stop decoding bands and measure with a multimeter or buy a kit in labelled compartments. Do the latter, and keep it sorted from day one — loose mixed resistors are a genuine time sink and the reason many kits go unused.

PropertyWhat to know
E12 seriesAvailable values are 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82 and their decades. There is no 237Ω — you round to 220Ω or 240Ω.
Tolerance±5% (gold) or ±1% (brown). Irrelevant for LED limiting; relevant in dividers and timing.
Power rating0.25W is standard and fine for logic-level work. Check P = I²R whenever current exceeds ~30mA.
SMD markingThree digits: first two are significant, third is zeros. 103 = 10 followed by 3 zeros = 10kΩ.
Tier 1 · Mechanicsthe divider

Voltage dividers

Module 1.1

The circuit you will draw a thousand times

And the two things it cannot do
Vin │ [R1] ├──── Vout = Vin × R2 / (R1 + R2) [R2] │ GND
// dropping a 5V signal to 3.3V for an input pin
R1 = 1.8k, R2 = 3.3k
Vout = 5 × 3300 / (1800 + 3300) = 3.24V

Voltage divider calculator

The two limitations that matter

  • A divider is not a power supply. It only holds its output voltage when whatever you connect draws negligible current compared with the divider itself. Feeding a high-impedance input pin: fine. Powering a module: it will sag and misbehave. Use a regulator. The calculator above shows exactly how much a load pulls the output down — try entering 1000Ω.
  • Current is always flowing through the divider, wasting power continuously. Very low values waste battery; very high values (above ~100kΩ) become noise-sensitive and are affected by the input they feed. For general use, keep the total in the 1kΩ–100kΩ range.
Module 1.2

Sensor dividers and pull-ups

Turning resistance into something a chip can read

Replace one resistor with a variable one — a thermistor, LDR or potentiometer — and the output voltage tracks a physical quantity, ready for an ADC input.

Choosing the fixed resistor: pick a value near the sensor's mid-range resistance. An LDR that swings 1kΩ (bright) to 100kΩ (dark) pairs well with about 10kΩ — that places the useful range in the middle of the ADC's span rather than squashed at one end.

Pull-ups and pull-downs

PULL-UP PULL-DOWN +3.3V signal ──┬── to pin │ │ [10k] [10k] │ │ pin ─┴── switch ── GND GND reads HIGH until pressed reads LOW until driven high

Without one of these, an unconnected input pin picks up stray charge and reads randomly — which looks exactly like a flaky sensor or a software bug. Most microcontrollers have internal pull-ups you can enable in one line of code; use them and save a component.

Drill 1

You build a 5V-to-3.3V divider with 1.8k and 3.3k, and use it to power a small 3.3V sensor module. The sensor behaves erratically. Why?

It is not a power supply. The ratio is right for a no-load signal, but as soon as the module draws current it appears in parallel with R2, dropping the output. A divider is fine for level-shifting a signal into a high-impedance input, but powering anything needs a regulator (an AMS1117-3.3 module costs almost nothing). Enter a load in the calculator above to see the collapse for yourself.
Tier 4 · Failhow it goes wrong

Failure modes

Module 4.1

What a dead resistor tells you

Usually a symptom, not a cause
  • Discoloured, then open circuit — overloaded. It ran beyond its power rating, and the smell is memorable. Before replacing it, work out why more current flowed than you intended.
  • Reads as zero ohms in circuit — you are probably measuring a parallel path through the rest of the board, not the resistor. Lift one leg or measure with power off and the component isolated.
  • Value drifts when hot — normal, small, and only matters in precision timing or measurement circuits.
Choosing the power rating deliberately: compute P = I²R, then pick a part rated at least twice that. Derating is not paranoia — a resistor at exactly its rating runs hot enough to discolour boards and shift its own value.
Referencesearchable

Glossary