Energy Meter HLW8032 with Arduino but current value not coming

I use this library:GitHub - Khaalidi/HLW8032: A lightweight library for the HLW8032 SOP8 high precision energy metering IC
actually I use Arduino mega in this project. The voltage is received quite correctly but current not.
Does anyone know another library to introduce to me? or how can I get correct current?

What does the error in current measuring look like? Is it a matter of calibration?

thanks for your respond. I found mistake in this library. the problem was a CF variable.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.