Have you used a different AC voltage sensor in Proteus? Let me know in the comments below!
lcd.setCursor(0,1); lcd.print(" "); lcd.setCursor(0,1); lcd.print(voltageRMS); lcd.print(" V AC");
#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); float voltageRMS = 0; float readValue = 0; float Vref = 2.5; // Output offset of ZMPT101B (adjust based on simulation)