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

Accurate motor current draw #143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ShadedSelf
Copy link
Contributor

@ShadedSelf ShadedSelf commented Aug 1, 2023

The brushless board adc offset is 1.675v on average.
Since the only way to get accurate readings is averaging over time, cutting negative values skews readings, this PR removes the negative cutoff so values average correctly.

I couldnt find any reason why negative numbers would be a problem with the current 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

Successfully merging this pull request may close these issues.

1 participant