Servo support
Hi Carlos,
I am using your firmware for my school project, for our Z-axis we want to use a 9g servo to move the pen up and down. Is there already servo support in this version which i dont know of? Or will you be implementing this? I hope you might be able to help us or atleast guide us on how to implement this since we are eager to learn
Yours sincerely,
Niek van der Plas
Hi Niek! I have not used servos with GRBL. Maybe you could incorporate the servomotor code in the ramps.h file. There is a rampsInitSteppers() and rampsWriteDisable() function where the servo could be initiated, attached or detached, instead of the Z motor pins. Also in that file there is rampsWriteSteps() and rampsWriteDirections(), the code to move a servo could potentially go there.
Hey Carlos,
I will try what you just said, I hope you know what to do when i don't :D Thank you very much for your time
Sincerely,
Niek
2017-03-28 18:36 GMT+02:00 Carlos Garcia Saura [email protected]:
Hi Niek! I have not used servos with GRBL. Maybe you could incorporate the servomotor code in the ramps.h file. There is a rampsInitSteppers() and rampsWriteDisable() function where the servo could be initiated, attached or detached, instead of the Z motor pins. Also in that file there is rampsWriteSteps() and rampsWriteDirections(), the code to move a servo could potentially go there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CarlosGS/grblForCyclone/issues/3#issuecomment-289828855, or mute the thread https://github.com/notifications/unsubscribe-auth/AYmoJsOMsJuPO7bZSaK9lt1TRdCJW_jGks5rqTbygaJpZM4MneuG .
I need to do a few things:
- Make the servo connect to the ramps
- give it a gcode command for it to move
2017-03-28 18:43 GMT+02:00 niek plas [email protected]:
Hey Carlos,
I will try what you just said, I hope you know what to do when i don't :D Thank you very much for your time
Sincerely,
Niek
2017-03-28 18:36 GMT+02:00 Carlos Garcia Saura [email protected]:
Hi Niek! I have not used servos with GRBL. Maybe you could incorporate the servomotor code in the ramps.h file. There is a rampsInitSteppers() and rampsWriteDisable() function where the servo could be initiated, attached or detached, instead of the Z motor pins. Also in that file there is rampsWriteSteps() and rampsWriteDirections(), the code to move a servo could potentially go there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CarlosGS/grblForCyclone/issues/3#issuecomment-289828855, or mute the thread https://github.com/notifications/unsubscribe-auth/AYmoJsOMsJuPO7bZSaK9lt1TRdCJW_jGks5rqTbygaJpZM4MneuG .
Hi Niekvdplas Did you archieve something?
@Niekvdplas i was looking for the same. Please tell us if you have found a solution to that?