Conversation
Defined new symbol SPINDLE_SERVO_CONTROL on config.h that when defined will cause the prescaler for PWM on pin 11 to be set to 1/1024 instead of the original 1/8 bringing PWM freq down to 61Hz. Defined configuration values: - SERVO_MIN_PULSE_WIDTH - SERVO_MAX_PULSE_WIDTH and symbol: - INVERT_SERVO_ENABLE Than can be used to configure the servo movement range and direction. Restrict SPINDLE_SERVO_CONTROL and MINIMUM_SPINDLE_PWM enabled at the same time.
|
Hi! I did some tests using a mini xy cnc setup from dvd drives, a hxt-900 servo, a multi-meter and a dso nano v3 oscilloscope. These are the things I tested for:
If you have a chance please take a look and let me know if it's of any value. |
|
@chamnit I would appreciate some feedback on this pull request if possible. Thanks a lot for your time. |
|
@jrhuerta : Apologies for tardiness. Been having a series of life events happening over the last couple of months. I'd like to hold off on servo support on the 328p version of Grbl until after v1.0 comes out. You'll see why when it does. After v1.0 though, I don't plan on working a lot on the firmware, since I'll be devoting my time to continuing to develop Grbl-ARM and add things to Grbl-Mega (2560). We can look into servo support officially then, but don't remove your pull request. It's still useful as providing a template to work from. |
|
Thanks a lot for your time! Let me know if I can help in anyway, I would be interested. |
Defined new symbol SPINDLE_SERVO_CONTROL on config.h that when defined
will cause the prescaler for PWM on pin 11 to be set to 1/1024 instead
of the original 1/8 bringing PWM freq down to 61Hz.
Defined configuration values:
and symbol:
Than can be used to configure the servo movement range and direction.
Restrict SPINDLE_SERVO_CONTROL and MINIMUM_SPINDLE_PWM enabled at the
same time.