If Proteus was open, close and reopen it to refresh the component list. 2. Add the Component to Your Schematic Schematic Capture 'P' (Pick Devices) button in the Devices selector. in the keywords box. Select the component and click Click on the schematic sheet to place the module. 3. Wiring and Simulation Input Side (AC):
Proteus is a suite of electronic design automation (EDA) software. It contains a schematic capture tool, a PCB layout editor, and, most importantly, a powerful that can simulate analog and digital circuits, microcontrollers, and even entire embedded systems.
| Approach | Difficulty | Accuracy | Best for | | --- | --- | --- | --- | | | Medium | High | Understanding how the sensor works, testing modifications to the analogue front‑end | | Use a generic transformer + op‑amp model | Low | Medium | Fast simulation of the interface with a microcontroller |
Test your ZMPT101B-to-Arduino/ESP32 circuit before building it. zmpt101b proteus library
The ZMPT101B is a high-precision voltage transformer designed for monitoring single-phase AC voltage. Key Features
Do not worry about special libraries for Proteus itself; the core calibration and measurement logic resides in the microcontroller sketch, which can be executed within Proteus’s VSM (Virtual System Modelling) environment.
void loop() int sample = analogRead(analogPin); float voltage = (sample / float(adcResolution)) * referenceVoltage; // ... more code to calculate RMS Serial.println(voltage); delay(100); If Proteus was open, close and reopen it
Connect a voltage divider (two 10kΩ resistors) between 5V DC and Ground. Connect the middle node to the non-inverting input (Pin 3) of the LM358. This injects the 2.5V DC offset.
Provides a sine wave output with an offset of half the supply voltage ( ), making it easy for an ADC to read. 2. How to Install the Proteus Library
What are you simulating? (Arduino, PIC, ESP32, etc.) in the keywords box
Safely separates high-voltage AC from low-voltage DC microcontrollers.
. Installation involves adding .LIB, .IDX, and model files to the Proteus library directory, allowing users to visualize waveforms and calibrate the module using Arduino ElectroPeak
Paste these two files into the library folder of your Proteus installation directory. The file path varies depending on your Proteus version: