Ugenz Academy/IoT Tutorial

Resistors

8 min read1,499 words

Reading progress

Keep learning

Resistors

1. Introduction

A resistor is a passive electronic component that opposes the flow of electric current in a circuit. It is one of the most commonly used components in electronics.

Resistors are used to control current, divide voltage, protect sensitive components, adjust signal levels, and establish operating conditions in electronic circuits.

The resistance of a resistor is measured in ohms (Ω). A higher resistance generally allows less current to flow for a given voltage.

For example, resistors are used with LEDs to limit current, in voltage-divider circuits to produce lower voltages, and in sensor circuits to convert changing resistance into measurable voltage.

2. Working Principle of a Resistor

A resistor works by providing resistance to the movement of electric charge through its material. As current passes through the resistor, electrical energy is converted mainly into heat.

The relationship between voltage, current, and resistance is described by Ohm's law:

V=IRV=IR

Where:

  • VV = voltage across the resistor, measured in volts (V)
  • II = current through the resistor, measured in amperes (A)
  • RR = resistance, measured in ohms (Ω)

The formula can also be rearranged:

I=VRI=\frac{V}{R} R=VIR=\frac{V}{I}

For example, if a 100 Ω resistor is connected across a 10 V supply:

I=10100=0.1,AI=\frac{10}{100}=0.1\\,A

Therefore, the current is 0.1 A, or 100 mA, assuming the resistor behaves according to Ohm's law and the supply maintains 10 V.

3. Main Functions of Resistors

Resistors perform several important functions in electronic circuits.

A. Current Limiting

A resistor limits current to help protect components such as LEDs.

For example, connecting an LED directly across a voltage source without appropriate current limiting can allow excessive current to flow and damage the LED.

A series resistor helps control the current.

B. Voltage Division

Two or more resistors connected in series can divide a supply voltage into smaller voltages.

Voltage dividers are used in sensor circuits, signal conditioning, and measurement systems.

C. Pull-Up and Pull-Down

Pull-up and pull-down resistors establish a defined logic level on a digital input when no other device is actively driving it.

  • A pull-up resistor connects a signal to a positive supply or logic-high reference.
  • A pull-down resistor connects a signal to ground or logic-low reference.

These resistors are commonly used with microcontrollers such as Arduino and ESP32.

D. Biasing

Resistors help establish the correct operating voltage and current for components such as transistors.

Correct biasing allows a transistor to operate in its intended region, such as switching or amplification.

E. Heat Generation

Resistors convert electrical energy into heat. This property is useful in some heating applications, although ordinary electronic resistors are usually selected primarily for their electrical function.

4. Types of Resistors

Resistors are available in different types depending on their construction, accuracy, adjustability, and application.

Royal Ohm CFR01SJ0102A10 1K 5% 1W Axial Carbon Film Resistor | Rapid Electronics

1. Fixed Resistor

A fixed resistor has a resistance value that is designed to remain approximately constant during normal operation.

Common types include carbon-film, metal-film, and wire-wound resistors.

Applications: LED current limiting, voltage dividers, transistor circuits, and general electronics.

WH148 3pin 15mm Rotary Shaft Potentiometer, Linear (B) Taper Pots

2. Variable Resistor

A variable resistor allows its resistance to be adjusted manually or through a mechanical control.

Examples include potentiometers and rheostats.

Applications: Volume control, brightness adjustment, calibration, and adjustable current control.

Capteur Photorésistance LDR 20mm – tuni-smart-innovation

3. LDR (Light-Dependent Resistor)

An LDR changes its resistance according to the amount of light falling on its surface. Its resistance usually decreases as light intensity increases.

Applications: Automatic streetlights, light detectors, and day-night switching circuits.

060421-5 - THERMISTOR NTC DISC/BEAD D=??mm P=??mm 22K 1%

4. Thermistor

A thermistor is a temperature-sensitive resistor.

  • NTC thermistors usually decrease in resistance as temperature increases.
  • PTC thermistors increase in resistance as temperature increases over their specified operating range.

Applications: Temperature measurement, battery protection, and temperature compensation.

MOV 5mm DISC RMS=275 DC=350 S05K275

5. Varistor

A varistor is a voltage-dependent resistive component whose resistance drops sharply when voltage exceeds a particular region.

Applications: Transient voltage suppression and protection against voltage surges.

5. Resistor Color Code

Many through-hole resistors use colored bands to indicate their resistance and tolerance.

Each color represents a digit or multiplier. Some bands indicate tolerance, and certain resistor types have an additional temperature-coefficient band.

Resistor Color Values

ColorDigitMultiplier
Black0×1
Brown1×10
Red2×100
Orange3×1,000
Yellow4×10,000
Green5×100,000
Blue6×1,000,000
Violet7×10,000,000
Grey8×100,000,000
White9×1,000,000,000
Gold—×0.1
Silver—×0.01

Gold and silver are commonly used as multiplier or tolerance bands, not as significant-digit bands.

How to Read a Four-Band Resistor

For a four-band resistor:

  • First band: first significant digit.
  • Second band: second significant digit.
  • Third band: multiplier.
  • Fourth band: tolerance.

Example: Brown, Black, Red, Gold

  • Brown = 1
  • Black = 0
  • Red = ×100
  • Gold = ±5% tolerance

Therefore:

R=10×100R=10\times100 R=1000,Ω=1,kΩ\boxed{R=1000\\,\Omega=1\\,k\Omega}

The resistor is 1 kΩ with a tolerance of ±5%. Its actual resistance, within the specified tolerance under applicable conditions, can range from 950 Ω to 1050 Ω.

Common Resistance Units

UnitEquivalent
1 Ω1 ohm
1 kΩ1,000 Ω
10 kΩ10,000 Ω
100 kΩ100,000 Ω
1 MΩ1,000,000 Ω

6. Resistors in Series

When resistors are connected one after another, they are connected in series.

The total resistance is the sum of their individual resistances:

RT=R1+R2+R3R_T=R_1+R_2+R_3

For example, three resistors of 100 Ω, 220 Ω, and 330 Ω connected in series have a total resistance of:

RT=100+220+330R_T=100+220+330 RT=650,Ω\boxed{R_T=650\\,\Omega}

In a series circuit, the same current flows through every resistor, while the supply voltage is divided across them.

7. Resistors in Parallel

When resistors are connected across the same two electrical nodes, they are connected in parallel.

The total resistance is calculated using:

1RT=1R1+1R2+1R3\frac{1}{R_T}= \frac{1}{R_1}+\frac{1}{R_2}+\frac{1}{R_3}

For two resistors, this simplifies to:

RT=R1R2R1+R2R_T=\frac{R_1R_2}{R_1+R_2}

For example, two 100 Ω resistors connected in parallel have a total resistance of:

RT=100×100100+100R_T=\frac{100\times100}{100+100} RT=50,Ω\boxed{R_T=50\\,\Omega}

For two or more positive resistances connected in parallel, the equivalent resistance is lower than the smallest individual resistance.

8. Resistor Power Rating

A resistor does not only have a resistance value; it also has a power rating. This rating specifies how much power it can dissipate under its specified operating conditions.

Power is measured in watts (W).

The electrical power dissipated by a resistor can be calculated using:

P=VIP=VI

By combining this with Ohm's law, we get:

P=I2RP=I^2R

and

P=V2RP=\frac{V^2}{R}

Where:

  • PP = power in watts
  • VV = voltage across the resistor
  • II = current through the resistor
  • RR = resistance in ohms

Example: A 100 Ω resistor carries a current of 0.1 A.

P=I2RP=I^2R P=(0.1)2×100P=(0.1)^2\times100 P=1,W\boxed{P=1\\,W}

The resistor dissipates 1 W of power. A resistor rated at exactly 1 W would be operating at its nominal limit, so a suitably higher power rating and consideration of temperature and derating are important in a practical design.

Common through-hole resistor ratings include ¼ W, ½ W, 1 W, and 2 W, although many other ratings are available.

9. Tolerance of a Resistor

Tolerance indicates how far the actual resistance may differ from its stated nominal value under specified conditions.

For example, a 1 kΩ resistor with ±5% tolerance may have a resistance between:

R_min⁡=1000−(1000×0.05)=950,ΩR\_{\min}=1000-(1000\times0.05)=950\\,\Omega R_max⁡=1000+(1000×0.05)=1050,ΩR\_{\max}=1000+(1000\times0.05)=1050\\,\Omega

Therefore, its permitted resistance range is 950 Ω to 1050 Ω.

Typical tolerance values include ±1%, ±2%, ±5%, and ±10%.

Metal-film resistors commonly offer tighter tolerances than many general-purpose carbon-film resistors.

10. Practical Applications in Electronics

Resistors are used in many electronic systems:

  • LED circuits: Limit current through LEDs.
  • Arduino and ESP32: Provide pull-up and pull-down functions and help scale sensor voltages.
  • Sensor circuits: Work with LDRs and thermistors to produce measurable voltage changes.
  • Audio systems: Help set signal levels and establish transistor operating conditions.
  • Power supplies: Provide feedback, current sensing, and voltage-divider functions.
  • Communication circuits: Help establish signal levels and termination conditions.
  • Digital circuits: Ensure inputs have defined logic states when switches are open.

The correct resistor value depends on the circuit voltage, desired current, component specifications, tolerance, power dissipation, and environmental conditions.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy