Wish List 0

Ac Voltage Sensor Module Zmpt101B (Single Phase)

Rs. 102.00 Rs. 123.00

-ZMPT101B AC Voltage Sensor is the first-class for the reason of the DIY task, in which we want to measure the accurate AC voltage with a voltage transformer.
-This is an excellent desire to degree the AC voltage the usage of Arduino/ESP8266/Raspberry Pi like an opensource platform.
-In many electrical projects, engineer directly deals with measurements with few simple necessities like High galvanic isolation, Wide Range, High accuracy, Good Consistency.

-Onboard precision miniature voltage transformer, The lively segment AC output voltage transformer module.
-Onboard precision op-amp circuit, the sign sampling and appropriate compensation for particular features.
-Modules may be measured within 250V AC voltage, the corresponding analog output may be adjusted.
-It is trendy, correct pleasant excessive performance.

Features:
1. Low price
2. Small size and lightweight
3. Easy PCB mounting
4. Good consistency
5. Widely acclaimed

SPECIFICATIONS:

-Low price

-Small size and lightweight

-Easy PCB mounting

-Good consistency

-Widely acclaimed

OVERVIEW:

-Voltage – 250V

-Easy PCB mounting

-Good consistency

-Widely acclaimed

PACKAGE INCLUDES:

1 PCS x Zmpt101B Ac Voltage Sensor Module


//SOURCE CODE TAKEN FROM BELOW LINK

//https://electropeak.com/learn/interfacing-zmpt101b-voltage-sensor-with-arduino/

/*

  ZMPT101B - AC Voltage sensor

  Calculate Voltage


  modified on 7 Sep 2020

  by Mohammad Reza Akbari @ Electropeak

  https://electropeak.com/learn/

*/



double sensorValue1 = 0;

double sensorValue2 = 0;

int crosscount = 0;

int climb_flag = 0;

int val[100];

int max_v = 0;

double VmaxD = 0;

double VeffD = 0;

double Veff = 0;


void setup() {

  Serial.begin(9600);

}


void loop() {


  for ( int i = 0; i < 100; i++ ) {

    sensorValue1 = analogRead(A0);

    if (analogRead(A0) > 511) {

      val[i] = sensorValue1;

    }

    else {

      val[i] = 0;

    }

    delay(1);

  }


  max_v = 0;


  for ( int i = 0; i < 100; i++ )

  {

    if ( val[i] > max_v )

    {

      max_v = val[i];

    }

    val[i] = 0;

  }

  if (max_v != 0) {



    VmaxD = max_v;

    VeffD = VmaxD / sqrt(2);

    Veff = (((VeffD - 420.76) / -90.24) * -210.2) + 210.2;

  }

  else {

    Veff = 0;

  }

  Serial.print("Voltage: ");

  Serial.println(Veff);

  VmaxD = 0;


  delay(100);

}


15 days

Write a review

Please login or register to review