Skip to content

[BUG] Rumble Power Limits less than max cause more power-related shutdowns #126

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

Open
SeongGino opened this issue Jun 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SeongGino
Copy link
Member

Describe the bug
When rumble is set and enabled, setting the rumble power to anything less than 100% (or 255/255 from the Desktop App) will actually cause more power-related shutdowns.

To Reproduce

  1. Boot up the gun with rumble less than 255, or configure it to use <255 rumble power.
  2. Do something to initiate the rumble (either shoot offscreen, use Rumble-based Recoil, or initiate over Serial/an FFB distributor program from the PC)
  3. Observe the RP2040 disconnecting and reconnecting erroneously - on some systems, this can appear as disabling hub (emi?) or something to that effect.

Expected behavior
Rumble activation shouldn't be causing issues regardless, but definitely shouldn't have a higher likelihood when decreasing the power/using PWM.

System Info

  • Microcontroller board: rpipico (but should affect any)
  • OpenFIRE Firmware version: v6.0-af80a13

Additional context
FWIW, if running into this issue even with 100% power, initial tests have shown that adding a 1000uF capacitor in the last step of the rumble driver circuit (where the motor connects to the board) can dramatically improve rumble stability. Rumble stability in general continues to be a challenge with the RP2040 boards - this is just one part that is actually caused in part by software.

@SeongGino SeongGino self-assigned this Jun 2, 2025
@SeongGino SeongGino added the bug Something isn't working label Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant