I was wondering how I could run a Stepper Motor 17HD2011N-ETC using an Arduino Uno to create some king of slider for photography, which will be driven using a trapezoidal screw.
Yes, modern bipolar steppers use current controlled drivers.
For that motor a DRV8825 may be a good choice with capacity of 1.5A coil current with no heat sink and 2.2A with heat sink and forced air cooling. Pololu has a good selection of other stepper drivers for your consideration.
For the DRF8825 driver, the supply voltage will need to be more than 8.2V and maximum of 45V. Maximum torque and speed will be obtained with highest voltage.
See the DRV8825 page linked above.
Define precise. The DRV8825 is capable of X32 microstepping which works out to 3200 steps per revolution or 0.1125 degrees per step. Is that precise enough?
It is imperative that you set the coil current on the driver before using the stepper motor. See the linked DRV8825 page for instructions. You do not need to set the current to maximum for the motor. Set the current to a value that gives good performance without missing steps. Lower currents will make the motor and driver run cooler and last longer.
Ok, I'll take one of those, how do I find a heat sink for this driver ? Is it included in the component itself ?
So I won't have all the torque of the motor with a 12V power supply (which is apparently recommended) ?
And what about the current ? Does it need to be higher or lower to take advantage as much as possible of the Driver ?
For example, is a 12V and like 3Amps Power Supply sufficient ? If not, what do you recommend I use ?
Oh yes, that is enough !!
Good to know !
How do I know I'm not missing any steps ?
Good to know too !!
Anyways, thanks a lot already, everything's already a lot clearer !!!
Most of driver modules that I have purchased came with a heat sink. I got my DRV8825 drivers with a CNC shield V3 (Packaged with an Uno). Others from Amazon and Pololu.
The product description should say if the heat sink is included. It does not look like the Pololu drivers come with heat sinks. Hopefully their tech support can point you to a proper heat sink.
At least twice the coil current plus some margin. The more the margin the cooler the supply runs and lasts longer.
Sometimes you can hear it, depending on the driver, stepper, installation, ... Or you can test for it: Mark a starting point, run it one direction under load, run it back the same number of steps. Any difference in starting to stopping point is missing steps.
Twice the coil current already has some margin, because two coils draw 142% max. And a current controlled stepper also draws less current from the supply than the motor settings. I expect the motor, with 1A setting, to draw about 600mA from a 12volt supply.
Overhead is good though, so go for a 1-2A supply if you can.
Leo..
So 12V 2A power supply ?
Would it be better to go with a 24V 2A Power supply ?
Could I wire the supply directly to an Arduino Uno, and to the stepper motor driver ?
No.
Because of the voltage difference between 12volt supply and 5volt Arduino things get hot if you draw too much current. Power (heat) in the 5volt regulator = voltage difference * current.
The load of the logic supply of the DRV8825 is fine. Just be careful if you connect more to the Arduino.
Leo..
If you want to run the motor at 24V (or 12V) and power the Uno with the same supply, use a DC DC converter (buck converter) to drop the 24V to 5V and connect that 5V to the Uno 5V pin.
It is important to understand what @Wawa is saying about using power from the weak on board 5V regulator of the Uno. The higher the supply voltage to the weak 5V regulator the less current that the regulator is capable of supplying without overheating and shutting down.
I don't know which LCD you mean, but a common 2-line LCD will be ok.
The LCD's backlight is the largest consumer.
I don't know what current you want to run the LEDs on.
3 * 20mA could be too much, 3 * 5mA would be fine.
10k pots draw 0.5mA each, and a switch could be done with internal pull up (0.0x mA).
All these restrictions disappear with a buck converter.
Leo..
That means that you will use the weak on board 5V regulator to power the Uno and peripherals. That is fine as long as you limit the current to be supplied to less than about 250mA (9V input). If you use buck converter to 5V and connect to the 5V pin, bypassing the on board regulator, you have the current capacity of the buck converter available.
Oh I think I understand now, thank you very much !
But wait, does that mean I could use 5A of power on the Arduino ? If so, that is fairly good !!
For example with this Buck converter that claims to deliver up to 5A, or will I just be limited by the current of my power supply ?