Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Servo control with a CNC shield v3 and UNO
westech
Newbie
Posts: 8
Permalink
Post Servo control with a CNC shield v3 and UNO
on: September 30, 2017, 00:52
Quote

Hello!

First I just want to say hello! My name is Max and I'm 15. I've just been researching Polargraphs these last couple days and am very excited. I pretty much have all the parts at home.

I have Ramps 1.4 but I want to try doing this with an UNO and a CNC Shield v3. Its a GRBL board. I understand the Stepper control pins, but how can I wire the servo? I'm not sure the Shield supports a 3 wire servo. I guess I can just run the wires straight from the UNO.

I understand I will be running the Polargraph firmware not the GRBL CNC firmware. (and yes, I have 2 a4988 drivers).

Just wanted to say Hi, and maybe get some thoughts.

Thanks

Max

Image

pauantich
Newbie
Posts: 3
Permalink
pauantich
Post Re: Servo control with a CNC shield v3 and UNO
on: October 8, 2017, 12:32
Quote

https://www.thingiverse.com/thing:1926074

sandy
Administrator
Posts: 1235
Permalink
sandy
Post Re: Servo control with a CNC shield v3 and UNO
on: October 8, 2017, 18:27
Quote

Polargraph firmware expects to control the servo with pin 9, so you need to access that somehow. Alternatively you can change the servo pin to an unused one by modifying: https://github.com/euphy/polargraph_server_a1/blob/master/polargraph_server_a1.ino#L135

The motor driver pins are specified in https://github.com/euphy/polargraph_server_a1/blob/master/configuration.ino#L53-L63 so you can map them to the GRBL shield pinouts, avoiding pin 9 perhaps!

Good luck,

sn

westech
Newbie
Posts: 8
Permalink
Post Re: Servo control with a CNC shield v3 and UNO
on: October 10, 2017, 01:37
Quote

Thanks! I got the servo running fine on pin 9!

Still working on the motors!

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.025 seconds.