Grasshopper

algorithmic modeling for Rhino

Hi,

We started working in a plotter by controlling two stepper motors using GH, Firefly and an arduino board.

Is there any way to know when a stepper motor has reached it's final position (has finished drawing a line), so a new position can be feeded (start drawing the next line). In other words, is there any way to receive feedback from the steppers?

My first attempt has been feeding new lines assuming that the time needed is proportional to the length of the lines. Given that steppers accelerate and decelerate this is far from being acceptable and I would like to find a smarter way.

Thanks for your help.

Ingenerum

Views: 660

Replies to This Discussion

Hi Ingenerum... I've been working on this exact problem over the last few weeks (when I have time).  The good news, is that I think I have a solution.  I basically had to re-work the entire stepper firmata... as well as update the Stepper component for Firefly.  It works well now, but there are a few extra things I wanted to try to implement first.  Is this something you need right away?

-Andy

Hi Andy, how good you are working on it. It is not urgent nevertheless I'd like to check the new stepper component for Firefly as soon as it is finished.

Also if you want us to test anything on our setup we are available for that. Here a picture of the electronics.

Hi Ingenerium,
i was wandering is your project still going on ? 

It's looking super interesting !

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service