PZEM-004T MULTI FUNCTION AC POWER MEASUREMENT MODULE WITH 100A CT
-
RM70.00
- Product Code: PZEM-004T
- Availability: In Stock
PZEM-004T is the best for the purpose of the DIY project, where we need to measure the voltage, current and power using Arduino/ESP8266/Raspberry Pi like opensource platform. In many electrical projects, engineer directly deals with measurements with few basic requirements like
This module serve all these basic requirements of measurement PZEM-004T as a separate board. The physical dimensions of the PZEM-004T board is 3.1×7.4 cm, The pzem-004t module is bundled with 33mm diameter current transformer coil.
Specifications:
Working voltage: 80 ~ 260VAC
Current measurement: 0 – 100 A
Rated power: 22kW
Operating frequency: 45-65Hz
Measurement accuracy: 1.0 grade
Module Features:
PZEM-004T with Arduino wiring diagram
This is the complete wiring diagram, don’t forget to give the sensor mains input and also to sense the current, one of the cables for load should go through the ct sensor.
Before you start to code, you need to download or install the library first. Here the link for library.
#include <PZEM004Tv30.h> #include <Wire.h> PZEM004Tv30 pzem(8, 9); // Software Serial pin 8 (RX) & 9 (TX) void setup() { Serial.begin(9600); } void loop() { float voltage = pzem.voltage(); if (voltage != NAN) { Serial.print("Voltage: "); Serial.print(voltage); Serial.println("V"); } else { Serial.println("Error reading voltage"); } float current = pzem.current(); if (current != NAN) { Serial.print("Current: "); Serial.print(current); Serial.println("A"); } else { Serial.println("Error reading current"); } float power = pzem.power(); if (current != NAN) { Serial.print("Power: "); Serial.print(power); Serial.println("W"); } else { Serial.println("Error reading power"); } float energy = pzem.energy(); if (current != NAN) { Serial.print("Energy: "); Serial.print(energy, 3); Serial.println("kWh"); } else { Serial.println("Error reading energy"); } float frequency = pzem.frequency(); if (current != NAN) { Serial.print("Frequency: "); Serial.print(frequency, 1); Serial.println("Hz"); } else { Serial.println("Error reading frequency"); } float pf = pzem.pf(); if (current != NAN) { Serial.print("PF: "); Serial.println(pf); } else { Serial.println("Error reading power factor"); } Serial.println(); delay(2000); }
Documents: