Volts, amps, watts: a USB-C power meter built around one resistor
A meter that sits in the cable and tells you what a charger really delivers. The design is one 10 mΩ resistor, an amplifier, a small controller and a screen. The film walks the board; the notes cover the numbers that matter.
Is the charger really giving 20 W? Is the cable the weak link? A USB-C power meter answers both, and it is a good second or third board to design: few parts, real analogue thinking, and something you will keep using.
One resistor does the measuring
Current is hard to measure directly, so the meter measures a voltage instead. A small resistor, the shunt, goes in series with the power line. Ohm's law does the rest: the voltage across it is the current times its resistance.
- With a 10 mΩ shunt, 1 A gives 10 mV and 3 A gives 30 mV.
- The shunt also wastes a little power: at 3 A, about 0.09 W. At 5 A, 0.25 W.
- A large 2512 part is rated for a watt or more, so it stays cool.

Smaller resistance wastes less but gives a smaller signal. 10 mΩ is the usual middle.
Reading 30 millivolts
Thirty millivolts is too small for a controller's converter to read well, so a current-sense amplifier sits next to the shunt and multiplies it, often by 50. Three things matter when you choose and place it.
- Measure on the high side. Put the shunt in the power line, not in ground. A resistor in the ground line would lift the ground of whatever you are charging.
- Mind the voltage. USB-C chargers go up to 20 V, and newer ones higher. The amplifier's inputs sit at that voltage, so pick one rated above the highest you expect.
- Take the reading from the pads. Run two thin traces from the inside edges of the shunt's pads straight to the amplifier. This is called a Kelvin connection. It keeps the voltage lost in the thick power copper out of the measurement.
The power path
The path from one connector through the shunt to the other carries all the current, so keep it short and wide. A common rule for 1 oz outer-layer copper and a 10 °C rise:
| Current | Trace width | |---|---| | 1 A | about 0.3 mm | | 3 A | about 1.4 mm | | 5 A | about 2.8 mm |
If the width does not fit, use a copper pour on both sides and stitch them with vias.
Leave the other lines alone
USB-C chargers and devices agree on a voltage by talking over the CC line. If the meter breaks that line, everything falls back to 5 V. So CC1, CC2 and the USB 2.0 data pair go straight from one connector to the other, with nothing attached.
The screen
A small OLED needs four wires: power, ground and the two I²C lines. The controller reads the bus voltage and the amplifier's output a few times a second, multiplies them, and writes three numbers.

With a 12-bit converter and a 5 A range, one step is a little over a milliamp. That is plenty for a charger and not enough for a sleeping gadget. For microamps you would use a much larger shunt.
Before you order
- Check the shunt's footprint against the exact part. Wide-body current-sense resistors come in several pad layouts.
- Keep parts 3 mm from the board edge on the sides the assembly line grips, or add rails. Our [DFM story](#/story/dfm-four-findings) shows why.
- The connectors overhang the edge. Say so in your notes so nobody reads it as a mistake.
A board this size is a typical first order. Put the Gerbers, the BOM and the placement file on EIN: the DFM check reads them before you pay for anything, and makers come back with prices.
The meter in this film was drawn for the article. It is a design sketch, not a product.