Zmpt101b | Library For Proteus

In simulation, AC_IN1/2 are galvanically isolated from VCC/GND . This models the real transformer isolation. You can connect a high-voltage sine wave on the AC side and a 5V DC supply on the low-voltage side without ground loops.

Because the ZMPT101B outputs a sine wave shifted by 2.5V, the code must sample the waveform rapidly, find the peak-to-peak voltage, and calculate the Root Mean Square (RMS) voltage.

★★★☆☆ (3.5/5)

Connects to the main power lines (Phase and Neutral).

Typically:

Comprehensive Guide: ZMPT101B Library for Proteus Simulation

Proteus is legendary for its mixed-mode SPICE simulation and microcontroller co-simulation. But there is one persistent problem: zmpt101b library for proteus

Because it’s simulation, you can automate this with a probe on the OUT pin to see the waveform center and amplitude.

Example pseudocode (concise):

Below is a highly optimized script for your Proteus simulation: