For Proteus 'link' - Zmpt101b Library

const float VCC = 5.0; const int ADC_MAX = 1023; const float V_REF = VCC/2; float calibration = 230.0 / measuredRmsAtMains; // set after calibration

Suggested Proteus parts to use:

: Capable of measuring AC voltages up to 250V (standard) or even 1000V with proper resistor scaling. zmpt101b library for proteus

const float VCC = 5.0; const int ADC_MAX = 1023; const float V_REF = VCC/2; float calibration = 230.0 / measuredRmsAtMains; // set after calibration

Suggested Proteus parts to use:

: Capable of measuring AC voltages up to 250V (standard) or even 1000V with proper resistor scaling.

},3000) $("#google_esf").attr("title","Ads"); });