i tried with only 4us of "off" state and the input pin of the ic connected to the pic count the clock pulses very good, like the datasheet says
i tried with only 4us of "off" state and the input pin of the ic connected to the pic count the clock pulses very good, like the datasheet says
it work with even 1us off state
Are you looking to implement a frequency multiplier using PIC ?
oh no, it's a stepper motors driver
Well okay, a stepper motor driver should not be difficult to implement. You are possibly asking for some kind of multiplication factor between an input wave (encoder) and the output drive(Stepper). I'm not sure I understand the problem you described very well.
Last edited by Jerson; - 20th January 2016 at 18:18.
simply the stepper motor driver use the input clock to define the steps, one rising pulse is one step, 400 rising pulses are 400 steps
So the PIC is what's going to generate the pulses for two step motor drivers and you're trying to implement linear interpolation in the PIC?
Generally what you're looking for is Breshenhams algorithm but your case seems rather specific with one axis always moving the same distance so I don't know.
/Henrik.
if i choose the two pic serially connected solution the two separate quartz can produce an error in time or it will be negligible?
Bookmarks