Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-zero readings #20

Open
CatalanCaptain opened this issue Feb 18, 2020 · 1 comment
Open

Non-zero readings #20

CatalanCaptain opened this issue Feb 18, 2020 · 1 comment

Comments

@CatalanCaptain
Copy link

After setting all up if I plug the CT sensor but with no wire through it, I have a non-zero readings, about 0,1A.
I suspect that this is caused by the difference on the voltage divider resistors, that gives a reference voltage something different than 3,3V/2=1.65V.
It would be interesting to implement some kind of calibration routine to add an offset and get more accurate readings.
Also, when connecting a (theorically) 2000W air heater, readings go around 1800W-1900W. But in this case, I don't know if it's related with the same issue.

Thanks for your time and dedication @Savjee

@Savjee
Copy link
Owner

Savjee commented Feb 21, 2020

For calibration, you can try playing with emon1.current in the main file: https://github.com/Savjee/home-energy-monitor/blob/master/src-esp32/src/main.cpp#L56

The second parameter is a calibration value. More details about it here:
https://learn.openenergymonitor.org/electricity-monitoring/ctac/ct-and-ac-power-adaptor-installation-and-calibration-theory?redirected=true

As for a calibration routine: that's an interesting idea, but it would require some additional hardware. A button or so to trigger it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants