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

[FR] Detach Servo GCode #22757

Closed
Dakkaron opened this issue Sep 11, 2021 · 3 comments
Closed

[FR] Detach Servo GCode #22757

Dakkaron opened this issue Sep 11, 2021 · 3 comments

Comments

@Dakkaron
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I am using a servo to switch extruders. But for some reason the servo is constantly twitching minimally (not visible, but very audible humming). This leads to the servo overheating and I already lost one servo due to that.

Using DEACTIVATE_SERVOS_AFTER_MOVE isn't really cutting it for me, since the servo needs to be powered during the tool change. The unpowered servo doesn't have enough resistance for the tool change to work.

Are you looking for hardware support?

No response

Describe the feature you want

I'd like to have a GCode that I can issue after the tool change to disable the servo when it is not needed any more. This should keep the servo from overheating and using unnecessary power.

Additional context

No response

@Dakkaron Dakkaron added the T: Feature Request Features requested by users. label Sep 11, 2021
@ellensp
Copy link
Contributor

ellensp commented Sep 12, 2021

Twitching servos is normally cheap servos.

@Dakkaron
Copy link
Contributor Author

I've tested multiple, also one more expensive one, and all of them twitch (twitch as in vibrate, not as in visible motion) and run hot. And all of them run fine on a RC receiver. I read somewhere (can't find it right now) that the LPC1768, the servo library that Marlin uses and RC servos don't play nicely together, because the signal to the servo jitters too much and that causes the RC servos, which are designed to react fast, to twitch.

Anyways, a solution that even let's the user use the cheapest of servos isn't useless either.

I implemented the GCode to detach the servo, and it completely fixes the problem. Now the servos only hum and vibrate as long as they are needed and after the tool change I send the GCode to detach them, and then they are nice, quiet and cool.

I'll clean it up and create a PR in the next few days.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants