Show Posts
|
|
Pages: [1]
|
|
4
|
Using Arduino / Motors, Mechanics, and Power / Re: two-wire control of unipolar stepper with ULN2003
|
on: March 26, 2012, 05:40:41 am
|
Ah yes, that diode is rather suspicious now... Note that motors aren't pure inductance, each half of each winding is coupled to the other half, which may in practice limit the inductive spikes from a unipolar motor in certain modes.
And there is the issue of step speed - diodes across the windings slow the motor's response down (a diode and zener diode pair per winding can be used to tame the spike and speed up switch-off)
Interesting...how exactly would the diode and zener diode pair be wired? And would it be compatible with the diodes built into the ULN2003? My stepper motors are maxing out at about 400 steps/sec. It would be nice to increase that.
|
|
|
|
|
8
|
Using Arduino / Motors, Mechanics, and Power / Re: two-wire control of unipolar stepper with ULN2003
|
on: March 24, 2012, 02:29:50 am
|
|
After further reflection, I may have a better understanding of why the two 1k resistors are on the inputs. Those two darlingtons are serving as inverters, and sink only 5mA, compared to the other four, which are sinking upwards of 300mA each (at 50% duty cycle). So perhaps the resistors are lowering the base current to accommodate the lower sunk current? Taking the resistors out should still be fine though, right?
It would just mean a little more current draw on the control line (I'm measuring 1.9 mA vs 2.2 mA base current per control line for with and without the resistor).
|
|
|
|
|
10
|
Using Arduino / Programming Questions / Re: incrementing ?
|
on: March 11, 2012, 08:02:54 am
|
|
OK, thanks for clarification. It took me forever to find this solution, so to help others find it, I'll post:
initialize array of Stepper objects initialize array of Stepper instances make array of Stepper objects make array of Stepper instances
as search phrases that will hopefully help others find this!
Stepper motors[] = { Stepper(80,5,6), Stepper(75,9,10) };
|
|
|
|
|
11
|
Using Arduino / Programming Questions / Re: incrementing ?
|
on: March 11, 2012, 07:41:42 am
|
Stepper motors[] = { stepper(80,5,6), stepper(75,9,10), }; will create an array of Stepper objects.
Shouldn't those two "stepper"s be capitalized? i.e., Stepper(80,5,6), Stepper(75,9,10)
|
|
|
|
|