hlw8012 icon indicating copy to clipboard operation
hlw8012 copied to clipboard

HLW8012 board calibration

Open pw44 opened this issue 4 years ago • 2 comments

seams this one is also becoming popular.

but i'm not find out to calibarte it. any help?

Thx in advance.

HLW8012_High-Precision_Energy_Metering_Module_Arduino_Energy_Monitoring

pw44 avatar Feb 16 '21 18:02 pw44

You have a calibration example in the "HLW8012_Interrupts" example. It returns the multipliers you can use on library setup with the setCurrentMultiplier, setVoltageMultiplier and setPowerMultiplier.

xoseperez avatar Feb 19 '21 08:02 xoseperez

i used the HLW8012_Basic example, with no luck.

By calibrate section, i setted:

400W (my toaster) 127V (my AC mains, according my MM and 400/127

// Calibrate using a 60W bulb (pure resistive) on a 230V line hlw8012.expectedActivePower(60.0); hlw8012.expectedVoltage(230.0); hlw8012.expectedCurrent(60.0 / 230.0);

got the multipliers, used it, bit output does not shows 127, 400, etc....

Being used on ESPEasy firmware.

pw44 avatar Feb 19 '21 13:02 pw44