I'm sorry to inform you that your browser don't support CSS3 Animations!

This site uses features that require a modern browser - why not try Firefox ?

zmpt101b proteus library

Alessio Atzeni

Password: admin

Zmpt101b Proteus Library

Interfacing the ZMPT101B with an Arduino in Proteus allows you to visualize AC waveforms and calculate voltage.

Run the simulation by pressing the play button at the bottom left.

Write your Arduino code to read the analog voltage from the sensor's output, apply any necessary calibration, and calculate the AC RMS voltage using the ZMPT101B.h library. For this, the standard Arduino library for ZMPT101B is used. Compile the code in the Arduino IDE and generate a HEX file. zmpt101b proteus library

To simulate the sensor, you need to find and install custom library files ( .IDX and .LIB ). Step 1: Download the Library Files

Connect to the raw AC input (scaled down if necessary to prevent simulator errors). Connect Channel B to the OUT pin of the ZMPT101B module. Interfacing the ZMPT101B with an Arduino in Proteus

The ZMPT101B is a high-precision voltage transformer module widely used for measuring AC voltage with microcontrollers like Arduino, PIC, and STM32. However, testing AC mains hardware projects physically carries high safety risks. Simulating the circuit in Proteus before prototyping ensures both safety and design accuracy.

Connect the two terminals of the ALTERNATER to the input pins ( L and N or In+ and In- ) of the ZMPT101B module block. Low-Voltage Side (Output) For this, the standard Arduino library for ZMPT101B is used

The ZMPT101B module measures AC voltage up to 250V. It consists of an onboard multi-turn trim potentiometer to adjust the output gain and an operational amplifier (op-amp) circuit to shift the AC wave.

| Symptom | Likely Cause | Solution | |---------|--------------|----------| | Output waveform is clipped or at 0 V | Missing DC bias (mid‑supply) | Insert a voltage divider (2 equal resistors) from 5 V to GND and feed the centre tap to the non‑inverting inputs of the op‑amps. | | Gain does not match the datasheet | Frequency‑dependent impedance of capacitors miscomputed | Ensure you calculate the capacitor reactance at 50/60 Hz and adjust the feedback network accordingly (see the StackExchange calculation). | | Transformer output is too small | Incorrect transformer type or ratio | Use a current‑type transformer; set the primary‑to‑secondary current ratio to 1000. | | Proteus does not find a part | Part name is misspelled | Always use the exact component name as it appears in the Proteus library. |