An ohm (Ω) is the standard unit of electrical resistance, defined as the opposition a material presents to the flow of electric current when one volt of potential difference drives one ampere of current. In any real circuit or electrical installation, resistance dictates exactly how much current will flow for a given voltage, which directly controls power dissipation (heat generation), voltage drop across long wire runs, and signal attenuation. You will never build a functional embedded project or wire a safe branch circuit without calculating and managing this value first.
The Core Math and a Worked Numeric Example
At the bench, resistance is governed by Ohm’s Law, expressed as R = V / I (Resistance equals Voltage divided by Current). This relationship is the foundation of all circuit design. According to All About Circuits, if you know any two of these variables, you can definitively calculate the third, allowing you to select the exact physical component needed to protect your semiconductors or deliver the right power to a load.
Worked Example: Driving an LED from an ESP32 GPIO
Let’s say you are wiring a standard red indicator LED to a 3.3V GPIO pin on an ESP32-WROOM-32 development board. You cannot connect the LED directly to the pin; the low internal resistance of the microcontroller would allow excessive current to flow, destroying the GPIO driver.
- Source Voltage (Vs): 3.3V (ESP32 logic high)
- LED Forward Voltage (Vf): 2.0V (typical for a standard red 5mm LED)
- Target Forward Current (If): 15 mA (0.015 A)
First, find the voltage that must be dropped across the resistor:
Vr = Vs - Vf = 3.3V - 2.0V = 1.3V
Next, apply Ohm’s Law to find the required resistance:
R = Vr / If = 1.3V / 0.015A = 86.67 Ω
Since 86.67 Ω is not a standard manufactured value, you look at the E24 resistor series and select the next closest standard value, which is 91 Ω. Finally, you verify the power rating:
P = I² × R = (0.015)² × 91 = 0.0204 W
A standard 1/4W (0.25W) through-hole carbon film resistor is more than adequate for this 20-milliwatt load.
Real-World Wire Resistance and Ampacity Limits
Resistance isn’t just about discrete components like carbon film resistors; every piece of wire you install has inherent resistance. In home wiring and solar power systems, ignoring the resistance of your conductors leads to dangerous voltage drops and overheated insulation. The table below details the DC resistance of solid copper wire at 20°C (68°F) alongside standard ampacity limits.
| AWG Size | Ohms per 1,000 ft (at 20°C) | NEC 60°C Ampacity (Copper) | Typical Application |
|---|---|---|---|
| 14 AWG | 2.525 Ω | 15 Amps | Standard 120V lighting circuits |
| 12 AWG | 1.588 Ω | 20 Amps | Standard 120V receptacle circuits |
| 10 AWG | 0.9989 Ω | 30 Amps | Electric dryers, 30A RV outlets |
| 8 AWG | 0.6282 Ω | 40 Amps | Electric ranges, EV Level 2 chargers |
| 6 AWG | 0.3951 Ω | 55 Amps | Subpanel feeders, 48V solar battery banks |
Where You Meet This in Practice
Once you move past textbook definitions, resistance shows up in three specific, highly practical scenarios across both low-voltage electronics and high-voltage electrical work.
1. I2C Pull-Up Resistors: When wiring an ESP32 to an I2C sensor (like a BME280), the data (SDA) and clock (SCL) lines are open-drain. They can pull the signal to ground, but they cannot drive it high. You must add physical pull-up resistors—typically 4.7 kΩ for 100kHz standard mode or 2.2 kΩ for 400kHz fast mode—to VCC. Without these specific ohm values, your I2C bus will float, and your microcontroller will throw continuous timeout errors.
2. Current Sensing Shunts: In battery management systems (BMS) and bench power supplies, we measure current by passing it through a shunt resistor and measuring the voltage drop across it. These resistors are in the milliohm range (e.g., 0.01 Ω or 10 mΩ). If 5 Amps flows through a 10 mΩ shunt, it generates a 50 mV drop (V = 5 × 0.01), which an ADC or dedicated current monitor IC (like the INA219) can safely read without disrupting the main power path.
3. Long-Distance Voltage Drop: Think of resistance like a narrow section in a water pipe: the narrower the pipe (higher ohms), the less water (current) flows for a given pump pressure (voltage). If you run 100 feet of 12 AWG wire to a 120V, 15-amp space heater, the total wire resistance (out and back) is about 0.317 Ω. At 15 amps, you lose 4.75 volts just heating up the copper wire inside the walls (V = 15 × 0.317). The heater only sees 115.25V, and the wire generates 71 watts of heat.
What People Commonly Confuse With Resistance
On the workbench and in the field, mixing up resistance with related but distinct concepts leads to blown components and failed inspections. Here is how to keep them straight.
Resistance vs. Impedance (Z)
Resistance (R) is the opposition to direct current (DC) and remains constant regardless of frequency. Impedance (Z) is the total opposition to alternating current (AC). Impedance includes resistance, but it also includes reactance (the opposition created by capacitors and inductors). A standard wirewound resistor might measure 100 Ω on a DC multimeter, but at 1 MHz RF frequencies, its parasitic inductance might push its actual impedance to 300 Ω.
Resistance vs. Resistivity (ρ)
Resistance is a property of a specific physical object (like a 5-foot piece of 12 AWG wire). Resistivity is an intrinsic property of the material itself (like copper vs. aluminum), measured in ohm-meters (Ω·m). According to Electronics Tutorials, you use resistivity to calculate the resistance of a custom trace on a PCB, but you use resistance to calculate the voltage drop across that finished trace.
Resistance vs. Reactance (X)
Reactance is the opposition to AC caused only by energy storage in magnetic fields (inductors) or electric fields (capacitors). Unlike resistance, which dissipates energy as heat, ideal reactance stores energy and returns it to the circuit. A capacitor has infinite DC resistance (it blocks DC entirely), but it has a specific, calculable AC reactance that drops as frequency increases.
Frequently Asked Questions
Can I substitute a higher ohm resistor if I don't have the exact value?
In signal and logic circuits (like pull-ups or LED indicators), yes. Using a 100 Ω resistor instead of a 91 Ω resistor will slightly dim the LED but protect the circuit. However, in precision analog circuits, voltage dividers feeding an ADC, or current-sensing shunts, substituting values will introduce measurement errors or cause the microcontroller to misread sensor data.
Does a resistor's ohm value change when it gets hot?
Yes. Every resistor has a Temperature Coefficient of Resistance (TCR), measured in parts per million per degree Celsius (ppm/°C). Standard carbon film resistors might drift by 500 ppm/°C, meaning a 1,000 Ω resistor could shift by several ohms if it runs hot. For precision applications, use metal film resistors with a TCR of 25 ppm/°C or better.
Why does my multimeter read 'OL' when measuring a high-ohm resistor?
'OL' stands for Over Limit. If you are trying to measure a 2 Megaohm (2 MΩ) resistor but your multimeter dial is set to the 200 kΩ range, the value exceeds the meter's current measurement window. Simply turn the dial to a higher range (like 2 MΩ or 20 MΩ) to get a valid reading.






