DC Circuits · #4 of 52

Ground, References, and Measurement Gotchas

Why Zero Volts Is a Choice, Not a Place

A small circuit assembled on a solderless breadboard.
A signal wire is never the whole circuit. The return path, usually called ground, is the other half. · SAHAYA RAJAN S, CC0

The sensor board on your bench looks fine. Its LED blinks, the ESP32 prints logs, and the ADC pin reads a neat 2.0 V when you test the sensor by itself. Then you plug only the signal wire into the ESP32 board and the numbers go wild: 0.1 V, 3.4 V, 1.7 V, then a brownout reset. Nothing is wrong with the ADC. Nothing is wrong with the sensor.

The two boards simply do not agree on what zero means.

Voltage is not a property of a single point. Voltage is a difference between two points. "Ground" is the node you decide to call zero so the rest of the circuit has a common language. That word is useful, but it is also dangerous, because people use it for several different things: circuit common, chassis metal, earth safety ground, oscilloscope shell, ESD strap, power-supply negative. Mix those up and you get floating inputs, wrong measurements, noisy sensors, and sometimes a short made by your own probe.

By the end, you can

  1. Explain why voltage is always measured between two nodes, even when people say "voltage at a point"
  2. Distinguish circuit common, earth/chassis ground, scope ground, and ESD ground
  3. Predict what happens when two communicating boards do not share a reference
  4. Choose correct DMM and oscilloscope probe placement for voltage, current, resistance and continuity checks
  5. Debug missing-ground symptoms without creating a short through the measuring instrument

Intuition first

Think of voltage like height. Saying "this shelf is 1 meter high" is incomplete until you know what it is 1 meter above: the floor, the workbench, the street outside, or sea level. Electrical voltage works the same way. A node can be 3.3 V above one reference and 1.1 V above another reference at the same instant. The number is only meaningful after you name the second point.

Ground is that named point. It is not a magic sink for electrons and it is not always the literal earth. On a little battery circuit, ground is usually the battery negative node. On a bench supply, it is usually the black output terminal. On a mains-powered oscilloscope, the probe's ground clip is usually tied through the scope to the building earth. Same word, different hardware consequences.

A benchtop DC power supply with red and black output terminals.
On a bench supply, the black output terminal is the supply's output reference. It may float, or it may be bonded to earth, depending on the supply and how you connect it. · Derrick Parker, CC0

Here is the mental model that saves you: voltage readings are agreements between two probes. The red probe asks "where is this node?" The black probe answers "relative to me." Move the black probe and the number can change without the circuit changing at all.

VAB=VAVBV_{AB} = V_A - V_B

When a schematic labels one node GND, it is saying "let this node be 0 V0\ \text{V}." Then "the voltage at A" is shorthand for:

VA=VAGND=VAVGNDV_A = V_{A\text{GND}} = V_A - V_{\text{GND}}

The ground label is a convention. The copper is real.

Alessandro Volta · 1745-1827 Built the first electrochemical battery, turning voltage from a static curiosity into a repeatable source engineers could wire into circuits. The unit volt carries his name.

The four grounds that get confused

Circuit common

Circuit common is the local reference node for the circuit. On a single breadboard, it is usually the blue rail or the battery negative. It becomes ground only because you connect every part that needs the reference to that same node.

A white solderless breadboard with power rails.
Breadboard rails look continuous, but they are only common where metal strips and jumpers actually connect them. Never assume two blue stripes share ground until you verify it. · Evan-Amos, Public domain
Top and bottom view of a breadboard showing the internal metal strips.
The hidden strips under a breadboard decide which holes are the same node. Ground is a copper network, not a label printed on plastic. · Guhuru, CC0

Earth and chassis

Earth ground is a safety reference tied to the building wiring and, through it, the literal earth. Chassis ground is the metal enclosure or frame. In mains-powered equipment they are often bonded together so a fault current trips a breaker instead of energizing the case. In a battery robot or a USB gadget, earth may not exist at all inside the product.

Oscilloscope ground

Most benchtop oscilloscopes connect the probe ground clip to the scope chassis and to earth through the power cord. That means the little ground clip is not floating. Clip it to a live node that is not meant to be earth and the scope may short that node to earth for you.

An oscilloscope probe with signal tip and ground lead.
A scope probe has two conductors: the tip and the ground return. The ground lead is part of the circuit being measured. · Severino666, Public domain
An oscilloscope probe connected to a breadboard circuit.
On low-voltage breadboards the ground clip feels harmless. The habit becomes dangerous on mains, motor drives, half bridges, and any circuit whose reference is not earth. · Tobias Radeskog, Public domain

ESD ground

An antistatic strap is also called ground, but it has a different job. It slowly bleeds charge from your body through resistance so you do not zap a MOSFET gate. It is not a power return path and it is not a signal reference.

An antistatic wrist strap with coiled lead.
ESD grounding drains charge safely through resistance. It protects parts from static discharge; it is not the same thing as a board's circuit common. · MKFI, Public domain

A signal needs a return path

A signal wire carries information only relative to a reference. If a sensor outputs 2.0 V, that means "2.0 V above the sensor's own ground." An ESP32 ADC pin does not know or care what the sensor meant locally. It sees the voltage of that pin relative to the ESP32 ground.

So if the sensor ground floats 1.2 V above the ESP32 ground, the ESP32 sees:

Vpin=Vsignal above sensor GND+Vsensor GND above ESP32 GNDV_{\text{pin}} = V_{\text{signal above sensor GND}} + V_{\text{sensor GND above ESP32 GND}} Vpin=2.0 V+1.2 V=3.2 VV_{\text{pin}} = 2.0\ \text{V} + 1.2\ \text{V} = 3.2\ \text{V}

The sensor still tells the truth locally. The ESP32 reads a different truth because the reference moved.

A floating sensor board driving an ESP32 input. Moving the sensor ground changes what voltage the ESP32 actually sees until the grounds are tied together. sensor board ESP32 board signal grounds not connected OUT GND ADC GND sensor local reading 2.0 V ground difference +1.2 V ESP32 pin sees 3.2 V

The ESP32 does not see the sensor's local 2.0 V. It sees signal plus the floating ground offset.

Tie the grounds together and the offset collapses to zero. The signal now has a return path and both boards use the same reference. This is why a UART, I2C sensor, SPI board, analog sensor, PWM input, or enable line almost always needs at least two connections: the signal and the reference. Differential buses like CAN and Ethernet are more tolerant because the receiver looks at the difference between two signal wires, but even those systems still need controlled common-mode range, protection, and sane return paths.

A sensor says its output is 1.8 V. Its ground is floating 0.9 V above the microcontroller ground. What does the microcontroller ADC pin see?

Measuring without lying to yourself

The meter is honest only if you ask the right question.

A digital multimeter measuring the voltage of a small battery.
A voltage measurement is between two probes. Red is not meaningful by itself; black defines the reference for that reading. · Jiazheng0609, CC BY-SA 4.0

Voltage is measured across

Put the meter in DC volts. Put the black probe on the reference node you care about and the red probe on the node you want to know. Across the battery, across a resistor, across a regulator output, across a sensor signal and ground: voltage is a two-point measurement.

If the black probe is on the wrong reference, the reading may still be precise, but it will answer the wrong question.

Current is measured through

To measure current with a DMM, the meter must become part of the path. You open the circuit and insert the meter in series so the current flows through it. Put a meter in current mode across a battery or power rail and you have built a short with a display attached. That is how fuses inside meters blow.

Resistance and continuity are powered off checks

Resistance mode injects a small current from the meter. Continuity mode does the same and beeps if the resistance is low enough. Use them on unpowered circuits. On a powered circuit they can lie, and in the worst case the circuit drives voltage back into the meter's ohms circuit.

Continuity is perfect for ground debug: with power off, put one probe on the supply negative or known GND pin, then touch the other probe to every ground point that should be common. If one point does not beep, you have found a missing return path.

You want to know whether an ESP32 ground pin and a sensor ground pin are actually connected on an unpowered breadboard. Which measurement is the right first check?

The oscilloscope trap

A DMM is usually floating from earth, at least within its rating. A benchtop scope is usually not. The BNC shells and probe clips are tied together and often tied to earth. That is convenient when measuring small low-voltage circuits referenced to earth, but it becomes a trap when you clip the ground lead to something that is not supposed to be earth.

The rule is simple: before clipping scope ground, ask where that clip is connected inside the instrument. On many scopes, every channel's ground clip is the same node. Clipping channel 1 ground to one side of a resistor and channel 2 ground to the other side does not measure across the resistor. It shorts the two sides together through the scope.

If you need a voltage between two non-ground nodes, use the right method: a proper differential probe, an isolated instrument rated for the job, or two channels with math subtraction only when both probe grounds can safely attach to the same circuit common. Lesson 26 will go deeper on common-mode limits and CMRR.

You clip a benchtop oscilloscope ground lead to a node in a powered circuit. What must be true for that to be safe?

A practical ground-debug ladder

When a circuit behaves as if it has a mind of its own, do not start with firmware. Start with references.

  1. Power off continuity: every module ground that should be common must beep to the supply negative or board GND pin.
  2. Power on DC check: measure each rail relative to its own intended ground.
  3. Ground difference check: with the system powered, measure between two "grounds" that you assumed were the same. A large DC or AC difference is a clue.
  4. Signal plus reference: measure the signal relative to the receiver's ground, not only relative to the transmitter's ground.
  5. Scope safety check: before attaching the ground clip, decide whether that node can be tied to the scope ground.
Why ground loops are real, but not magic either

A ground loop is not bad because it is shaped like a loop. It is bad when two or more return paths let unwanted current flow through a conductor that you are also using as a signal reference. That current drops voltage across the real resistance and inductance of the conductor, so different parts of the circuit no longer agree on zero. Audio systems hear it as hum. Fast digital systems see it as jitter or false edges. Motor systems see it as sensor noise.

The cure is not a superstition like "always star ground" or "always split analog and digital ground." The cure is to control where return current flows. Keep the signal and its return close, avoid sharing dirty power current with quiet measurement references, and connect domains at a point where the unavoidable current will not corrupt the measurement. In simple breadboard circuits that usually means one solid common rail. In real PCBs it means reference planes, short loops, and deliberate partitioning.

Key takeaways

  • Voltage is always a difference: V_AB = V_A - V_B.
  • Ground is the reference node you choose, not a magic place where electricity disappears.
  • A signal wire without a shared reference gives the receiver an undefined or shifted voltage.
  • Circuit common, earth/chassis, scope ground and ESD ground are different ideas that often share a name.
  • DMM voltage goes across; DMM current goes through; resistance and continuity are powered-off checks.
  • A benchtop scope ground clip can short a circuit node to earth or to another channel's ground clip.
Practice 1 warm-up

A node called A is 4.8 V above node B. Node B is 1.1 V above the circuit common. What is node A relative to circuit common?

Show worked solution

VAV_A relative to common is VAB+VB=4.8 V+1.1 V=5.9 VV_{AB} + V_B = 4.8\ \text{V} + 1.1\ \text{V} = 5.9\ \text{V}. The phrase "voltage at A" only becomes meaningful after you name the reference.

Practice 2 core

You connect a DMM across a resistor and read 0.6 V. The resistor value is 100 ohms. What current flows through the resistor, and do you need to put the meter in current mode to know it?

Show worked solution

Ohm's law gives I=V/R=0.6/100=0.006 AI = V/R = 0.6/100 = 0.006\ \text{A}, or 6 mA. You do not need to put the meter in current mode if you can safely measure voltage across a known resistance. That is often safer than opening the circuit and inserting the meter.

Practice 3 stretch

You want to measure the voltage across a 0.05 ohm current-sense resistor on the high side of a 24 V motor rail using a benchtop oscilloscope. Why is clipping one probe ground to each side of the resistor wrong, and what should you use instead?

Show worked solution

On most benchtop scopes the two probe ground clips are the same node internally and are often tied to earth. Clipping them to opposite sides of a high-side resistor shorts those two sides together through the scope ground system. Use a proper differential probe, an isolated instrument rated for the common-mode voltage, or a single safe ground reference with a measurement method that stays within the scope's limits.

Ground is not a spell you write on a schematic. It is the reference agreement that lets every voltage number mean something. Once you see that, many beginner mysteries become ordinary bookkeeping: the sensor was floating, the meter asked the wrong question, the scope clip became a wire, the breadboard rail was not actually common.

Next, we put charge into a component that makes time visible: the capacitor.

full glossary →