Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Using servos instead of steppers
linkreinca-
rnate
Newbie
Posts: 3
Permalink
Post Using servos instead of steppers
on: June 8, 2015, 03:10
Quote

Is there a way that I can use servo motors instead of steppers? All i have are servos. How difficult would it be to convert this to user servos?

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Using servos instead of steppers
on: June 8, 2015, 23:58
Quote

Hello! It wouldn't be difficult, not really. Access to the motors is actually reasonably well encapsulated through the changeLength(), changeLengthRelative(...) and moveAxis() functions in util.ino.

Although the firmware is heavily dependent on AccelStepper, even that is fairly well wrapped, so all motor movement only takes place inside of those functions above. That aspect of the firmware is pretty clunky, and I always considered it unsophisticated and quite limiting, but this is the up-side of it.

Change the contents of those functions to control the speeds of your motors instead. You will also need to add some motor definition and set-up into setup() or configuration_motorSetup().

good luck!
sn

linkreinca-
rnate
Newbie
Posts: 3
Permalink
Post Re: Using servos instead of steppers
on: June 9, 2015, 02:16
Quote

Ok thanks I'll look into getting that to work.

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