Observe the oscilloscope screen. You should see a clean sine wave.
This guide assumes you are using (or higher) and have the Arduino library for Proteus installed (you can find instructions online; the library contains the ARDUINO component).
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY
Before committing to a hardware build, however, it is extremely useful to simulate the entire circuit in Proteus. This allows the designer to check the signal conditioning stage, verify the analog interface with the microcontroller, and test the firmware (Arduino code) without any risk to hardware.
Connect the parts on your schematic sheet according to this configuration pin map:
If using a microcontroller library (e.g., Simulino).
The physical ZMPT101B module features a multi-turn trim potentiometer to adjust the output gain. In Proteus, the module output is usually pre-scaled or adjustable via the component properties window.
The output waveform is a sine wave biased at 2.5V, swinging ±1.5V for 230V input (depending on gain). This behaves like a ZMPT101B, though component tolerances are idealized.
Paste them into the Proteus LIBRARY folder located in Step 2. Step 4: Restart Proteus
const int analogPin = A0; const float referenceVoltage = 5.0; const int adcResolution = 1024; const int samplesPerCycle = 100; const float frequency = 50.0; // Hz
What (Arduino, PIC, ESP32) you are using for the simulation. Whether your target grid voltage is 110V/60Hz or 220V/50Hz .
Do you need help writing the to calculate the RMS voltage from the sensor output?
