varying pulse frequency to stepper driver.
Archiver
Posts: 46,084
Hi, I've looked at various timer solutions for this, they all appear
(to a newbie to the hobby) to use hardware (R-C) to vary the frequency
of pulse of the timer.
I need to do it in software. This would allow me to use S-curve
acceleration/deceleration and nifty stuff like that.
Does anyone have a nice link for this or can expound on some theme?
The best alternative I have right now is another pic chip dedicated to
managing the pulse. (The whole point of using a stepper driver is to
easily offload the work... that didn't work out quite like I expected
when I found the basic stamp can't do "set and forget" pulses.)
This post is a little disorganized. I want to further that a bit,
though. [noparse]:)[/noparse] I have the opposite problem, in that I have some IR
range-finders, and so far the cheapest solution is to use a PIC chip!
The pic12y67x has a built-in adc and is cheaper than dedicated adc
chips! But it requires a more cumbersome development (programming,
etc.) and I wonder if there isn't a better solution.
Thanks, I hope you find this interesting.
(to a newbie to the hobby) to use hardware (R-C) to vary the frequency
of pulse of the timer.
I need to do it in software. This would allow me to use S-curve
acceleration/deceleration and nifty stuff like that.
Does anyone have a nice link for this or can expound on some theme?
The best alternative I have right now is another pic chip dedicated to
managing the pulse. (The whole point of using a stepper driver is to
easily offload the work... that didn't work out quite like I expected
when I found the basic stamp can't do "set and forget" pulses.)
This post is a little disorganized. I want to further that a bit,
though. [noparse]:)[/noparse] I have the opposite problem, in that I have some IR
range-finders, and so far the cheapest solution is to use a PIC chip!
The pic12y67x has a built-in adc and is cheaper than dedicated adc
chips! But it requires a more cumbersome development (programming,
etc.) and I wonder if there isn't a better solution.
Thanks, I hope you find this interesting.