Because the output is a sine wave (not a DC value), you cannot simply use analogRead() and map the value directly to voltage. You must calculate the value in your Arduino code.
Adding the ZMPT101B to Proteus requires manually importing its library and model files into the software's directory. zmpt101b proteus library
" in the component picker. YouTube +3 Wiring in Proteus Pin Name Connection Function VCC 5V DC Power supply for the module. GND Ground Common ground. OUT Analog Pin (e.g., A0) Output signal for the microcontroller. AC Input AC Source Connected to the AC mains source to be measured. Firmware Integration For the simulation to provide readable results, you need an Arduino ZMPT101B library to calculate RMS voltage. GitHub +1 Sampling Because the output is a sine wave (not
| File Name | Type | Description | | :--- | :--- | :--- | | ZMPT101B.IDX | Index | Component index for Proteus | | ZMPT101B.LIB | Library | Main model definition | | ZMPT101B.MDF | Model Data | Simulation parameters (gain/offset) | | Example_ZMPT101B.pdsprj | Project | Demonstration circuit with Arduino | " in the component picker