MyRoboPath
electronics15 min readUpdated 2026-03-08Beginner

What is a Resistor? Working Principle, Color Code Bands & Series-Parallel Circuits

Master standard carbon film and metal film resistors: learn how to decode 4-band and 5-band color rings, calculate series/parallel combinations, and design voltage dividers.

MyRoboPath Engineering Lab
Peer-Reviewed Open-Source Hardware & Firmware Guide

Key Engineering Takeaways

  • Resistors limit current flow, drop voltage, and protect delicate components like LEDs and microcontrollers from burning out.
  • Resistor values are color-coded with standardized bands (Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Gray=8, White=9).
  • Resistors in Series add together: R_total = R1 + R2 + R3.
  • Resistors in Parallel reduce total resistance: 1/R_total = 1/R1 + 1/R2 (Total resistance is always lower than the smallest resistor).
  • A Voltage Divider (V_out = V_in · R2 / (R1 + R2)) is the fundamental circuit for analog sensors (LDRs, thermistors, potentiometers).
Prerequisites
  • Ohm's Law basics (V = I · R)
Required Hardware / Tools
  • Assorted Resistor Kit (100Ω to 1MΩ)
  • 10kΩ Potentiometer
  • Digital Multimeter
  • Breadboard

What is a Resistor & How Does It Work?

A **Resistor** is a passive two-terminal electronic component that implements electrical resistance as a circuit element. Constructed from a ceramic rod coated with a thin film of carbon or metal alloy, the resistor deliberately impedes the flow of electrons, converting excess electrical energy into safe thermal dissipation. ### Core Functions of Resistors: 1. **Current Limiting**: Preventing LEDs and microcontroller pins from drawing destructive currents. 2. **Voltage Division**: Stepping down high voltages to measurable levels for ADC inputs. 3. **Pull-Up & Pull-Down**: Ensuring digital input pins never float in an undefined noisy state. 4. **Timing Circuits**: Establishing RC delay times with capacitors.
Resistor internal construction and through hole components
Figure 3.1: Internal construction of a carbon film resistor and through-hole resistor packages.Visual Guide

How to Read 4-Band & 5-Band Resistor Color Codes

Because through-hole resistors are tiny, printed text would rub off. Instead, standardized colored rings encode the resistance value in Ohms ($\Omega$) and tolerance: ### The Universal Color Code Table: | Color | Digit Value | Multiplier | Tolerance | | :--- | :--- | :--- | :--- | | **Black** | 0 | $\times 10^0$ ($1\,\Omega$) | — | | **Brown** | 1 | $\times 10^1$ ($10\,\Omega$) | $\pm 1\%$ | | **Red** | 2 | $\times 10^2$ ($100\,\Omega$) | $\pm 2\%$ | | **Orange** | 3 | $\times 10^3$ ($1\,\text{k}\Omega$) | — | | **Yellow** | 4 | $\times 10^4$ ($10\,\text{k}\Omega$) | — | | **Green** | 5 | $\times 10^5$ ($100\,\text{k}\Omega$) | $\pm 0.5\%$ | | **Blue** | 6 | $\times 10^6$ ($1\,\text{M}\Omega$) | $\pm 0.25\%$ | | **Violet** | 7 | $\times 10^7$ ($10\,\text{M}\Omega$) | $\pm 0.1\%$ | | **Gray** | 8 | $\times 10^8$ | — | | **White** | 9 | $\times 10^9$ | — | | **Gold** | — | $\times 0.1$ | $\pm 5\%$ | | **Silver** | — | $\times 0.01$ | $\pm 10\%$ | ### Example: Reading a 4-Band Resistor (Brown - Black - Red - Gold) 1. **1st Band (Brown)** = $1$ 2. **2nd Band (Black)** = $0$ $\to$ Digits: **$10$** 3. **3rd Band (Red Multiplier)** = $\times 100$ 4. **4th Band (Gold Tolerance)** = $\pm 5\%$ $$\text{Value} = 10 \times 100 = 1{,}000\,\Omega = 1\,\text{k}\Omega \pm 5\%$$
Resistor color code chart diagram
Figure 3.2: 4-Band and 5-Band resistor color code reading guide from left to right.Visual Guide

Resistors in Series vs Parallel: Complete Math

### 1. Resistors in Series When resistors are connected end-to-end along a single path, current must pass through each one sequentially. The same current flows through all, and resistances simply add together: $$R_{\text{total}} = R_1 + R_2 + R_3 + \dots$$ *Example*: $220\,\Omega + 470\,\Omega + 1000\,\Omega = 1690\,\Omega = 1.69\,\text{k}\Omega$. --- ### 2. Resistors in Parallel When resistors are connected side-by-side across the same two voltage nodes, current divides among branches. The total equivalent resistance drops: $$\frac{1}{R_{\text{total}}} = \frac{1}{R_1} + \frac{1}{R_2} + \frac{1}{R_3}$$ For **two resistors in parallel**: $$R_{\text{total}} = \frac{R_1 \times R_2}{R_1 + R_2}$$ *Example*: Two $100\,\Omega$ resistors in parallel give: $$R_{\text{total}} = \frac{100 \times 100}{100 + 100} = \frac{10{,}000}{200} = 50\,\Omega$$
Series and parallel circuit diagram
Figure 3.3: Current flow comparison in series vs parallel resistor circuits.Visual Guide

Designing Voltage Divider Sensor Circuits

A **Voltage Divider** produces an output voltage that is a fraction of its input voltage: $$V_{\text{out}} = V_{\text{in}} \times \frac{R_2}{R_1 + R_2}$$ If $R_1$ is a Light Dependent Resistor (LDR photoresistor) whose resistance changes from $500\,\Omega$ (bright light) to $100\,\text{k}\Omega$ (darkness), and $R_2 = 10\,\text{k}\Omega$: - **In Bright Light**: $V_{\text{out}} = 5\,\text{V} \times \frac{10\text{k}}{0.5\text{k} + 10\text{k}} \approx 4.76\,\text{V}$ - **In Darkness**: $V_{\text{out}} = 5\,\text{V} \times \frac{10\text{k}}{100\text{k} + 10\text{k}} \approx 0.45\,\text{V}$ This changing voltage is fed directly into an Arduino or ESP32 Analog-to-Digital Converter (ADC) pin to detect room brightness!
Voltage divider circuit schematic
Figure 3.4: Voltage divider circuit using a fixed resistor and variable sensor (LDR/Thermistor).Visual Guide

Frequently Asked Questions

Does resistor orientation matter when inserting into a breadboard?

No! Resistors are non-polarized components. You can connect them in either direction in a circuit without affecting performance.

What happens if a resistor gets too hot?

If the power dissipated (P = I² · R) exceeds its wattage rating (e.g. 0.25W), the resistor body will scorch, change its resistance value permanently, or burn open like a fuse.

Tags:#Basic Electronics#Resistor#Color Codes#Series Circuits#Parallel Circuits#Voltage Divider#Potentiometer