본문 바로가기

Zmpt101b Proteus Library (PLUS)

I understand you're looking for the ZMPT101B (AC voltage sensor) library for Proteus.

Here's what you need to know:

The ZMPT101B is a compact, low-cost AC voltage sensor module based on the ZMPT101B voltage transformer. It's commonly used to measure AC mains voltage in microcontroller projects (e.g., Arduino) and for energy-monitoring systems. In Proteus, modeling and simulating circuits that include the ZMPT101B requires either a dedicated library component (if available) or a custom model built from equivalent circuitry. This resource explains the module’s electrical behavior, how to create a practical Proteus model, example circuits, calibration, limitations, and validation steps to achieve accurate simulation results.


Official Sources:

Recommended Options:

  • Create Your Own (Recommended):

  • Alternative Approach:

  • Before diving into the simulation, let’s briefly understand the hardware.

    The ZMPT101B is a module based on the ZMPT101B precision voltage transformer. Its key features include:

    Depending on the specific library version downloaded (often created by community members), the pinout usually mirrors the physical module:


    Given the demand, the open-source hardware community has produced several unofficial libraries: zmpt101b proteus library

    Warning: Downloaded .PDFLIB files from unverified sources may contain malicious macros or simply fail to simulate. Always inspect the model’s properties before use.

    Many websites offer this library, but caution is advised. Stick to reputable engineering forums (like The Engineering Projects, ElectronicWings, or GitHub).

    /*
      Conceptual Code for ZMPT101B in Proteus
      The sensor output is an AC wave superimposed on a DC bias (VCC/2).
    */
    

    const int sensorPin = A0;

    void setup() Serial.begin(9600);

    void loop() // In a real simulation, you would read multiple samples // to determine the peak-to-peak voltage. int sensorValue = analogRead(sensorPin); I understand you're looking for the ZMPT101B (AC

    // Logic to convert reading to Voltage // This depends on the calibration values defined in the library float voltage = sensorValue * (5.0 / 1023.0);

    Serial.println(voltage); delay(100);

    Note: In simulation, you often need to use an oscilloscope (Virtual Instrument Mode) to verify the output waveform of the sensor before writing the code logic, as the default calibration in the library model might differ from real-world specs.