Projects / Ideas / Mini USB wattmeter

Mini USB wattmeter

IntermediateTest & MeasurementIdeaReviewed
In short

How do you build a mini USB wattmeter?

Measure voltage and current of a USB device with a shunt and show watts and watt-hours. You need Arduino Nano, Shunt resistor 0.1 Ω 2 W, LM358 Op-Amp, Resistor 10 kΩ × 2, Resistor 1 kΩ, SSD1306 OLED Display, USB A to micro-USB cable (data), Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

Level
Intermediate
Time
About 240 min
Parts
9
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Compute power and energy.

How to build it

  1. Add the shunt in the ground return
  2. Amplify the small drop
  3. Read voltage with a divider
  4. Compute watts and accumulate Wh
  5. Show peak current

Related projects

Common questions

What parts do I need for the mini USB wattmeter?

Arduino Nano, Shunt resistor 0.1 Ω 2 W, LM358 Op-Amp, Resistor 10 kΩ × 2, Resistor 1 kΩ, SSD1306 OLED Display, USB A to micro-USB cable (data), Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the mini USB wattmeter take to build?

About 240 minutes for a intermediate maker.