Zmpt101b Library For Proteus Guide

Since the ZMPT101B is an analog sensor that outputs a voltage proportional to the AC voltage it measures, there isn’t a "one-click" installable library in Proteus like you would find for an LCD or an I2C sensor. Instead, you simulate it using existing Proteus components to mimic its behavior.

  1. Sample the ADC at high speed (e.g., 1 kHz for 50 Hz).
  2. Subtract the 2.5V offset (512 ADC value for 10-bit ADC).
  3. Square each sample.
  4. Take the mean of squares.
  5. Take the square root → This gives the RMS of the ADC reading.
  6. Multiply by a calibration factor (derived from transformer ratio).

The ZMPT101B module consists of two main sides: the high-voltage input and the low-voltage output. zmpt101b library for proteus

Proteus setup tips:

Applications of ZMPT101B Library