Can I measure 220 V mains directly with an ESP32?

Asked about ESP32 DevKit

Can I measure 220 V mains directly with an ESP32?

Answer

No. Never connect mains to a GPIO. Use an isolated voltage transformer module such as ZMPT101B for voltage and a current clamp such as SCT-013 for current, or a ready energy meter module. Put everything in a closed enclosure and ask a qualified electrician if you are unsure.

Parts for this solution

    AI-assisted answer, reviewed by a human. Not tested on every hardware revision.

    Ask an engineer / AI

    Leave a Comment