From: IOhannes m zmölnig <zmoelnig@iem.at>
To: pd-list@lists.iem.at
Subject: Re: [PD] stepper control

depends...
you really have the same jitter when doing signal processing, and yet
you don't hear it.
(just hook your [metro 0.1] to a [tgl] -> [vline~] -> [dac~])

why? because [dac~]/[adc~] synchronize the jittery input data with a
real-time clock.

so Pd itself is accurate enough. the problem is that you cannot really
hook a number box to your stepper motor, you need some object that
translates the in-patch messages to real-world events. and this object
needs to properly handle the timed messages.

since ray did not mention how he gets the data to the stepper motor,
there is little additional help I can give.

gfmdsr
IOhannes


yes, after lots of tests i discover the polarity switching sequence

to make the motor spin continuosly in one direction or the other.

of course the method of using a metro for banging each pulse

runs into problems when going a bit faster and it completely

collapse. im using an l-298 h bridge with an arduino and

firmata and doing all the control with digital pulses.


there is another little stepper driver controller that

can work with only 2 instructions, the direction and the pulse.


it could be really cool if it where possible to do the control

with an oscillator as Roman suggested but then how would

you connect the 4 cables of the bipolar stepper?


is there a tutorial on how to drive steppers with the same

control you drive sound into a speaker?


thanks

r.y