# Which stepper motor should be enough to move a water valve and for the TMC2130 driver?

I need a stepper motor and a driver to control it. But I don't know which would meet my needs. I have an Arduino MEGA 2560 if that's relevant.

## Aim

I need to close and open a Nupro valve with precision. I will use some kind of gear to join the motor to the key. The most important is to detect when the stress of the motor changes and stop it when the valve is completely closed, to prevent any damage.

## Driver

I have been taking a look and I think the driver TMC2130 could suit my needs. It has the stallGuard2 technology that detects the motor stress and reduces the consumption when the motor is idle. It is common in 3D printers, but it has many other applications.

Is there any better driver? If there is a shield for my Arduino would be more convenient.

## Stepper Motor

I would like to know which should be the minimum features of the stepper motor that I need:

• Torque. I don't know how much is 1Nm or 1mNm. I mean, I don't know how much I need and how to calculate it
• Voltage. 0..46V DC
• Current. The driver can work with stepper motors up to 2.0A coil current (2.5A peak)
• Wires. I didn't find how many wires are supported by the driver I suggested
• Step angle. I think 1.8º would be enough, but I am not so sure

I think one equivalent to this continous servo would be enough. That motor has the maximum of 6V and 190mA.

Would this NEMA 17 stepper motor work?

## Update (15 March 2020)

• Torque:

• I have realised that in the datasheet of the servo is written 38 oz in of maximum torque, 0.27 Nm aproximately. So that should be enough for the Stepper Motor I hope, I will also add some gear and the torque will be a little bit higher and precise

• Valve. The documentation of the Swagelok Valve (S Series) is here. The working pressure is 2000 psig = 137 bar.

However, I am going to work just with gas, so I think that 0.27 Nm would be enough so far.

• Wires. I will work with bipolar mode. So I just need to pay attention to the cables that go in each coil

• Step angle. I will improve the precision adding a gear to the stepper motor. And I will use "Full Step" to keep the motor in the right position as Tony suggests

• I would start with researching the first bullet. It is not a rocket science and the information is free. But before calculating for a motor you need to measure how much you actually need with your actual load.. Mar 10, 2020 at 21:02
• @RonBeyer nupro valve specs are here: swagelok.com/downloads/webcatalogs/EN/MS-01-142.PDF A lot of specs but nothing about needed torque Mar 12, 2020 at 8:05
• Furthermore, swagelok indicates this about needle valves (like this one): Valves that have not been cycled for a period of time may have a higher initial actuation torque Mar 12, 2020 at 8:12
• Gears improve torque but add backlash Mar 15, 2020 at 15:56
• No I Meant what I just said. the results are easy, but writing good specs are hard. E.g. the torque might damage the valve and a spring coupler might be needed. Mar 16, 2020 at 22:06