Projects / Ideas / Mains voltage monitor and logger

Mains voltage monitor and logger

IntermediatePowerIdeaReviewed
In short

How do you build a mains voltage monitor and logger?

A ZMPT101B isolated sensor measures mains voltage and logs dips and surges that can damage appliances. You need ESP32 DevKit V1, ZMPT101B AC voltage sensor module, MicroSD Card Module, DS3231 RTC module, SSD1306 OLED Display and ABS project box (100 × 60 × 25 mm).

Level
Intermediate
Time
About 180 min
Parts
6
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

Measure AC voltage safely through an isolating transformer and compute RMS.

How to build it

  1. The ZMPT101B mains side must be wired by a qualified person in a closed box
  2. Sample its output fast and compute RMS
  3. Calibrate against a multimeter reading
  4. Log voltage every 10 s
  5. Mark dips below 200 V and surges above 250 V

Related projects

Common questions

What parts do I need for the mains voltage monitor and logger?

ESP32 DevKit V1, ZMPT101B AC voltage sensor module, MicroSD Card Module, DS3231 RTC module, SSD1306 OLED Display and ABS project box (100 × 60 × 25 mm).

How long does the mains voltage monitor and logger take to build?

About 180 minutes for a intermediate maker.