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

Add RPM deck test for Brushless #1382

Merged
merged 10 commits into from
Jun 11, 2024
Merged

Add RPM deck test for Brushless #1382

merged 10 commits into from
Jun 11, 2024

Conversation

ToveRumar
Copy link
Contributor

@ToveRumar ToveRumar commented May 30, 2024

Add a new test for Brushless that measures the rpm of the propellers at startup.

The limits can be tweaked if needed (maybe after testing with some bad soldering). Tested within a closed box.
The RPM starts fluctuating slightly but the average is pretty much the same.

The BL needs to be stuck in some way for running this test or it will start flying a bit.

I also removed the settings.json file from the repo. Its in .gitignore so its causing issues when mismatched from the checked in version. It is added as a separate commit in this PR

It is needed for production on CF-BL but it is not any issue of inluding it on other platforms aswell
The limits are not yet decided
The test will run for approx 30 sec, and will feed the ESCs with a new PWM signal every 50 msec to prevent it from going asleep.
Run one test per motor one at a time.
Keep a local copy instead
These pins will be tested indirectly from the rpm test by reading on them.
@ToveRumar ToveRumar requested a review from tobbeanton May 30, 2024 12:55
@ToveRumar ToveRumar force-pushed the toverumar/add_bl_test_deck branch 2 times, most recently from 0dbbd58 to e1a4048 Compare May 30, 2024 13:22
The ESCs needs to be fed a signal constantly to not go to sleep,
however we can not start the test until ESCs are started (which we dont
know exactly when that is).

To get around this issue we will wait a time, while constantly feeding the
ESCs at 1KHz with a 0 PWM signal. After this time we start the test.
@tobbeanton tobbeanton merged commit fe48d59 into master Jun 11, 2024
24 checks passed
@tobbeanton tobbeanton deleted the toverumar/add_bl_test_deck branch June 11, 2024 08:37
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.

2 participants