Running a 17HD2011N-ETC Stepper Motor

Hello fellow makers !

I hope you're all doing great...

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.

Here are the specs for the motor : Stepper Motor specs

Model number : 17HD2024N
Resistance per phase : 4.1
Inductance per phase : 8.5
Rated current : 1
Holding torque : 390 mNm or 55.24 oz-in
Detent torque : 15 mNm or 2.12 oz-in
Rotor inertia : 57 g.cm² or 0.31 oz-in²

What power supply will I need ? How do I wire this ? Do I need a driver ? Could I move it precisely, like step-precise ?

How do I code it ?

I'm kind of new in this domain, so everything seems so intricate...

Thanks a lot,
Leo

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.

1 Like

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..

Ok, then I'll be careful not missing any steps...

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 ?

If you need torque at high speed, maybe.

An Uno can't be powered directly with 24volt.
Leo..

Can it be with 12 V ?

Yes, on the DC socket or on V-in (DC socket preferred).
Note that current draw at that voltage for sensors etc. is limited to 100mA.
Leo..

So I must put a resistor before the Arduino ?

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.

Or can I use this DC DC converter to lower the voltage from 24V to 9V so as to connect on the JACK DC port of the Arduino ?

If not, what do you recommend me to use ?

To the Arduino will be connected a LCD screen, 3 LEDs, one microswitch, and like 2 potentiometers. Will this be too much ?

I gave you the 100mA absolute max recommendation.

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..

This one or one of this kind.

For the Buck converter, is the one I mentionned in my previous message good ?

For the LEDs, would it be fine to use 330 Ω resistors ?

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 ?

If you must see them in bright sunlight, then yes.
Otherwise a 1k resistor would be good enough.

Google/learn how to calculate LED current.
That depends not only on the voltage and resistor value, but also on the colour/type of LED.

The LCD is, as I said, a common 2-line LCD.
Leo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.