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

Current integral is not accurate? #3

Open
t-moe opened this issue Jul 19, 2024 · 0 comments
Open

Current integral is not accurate? #3

t-moe opened this issue Jul 19, 2024 · 0 comments

Comments

@t-moe
Copy link

t-moe commented Jul 19, 2024

I'm trying to use this library with my PPK2 in order to calculate the total current consumption of my device, by integrating the current samples. In order to integrate the current samples, I've slightly modified the library (fork: https://github.com/t-moe/ppk2-rs), although I think this is not relevant for the problem I describe.

Calculating the integral works and gives me some number, but the number is way off, when comparing it to a 2nd ppk2 running alongside with the original GUI. E.g. when measuring over 20 minutes, I measure 57 Coulomb with the library, compared to 46 Coulomb with the original GUI.

Did someone run into a similar problem? Could it be, that the device is configured differently when used by the nordic GUI?

@t-moe t-moe changed the title Very low sample rate Current integral is not accurate? Jul 19, 2024
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

1 participant