Sign up!
  • H cup
  • S cup
  • Z Cup
  • G Cup
  • Bodysuit
  • Breast Forms
  • Mask
  • Hip Pants
×

Zmpt101b Voltage Sensor Library For Proteus -

// Remove DC offset and convert to RMS float peakVoltage = (maxV - Vref) * (120.0 / 0.6); // Calibration factor voltageRMS = peakVoltage / 1.414;

delay(500);

void setup() lcd.begin(16, 2); lcd.print("AC Voltage:"); zmpt101b voltage sensor library for proteus

lcd.setCursor(0,1); lcd.print(" "); lcd.setCursor(0,1); lcd.print(voltageRMS); lcd.print(" V AC"); // Remove DC offset and convert to RMS

The answer is and a reliable ZMPT101B library . void setup() lcd.begin(16