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

Improving the ADC #85

Open
sraillard opened this issue Mar 16, 2024 · 0 comments
Open

Improving the ADC #85

sraillard opened this issue Mar 16, 2024 · 0 comments

Comments

@sraillard
Copy link

The low level code, running on RPI Pico, is reading 3 analog values:

  • Battery voltage
  • Power voltage
  • Battery charging current

The ADC seems to be noisy, using a moving average on 10 samples should improve the stability of the measures.

Also, I would be great if ratio can be configured (using UART commands) so calibration can be done for these 3 values (right now, the ratio are fixed in code, and I can observe a noticeable difference in voltage reading, this is especially important for monitoring the battery voltage).

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