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

When there's no load, the current value is not null due to the noise. #3

Open
Ciusss89 opened this issue Nov 23, 2019 · 0 comments
Open
Labels
bug Something isn't working enhancement New feature or request

Comments

@Ciusss89
Copy link
Owner

  1. file energy_meter/measure.c
  2. When there's no load, the current value is not null due to the noise. As a consequence when we compute the square in the function get_measure the amount error continue growing.
▸       /* !TODO: Remove dc bias, find better solution */                                                                                                                
▸       if(bias_rem)
▸       ▸       val -= BIAS_OFFSET;

#if VERBOSE >= 4
▸       /* WARNING: printf is much time expensive */
▸       printf("adc_measure: val=%d\n", val);
#endif

▸       return val;
}

@Ciusss89 Ciusss89 added bug Something isn't working enhancement New feature or request labels Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant