Thread: Stepper control
View Single Post
  #8   Report Post  
Posted to rec.crafts.metalworking
Carl Ijames[_3_] Carl Ijames[_3_] is offline
external usenet poster
 
Posts: 47
Default Stepper control

First, use an optointerrupter instead of a mechanical switch. Either a
complete unit with led on one side of a slot and phototransistor on the
other, or make your own. Then either go discrete logic with a clock through
a gate that gets triggered by the switch and goes to a counter that resets
the gate when it hits the target count. Can either count up or down (just
changes the reset logic on the counter outputs), and you can vary the count
in case you need one or two more or fewer pulses on the stepper motor. Or,
use a PIC or other microcontroller to read the switch and output the pulses.
If getting exactly the right number of steps is vital put an encoder wheel
on the motor with another optointerrupter and read that with the PIC and
count the resultant pulses; step until you hit your target.

-----
Regards,
Carl Ijames

"Buerste" wrote in message
...
I have a simple application for a stepper as a wire feeder(of course). I
have a 34 frame stepper with a 12:1 gear box and a Axidyne (tolomatic) 80v
5A microstepper drive. All I need it to do is run the motor 5 revolutions
(5/12ths rev on the gear box) whenever a limit switch is hit. That will
be about 100 times per minute.

What do I do that's reliable and cheap?