: Fully close and reopen Proteus to refresh the component list. Use the "Pick Device" (P) button and search for "ZMPT101B" to place the component on your schematic. Features of the ZMPT101B Module
Comprehensive Guide to Using the ZMPT101B Library for Proteus
Comprehensive Guide to Integrating and Simulating the ZMPT101B Voltage Sensor in Proteus zmpt101b library for proteus
#define SENSOR_PIN A0 const float VREF = 5.0; // Arduino operating voltage void setup() Serial.begin(9600); pinMode(SENSOR_PIN, INPUT); void loop() int maxValue = 0; int minValue = 1023; unsigned long startTime = millis(); // Sample the AC wave for 20ms (one full 50Hz cycle) while (millis() - startTime < 20) int readValue = analogRead(SENSOR_PIN); if (readValue > maxValue) maxValue = readValue; if (readValue < minValue) minValue = readValue; // Calculate Peak-to-Peak Voltage int peakToPeak = maxValue - minValue; // Convert ADC steps to Voltage float voltageValue = (peakToPeak * VREF) / 1023.0; // Calculate RMS Voltage based on calibration factor // In Proteus, tweak this multiplier to match your alternator settings float calibrationFactor = 75.0; float rmsVoltage = (voltageValue / 2.0) * 0.707 * calibrationFactor; Serial.print("RMS Voltage: "); Serial.print(rmsVoltage); Serial.println(" V"); delay(500); Use code with caution. Troubleshooting Proteus Simulation Lag and Errors
It samples high AC voltages (up to 250V AC) and steps them down to a safe, low-voltage analog signal (0–5V DC offset). : Fully close and reopen Proteus to refresh
As mentioned earlier, the ZMPT101B can be used in automatic power factor correction systems, helping to improve energy efficiency in AC power systems.
The ZMPT101B library for Proteus is a software component that allows users to simulate and analyze circuits containing the ZMPT101B current transformer module. The library provides a accurate model of the ZMPT101B module, enabling users to design and test their circuits in a virtual environment. As mentioned earlier, the ZMPT101B can be used
Typically utilizing an LM358 operational amplifier, this onboard circuit converts the low-level current into a measurable voltage, applies an adjustable gain via a multi-turn potentiometer, and adds a DC voltage offset (usually
Adjust the turns ratio to match the step-down profile of the ZMPT101B micro-transformer.
While there's no official Proteus library, there are several excellent Arduino libraries for the ZMPT101B that you can use in your actual hardware projects after simulation. The most notable are: