You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi, im new to arduino, here i want to measure power and energy from my sensor.
The measurement only return voltage value, while i need the power and energy measurement.
im wiring my D3 pin to Tx of pzem and D4 pin to Rx of pzem.
any clue would help! thank you
To Reproduce
Steps to reproduce the behavior:
PZEM004Tv30 pzem(D3, D4, 0x01);
PZEM004Tv30 pzem2(D5, D6, 0x02);
PZEM004Tv30 pzem3(D7, D8, 0x55);
float calculate_power() {
//main energy meter
float voltage = pzem.voltage();
float current = pzem.current();
float power = pzem.power();
float energy = pzem.energy();
float frequency = pzem.frequency();
float pf = pzem.pf();
Did you connect the Current transformer correctly? You have to put one of the power wires through the CT coil in order to measure the current and thus Power,Energy and PF...
Describe the bug
Hi, im new to arduino, here i want to measure power and energy from my sensor.
The measurement only return voltage value, while i need the power and energy measurement.
im wiring my D3 pin to Tx of pzem and D4 pin to Rx of pzem.
any clue would help! thank you
To Reproduce
Steps to reproduce the behavior:
PZEM004Tv30 pzem(D3, D4, 0x01);
PZEM004Tv30 pzem2(D5, D6, 0x02);
PZEM004Tv30 pzem3(D7, D8, 0x55);
Expected behavior
The power and energy value should return the measurement from pzem.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: