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

Power factor, current, frequency implementation #1

Open
erdincsk opened this issue Aug 31, 2017 · 3 comments
Open

Power factor, current, frequency implementation #1

erdincsk opened this issue Aug 31, 2017 · 3 comments

Comments

@erdincsk
Copy link

Hello,

Is it possible to implement other reading from chinese power meter such as current or power factor?

Because not all loads in our house is ohmic. There are inductive loads such as refrigirators or laptop chargers etc.

If the load is ohmic, the we can use this current formula I = P/U. Because power factor = 1

But when the load is inductive, we need a third variable from power meter which is power factor.

If we can read the power factor all the time, then we can change our current formula to = I = P / (U * Pf)

Or we can just simply read current value from power meter then we can calculate power factor. It does not matter.

But i could not read current or power factor values from power meter by editing your code.

I think i need some help here.

@torntrousers
Copy link
Contributor

torntrousers commented Aug 31, 2017

I think Karl might be a better person to ask about that, I'll ask on his blog post about this - here.

@zerog2k
Copy link

zerog2k commented Aug 31, 2017

here is what I'm doing although not sure if it's exactly correct..
https://github.com/zerog2k/power_meter_cs5460a/blob/master/power_meter_cs5460a.ino#L174-L205

There are some magic constants - not sure why they are what they are... it's been a while since i read the datasheet...

@erdincsk
Copy link
Author

erdincsk commented Sep 1, 2017

@zerog2k thanks for the feedback. I will try to implement your code.

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

3 participants