How to Test Components: Resistors, Diodes, Transistors, and Capacitors

A dead board usually has one failed part, and a multimeter finds it in minutes. You don’t need an oscilloscope or a component tester for most faults. You need the right meter mode, a known-good reference reading, and the habit of powering down and discharging before you probe. This guide covers how to test resistors, diodes, BJTs, MOSFETs, and capacitors, with expected readings, a fault table, and an Arduino sketch that measures capacitance.

Quick Takeaways

  • Resistors: Measure in Ω mode with the part out of circuit. Compare against the color-code value and tolerance (1%, 5%).
  • Diodes and LEDs: Use diode test mode. A good silicon diode reads 0.5–0.7V forward and OL in reverse.
  • Transistors: Treat a BJT as two diodes. Check B-E and B-C junctions, then confirm C-E is open with no base drive.
  • Capacitors: Discharge first. Use capacitance mode, and check ESR on electrolytics that look fine but still cause faults.

Tools You Need Before You Start

A basic digital multimeter (DMM) covers 90% of tests. Add these for better results:

Tool Purpose Required?
DMM with diode, continuity, and capacitance modes All tests below Yes
ESR meter Dried-out electrolytic detection Recommended
Alligator clips / probe tips Hands-free SMD testing Recommended
Bench power supply In-circuit voltage checks Optional
Arduino Uno / Nano DIY capacitance meter (code below) Optional
ESD wrist strap MOSFET and IC protection Recommended

Safety rules that prevent false readings and damage:

  1. Power off the circuit before measuring resistance, diodes, or capacitors.
  2. Discharge every capacitor through a 100Ω–1kΩ resistor. Never short a charged cap with a screwdriver.
  3. Lift one leg of the part from the board. Parallel paths distort in-circuit readings.
  4. Keep your fingers off the probe tips when measuring high resistance. Your body adds roughly 100kΩ–1MΩ in parallel.

How to Test a Resistor with a Multimeter

A resistor rarely fails open or short in a healthy circuit. It drifts, or it burns and goes open after an overcurrent event. The test takes seconds.

Step-by-Step Resistor Test

  1. Power off the circuit and unsolder or lift one leg.
  2. Set the meter to Ω (resistance).
  3. Select a range just above the expected value. Skip this on auto-ranging meters.
  4. Touch the probes to both leads. Polarity doesn’t matter.
  5. Compare the reading to the nominal value.

A 330Ω resistor with 5% tolerance should read between 313.5Ω and 346.5Ω. A reading of OL means the resistor is open, which is common after a burned 1/4W part. A reading far below nominal points to a damaged resistor or a short in parallel.

Resistor Tolerance Reference

Tolerance Color Band Acceptable Range (1kΩ) Typical Use
±1% Brown 990–1010Ω Precision dividers, ADC inputs
±2% Red 980–1020Ω Instrumentation
±5% Gold 950–1050Ω General logic, LED limiting
±10% Silver 900–1100Ω Legacy, non-critical

Heat-damaged resistors often show a darkened body or discolored bands. Replace them, and also find out why the current was too high.

How to Test a Diode (Including LEDs and Zener Diodes)

A diode conducts in one direction. A good one shows a low forward voltage drop and blocks current in reverse. To test a diode, use diode test mode, usually marked with a diode symbol (▶|).

Diode Test Procedure

  1. Power off and isolate the diode.
  2. Select diode test mode. The meter pushes about 1mA through the part and displays the forward voltage.
  3. Place the red probe on the anode and the black probe on the cathode. Note the reading.
  4. Reverse the probes. Note the reading again.

A healthy diode reads a normal Vf forward and OL reverse.

Expected Forward Voltage by Diode Type

Diode Type Typical Vf (diode mode) Reverse Reading
Silicon (1N4148, 1N4007) 0.5–0.7V OL
Schottky (1N5819) 0.15–0.45V OL
Germanium (1N34A) 0.2–0.3V OL
Red / Yellow LED 1.6–2.2V OL
Blue / White LED 2.7–3.4V OL
Zener (e.g., 5.1V) 0.6–0.8V forward Low Vz only under test current*

*A standard meter cannot reach most Zener breakdown voltages. Test a Zener by reverse-biasing it through a series resistor from a bench supply and measuring the voltage across it.

Many meters light a good LED dimly during the test. That gives you a quick pass or fail check, but it doesn’t tell you whether the LED has lost brightness.

Fault patterns:

Reading Diagnosis
OL both directions Open diode
~0V both directions Shorted diode
Low reading in reverse (e.g., 0.3V) Leaky junction

How to Test a Transistor

Test BJTs and MOSFETs differently, because their internal structures differ.

How to Test an NPN Transistor (BJT)

An NPN transistor behaves like two diodes sharing the base. Use diode test mode and identify the pins from the datasheet first: B (base), C (collector), E (emitter).

Red Probe Black Probe Good NPN Reading
Base Emitter 0.55–0.75V
Base Collector 0.55–0.75V
Emitter Base OL
Collector Base OL
Collector Emitter (either direction) OL

For a PNP transistor, swap the probes. Put the black probe on the base to get the forward readings.

Any reading near 0V between two pins means a shorted junction. OL on a junction that should conduct means it is open.

If your meter has an hFE socket, insert the transistor and read the current gain. A 2N2222 typically reads 100–300, and a BC547 reads 110–800 depending on its grade.

How to Test a MOSFET

A MOSFET has an insulated gate, so the BJT method doesn’t apply. Static charge on the gate can turn it on, and a careless touch can destroy it. Follow this sequence for an N-channel part:

  1. Short all three pins together with a clip lead to discharge the gate. Remove it.
  2. In diode test mode, put the red probe on the source and the black probe on the drain. A healthy part reads 0.4–0.8V through the body diode.
  3. Reverse the probes. The reading should be OL.
  4. Touch the red probe to the gate briefly. Then touch the black probe to the gate. This charges the gate capacitance, turning the channel on.
  5. Re-measure drain to source. It should now read near 0V in both directions.
  6. Short the gate to the source to discharge it. The channel should turn off again.

If the drain-source path reads near 0V with no gate charge, the MOSFET is shorted. If it never turns on after charging the MOSFET gate, it is open or damaged.

How to Test a Capacitor

A capacitor fails in three ways: it goes open and loses capacitance, it shorts, or it develops high ESR. Electrolytics fail the most, especially in switch-mode power supplies and motor drivers.

Visual Check First

Look for these signs before picking up the meter:

  • Bulging or domed tops on electrolytic caps
  • Brown residue near the base
  • Cracked ceramic bodies on MLCC parts
  • A bad smell after power-up

Capacitance and Short-Circuit Test

  1. Power off and discharge the cap through a 100Ω–1kΩ resistor.
  2. Set the meter to capacitance (F) mode.
  3. Connect the probes. Mind polarity on polarized parts: red to +, black to −.
  4. Compare the reading against the label. Most electrolytics have ±20% tolerance.
  5. For meters without a capacitance mode, use Ω mode. A good electrolytic starts at low resistance and climbs toward OL as it charges. A cap that stays at low resistance is shorted.

Capacitor Capacitance Ranges

Capacitor Type Typical Range Tolerance Common Failure
Ceramic (MLCC) 1pF–100µF ±5–20% Cracks, short
Aluminum electrolytic 1µF–10,000µF ±20% High ESR, dry-out
Tantalum 0.1µF–1000µF ±10–20% Short, can ignite
Film (polyester) 1nF–10µF ±5–10% Rare, open

Check Capacitor ESR

A cap can show the correct capacitance and still fail in circuit. Capacitor ESR (equivalent series resistance) rises as the electrolyte dries out. Buck converters then show higher ripple, and boards brown out under load.

A 1000µF/16V low-ESR cap should measure under 0.1Ω when new. A reading above 0.5Ω deserves replacement. Always measure ESR out of circuit, or at least with the cap discharged and isolated.

DIY Capacitance Meter with Arduino

No capacitance mode on your meter? Build one with an Arduino Uno. It measures the time for a cap to charge through a known resistor to 63.2% of Vcc, which is one time constant (τ = R × C).

Wiring:

  • D8 → 10kΩ resistor → capacitor + → A0
  • Capacitor − → GND
// Capacitance meter: 1 µF to ~1000 µF using RC time constant
const int CHARGE_PIN = 8;          // Drives the RC network through R
const int ANALOG_PIN = A0;         // Reads capacitor voltage
const float R_OHMS   = 10000.0;    // Known series resistor (10 kΩ)
const int THRESHOLD  = 648;        // 63.2% of 1023 ADC counts (one τ)

void setup() {
  Serial.begin(115200);
  pinMode(CHARGE_PIN, OUTPUT);
  digitalWrite(CHARGE_PIN, LOW);   // Start discharged
}

void loop() {
  // Discharge the cap through R until the ADC reads 0
  digitalWrite(CHARGE_PIN, LOW);
  while (analogRead(ANALOG_PIN) > 0) { }

  // Start charging and time how long to reach 63.2% of Vcc
  unsigned long start = micros();
  digitalWrite(CHARGE_PIN, HIGH);
  while (analogRead(ANALOG_PIN) < THRESHOLD) { }
  unsigned long elapsed = micros() - start;   // τ in microseconds

  // C = τ / R. Microseconds divided by ohms gives microfarads directly
  float microfarads = (float)elapsed / R_OHMS;

  Serial.print("Capacitance: ");
  Serial.print(microfarads, 2);
  Serial.println(" uF");
  delay(1000);
}

analogRead() takes about 100µs, so the method loses accuracy below roughly 1µF. Use a smaller resistor or a dedicated LCR meter for ceramic caps in the nanofarad range. Observe polarity on electrolytics, and stay within the cap’s 5V rating on an Uno.

Which Test Works for Which Part

Component Meter Mode Good Sign Bad Sign
Resistor Ω Within tolerance OL or far off nominal
Diode / LED Diode test Vf forward, OL reverse OL or 0V both ways
BJT Diode test / hFE Two good junctions, C-E open Any shorted junction
MOSFET Diode test Body diode, gate-controlled channel Always shorted or never turns on
Capacitor Capacitance / ESR Within ±20%, low ESR Open, shorted, high ESR

Real-World Workflow: Diagnosing a Dead 5V Regulator Board

Say a 7805-based supply board stops outputting 5V and your Arduino won’t boot. Work through the board in this order:

  1. Measure input voltage at the DC jack with power on. You should see 7–12V. If it’s missing, check the fuse and use the multimeter continuity test on the traces.
  2. Power off. Test the reverse-polarity diode (a 1N4007) in diode mode. A shorted one pulls the input down. An open one blocks it entirely.
  3. Discharge, then check the input and output capacitors. A 100µF electrolytic with a bulged top and high ESR can make the output ripple badly or collapse under load.
  4. Test the regulator. With power on and the load disconnected, measure Vin and Vout. If Vin is present and Vout is 0V, the regulator has failed. If Vout is correct unloaded and collapses under load, suspect a shorted downstream part.
  5. Check the load side. In Ω mode, measure resistance between 5V and GND. A reading under 10Ω points to a shorted capacitor or a damaged IC.
  6. Replace one part at a time and retest. This confirms the actual fault and avoids introducing new ones.

Use the same approach on any board: work from the input toward the output and test the cheapest, most likely failures first (fuse, diode, capacitors).

Common Testing Mistakes

Mistake Result Fix
Testing in circuit False low readings from parallel paths Lift one leg
Touching probe tips with fingers Resistance reads too low Hold probes by the insulation
Skipping cap discharge Meter damage, inaccurate readings Discharge through 100Ω–1kΩ
Reversed probes on polarized parts Wrong diagnosis Confirm anode/cathode and C/B/E pinout from the datasheet
Ignoring ESD on MOSFETs Destroyed gate oxide Use a wrist strap, discharge the gate

FAQ

Can I test a resistor while it’s still on the board?

You can get a rough reading, but it’s unreliable. Other components create parallel paths and lower the measured value. For an accurate result, lift one leg of the resistor. If the in-circuit reading is higher than the marked value, the resistor is definitely bad, because parallel paths can only lower the reading.

How do I know if a transistor is bad with a multimeter?

Use diode test mode on every pin pair. A good NPN shows 0.55–0.75V from base to emitter and base to collector with the red probe on the base, and OL in reverse. If any junction reads 0V or OL in both directions, or if collector to emitter conducts with no base drive, the transistor is bad.

What should a good diode read on a multimeter?

In diode test mode, a silicon diode reads 0.5–0.7V forward and OL reverse. Schottky diodes read 0.15–0.45V, and LEDs read 1.6–3.4V depending on color. OL in both directions means the diode is open. ~0V in both directions means it is shorted.

How do I test a capacitor without a capacitance meter?

Discharge the cap, then use Ω mode. A healthy electrolytic starts near 0Ω and climbs toward OL as the meter charges it. Swapping the probes should repeat the sweep. A cap that shows OL immediately is open, and one that stays near 0Ω is shorted. You can also build the Arduino RC time-constant meter above.

Hot this week

The Serial Monitor: Your Best Debugging Tool

Learn to debug Arduino and ESP32 projects with the Serial Monitor. Master Serial.print, baud rates, and tricks to fix bugs fast. Start debugging now.

SSH, VNC, and Raspberry Pi Connect: Remote Access Options Compared

SSH, VNC, or Raspberry Pi Connect? Compare setup, speed, security, and use cases, then pick the best way to control your Pi remotely. Read the guide.

How to Troubleshoot a Dead Circuit: A Systematic Method

Learn a step-by-step method to troubleshoot a dead circuit: check power, trace voltages, test components, and fix faults fast. Start diagnosing now.

Fume Extraction and Lead-Free Solder: Is Soldering Safe?

Is soldering safe? Learn what's in solder fumes, how lead-free solder changes the risk, and how to set up proper extraction. Read the guide now.

RTL-SDR on Raspberry Pi: Software-Defined Radio for Beginners

Set up an RTL-SDR on Raspberry Pi: install drivers, tune FM, track aircraft with ADS-B, and decode signals. Follow the step-by-step guide.

Topics

The Serial Monitor: Your Best Debugging Tool

Learn to debug Arduino and ESP32 projects with the Serial Monitor. Master Serial.print, baud rates, and tricks to fix bugs fast. Start debugging now.

SSH, VNC, and Raspberry Pi Connect: Remote Access Options Compared

SSH, VNC, or Raspberry Pi Connect? Compare setup, speed, security, and use cases, then pick the best way to control your Pi remotely. Read the guide.

How to Troubleshoot a Dead Circuit: A Systematic Method

Learn a step-by-step method to troubleshoot a dead circuit: check power, trace voltages, test components, and fix faults fast. Start diagnosing now.

Fume Extraction and Lead-Free Solder: Is Soldering Safe?

Is soldering safe? Learn what's in solder fumes, how lead-free solder changes the risk, and how to set up proper extraction. Read the guide now.

RTL-SDR on Raspberry Pi: Software-Defined Radio for Beginners

Set up an RTL-SDR on Raspberry Pi: install drivers, tune FM, track aircraft with ADS-B, and decode signals. Follow the step-by-step guide.

Understanding the Sketch Structure: setup(), loop(), and Beyond

Learn how Arduino setup(), loop(), globals, and custom functions work, with code, a hidden main() breakdown, and fixes. Read the guide and start coding.

Electronics Safety: Mains Voltage, Batteries, and Soldering Hazards

Learn how to stay safe around mains voltage, LiPo batteries, and soldering fumes. Use our bench checklists and build safely today.

Word Clouds and Text Visualization: Useful or Gimmick?

Are word clouds useful or a gimmick? Learn when they work, where they fail, and which Python text visualization methods beat them. Get the code now.

Related Articles

Popular Categories