Is this OK ?
· Hello All,
I am using the BS2 to send·step and direction pulses·to 2 stepper drivers with 2 phase· motors through 4 out pins. I wonder if I can use just one driver to run both motors as long as only one motor runs at a time.
This is what I'd like to try but don't want to damage the BS2:
OUT 1 and 2 both go to Step,
OUT 3 and 4 both go to Direction on driver.
OUT 1 and 3 would send pulses for motor 1·, OUT 2 and 4 for motor 2.
The motors are 2 phase so I would put 1 transistor in between the driver and the motor·to switch each winding in the motors ON/OFF·and control them with OUT 7,8 for motor 1 and 9,10 for motor 2. So, OUT 1,3,7 and 8 would control motor 1 and
·····OUT· 2,4,9 and 10 motor 2.
If one or more of the transistors crapped out it could damage the driver but I could protect it with fuses.
I just want to be sure that·it would not destroy my stamp by tying the out pins together.
I'm just a beginner and HAPPY to be on board.This stuff is amazing, I wish I would have started earlier in life.
Regards to ALL,
RC
I am using the BS2 to send·step and direction pulses·to 2 stepper drivers with 2 phase· motors through 4 out pins. I wonder if I can use just one driver to run both motors as long as only one motor runs at a time.
This is what I'd like to try but don't want to damage the BS2:
OUT 1 and 2 both go to Step,
OUT 3 and 4 both go to Direction on driver.
OUT 1 and 3 would send pulses for motor 1·, OUT 2 and 4 for motor 2.
The motors are 2 phase so I would put 1 transistor in between the driver and the motor·to switch each winding in the motors ON/OFF·and control them with OUT 7,8 for motor 1 and 9,10 for motor 2. So, OUT 1,3,7 and 8 would control motor 1 and
·····OUT· 2,4,9 and 10 motor 2.
If one or more of the transistors crapped out it could damage the driver but I could protect it with fuses.
I just want to be sure that·it would not destroy my stamp by tying the out pins together.
I'm just a beginner and HAPPY to be on board.This stuff is amazing, I wish I would have started earlier in life.
Regards to ALL,
RC
Comments
First, forget about fuses to protect anything on a microcontoller, as you won't find any/many with a low enough ampacity. We're talking 25-35 ma here. Resistors can easily be used to protect the pin ports of microcontroller, if carefully chosen by size.
Second, I suspect you may run out of pin ports a lot quicker than you think. If you're trying to save money on this project, find a less expensive steppen driver chip. They can certainly be had for less than $10.00 apiece.
Lastly stepper motors are generally spoken of as Unipolar or Bipolar, in lieu of 1 or 2 phase. The term "phase" is generally reserved for A.C. equipment and transmission lines. Some folks may be confused by your terminology.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
As I stated earlier, the fuses would go between the DRIVER and the MOTORS to protect the DRIVER in the event both motors run at the same time and overload the driver. The motors are 4 wire, so I guess that would be Bipolar. Thanks for that info.
My main concern is that it is OK to connect BS2 OUT pins together to the same IN pin on the stepper driver.
Thanks Bruce