CarlosGS / grblForCyclone

GRBL port for RAMPS and Sanguinololu boards. Original port was done by ArSi (read description)
Other
84 stars 22 forks source link

Servo support #3

Open Niekvdplas opened 7 years ago

Niekvdplas commented 7 years ago

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

CarlosGS commented 7 years ago

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.

Niekvdplas commented 7 years ago

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 notifications@github.com:

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 .

Niekvdplas commented 7 years ago

I need to do a few things:

2017-03-28 18:43 GMT+02:00 niek plas niekvanderplas1@gmail.com:

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 notifications@github.com:

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 .

Klariff commented 7 years ago

Hi Niekvdplas Did you archieve something?

praful15 commented 6 years ago

@Niekvdplas i was looking for the same. Please tell us if you have found a solution to that?