Grasshopper

algorithmic modeling for Rhino

Sending different speeds to different motors through Stepper Motor Stream

Hi Guys,

We're sending 4 different steps information to 4 motors connected to one arduino board every 5 seconds (with a timer) but we also need to send 4 different speeds to match these steps for each motor.

Is that something we can do or is the Stepper Motor Stream component limited to one speed for all four motors at once?

I hope you can help. Many thanks.

Arthur 

Views: 329

Replies to This Discussion

Hi Arthur, any progress with this? I'm in the exact same situation. Were you able to enter various speeds with Firefly, or did you go with a more custom solution?

Update: Set the speed and acceleration as single numbers (as their are only one input for each).

Then you can vary the speeds of the different motors by altering the # of microsteps inputted, and changing the rate of input using a timer and some graph mapper/custom equations.

An example I came across that helped: https://www.youtube.com/watch?v=HAcyi2ZItkg (by a Nathan Melenbrink)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service