core icon indicating copy to clipboard operation
core copied to clipboard

Controlling RC Servos?

Open DrKlipper opened this issue 3 years ago • 3 comments

Hi ! Maybe I missed it, but is there any way of controlling RC Servos? I´m planning an Pen Plotter which uses a rc servo to move the pen up and down. Is there any way to do this in grblHal using M3/M5 commands? And if not are there plans to include this?

And if this is not possible ... Can I use a stepper for this purpose?

DrKlipper avatar Jan 09 '23 05:01 DrKlipper

Maybe I missed it, but is there any way of controlling RC Servos?

Most drivers supports this, see note 13 at the bottom of the drivers list for how to for those that do.

And if this is not possible ... Can I use a stepper for this purpose?

Yes, and you may also use a solenoid - here is a plugin that reduces the current after a short delay.

terjeio avatar Jan 09 '23 07:01 terjeio

Most drivers supports this Oh, that is great to know.

And which gcode commands will control this? Is it M3, M4, M5 like for Lasers?

DrKlipper avatar Jan 09 '23 07:01 DrKlipper

M3/M4 + S value to move, M5 for back to "home" position.

terjeio avatar Jan 09 '23 07:01 terjeio