Reduce the temperature of the stepper motor nema 17, using arduino uno and driver TB6600 (HY-DIV268n-5A)

Hello dear all.
I am totally new to electronics, arduino and driver (my background is totally different).

I am looking for help on stepper motor NEMA 17, (many of you can say that there are many post about it). Well, i checked many of them and i could not find any answer.

Look i have an arduino uno, and of course my stepper motor nema 17 with the following specifications

42SHD0217-24B
Shaft diameter Ø 4.5 x 22 mm (single shaft)
Connection 6-pole connector (JST), 4 pins used
Steps per revolution 200
Holding torque 0.45 Nm
Rated voltage 3.3 V
Rated current 1.5 A
Step angle 1.8°
Amount of Phases 2
Phase resistance 2.2 Ω
Phase inductivity 5 mH
Isolation resistance Min. 100 MΩ at 500 V DC
Isolation class B (130°)
Rotational inertia 57 g·cm²
Detent torque 0,015 Nm
Operating temperature -10 - 50 °C
Dimensions 42 x 42 x 42 mm
Weight 0,3 kg

NEMA 17-04 stepper motor

Then i looked for a driver, and i decided to go for the following one TB6600 (HY-DIV268n-5A)

With the following specifications

Specifications:

Voltage range (power supply): 8-42VDC (12-36V recommended)
Voltage range (signals): 2.0-5.5V
Maximum peak current per bridge (adjustable via dipswitch): 0.2A, 0.6A, 1.2A, 1.8A, 2.5A, 3.3A, 4.2A, 5.0A
5 micro step options
Driver type: Toshiba TB6600
Input signal isolation via optocouplers
Built-in thermal protection
Built-in protection against over current
Built-in heatsink
Dimensions: 106x76x33mm (without screw terminals)

The reason!, because i saw many post and almost of all them discard the driver L298N.

Hence the first question is: Is my chosen driver RIGHT?.

Then, i set the current to 1.2A into my driver, also 1 step.

my wiring is the following one (see image
schematic-for-connecting-TB6600-Driver-to-stepper-motor-and-Arduino
)
i followed this link https://mytectutor.com/tb6600-stepper-motor-driver-with-arduino/

i just want to run my motor in one direction also i want really small speed but of course continuous movement

Hence i wrote my code


const int stepPin = 5; 
const int dirPin = 2; 
const int enPin = 8;

void setup() {
  pinMode(stepPin,OUTPUT); 
  pinMode(dirPin,OUTPUT);
  pinMode(enPin,OUTPUT);
  digitalWrite(enPin,LOW);
  
}

void loop() {
  digitalWrite(dirPin, HIGH); // Enables the motor to move in a particular direction
  
  for (int x = 0; x < 200; x++) {
    digitalWrite(stepPin, HIGH);
    delay(30); // Adjust this delay as needed to reduce the speed and heat
    digitalWrite(stepPin, LOW);
    delay(30); // Adjust this delay as needed to reduce the speed and heat
  }
}

Then everything works nice and neat, up to the point on which the motor gets extremely hot, also the driver gets hot.

i need to run the motor for at least 3 hours (can be less).

Is my code right?.
Is my wiring right?
Is my driver right?
How to lower the temperature?
Can you provide any suggestions?
Note: i lowered the current on my driver to 0.6A in order to see improvement, but as i told you i have no idea about this topic.

Thanks in advance
Alberto

Please measure the temperature. Steppers are designed to run hot, and are usually rated for case temperatures of 80 C or higher, which may seem to you to be "extremely hot".

On the other hand, the motor torque and heat production is proportional to the current, so unless your project requires the full torque, you can reduce the maximum current to fit the actual need.

of course my stepper motor nema 17

Why "of course"? Choose the motor that your project requires. NEMA 17 specifies only the size of the motor mounting plate.

Is see a lot of the specification at 80F plus ambient for rise. That would feel pretty darn to a bare hand.

1 Like

Heat is less of an issue when the motor is mounted to an aluminium frame.
Leo..

1 Like

A brushed DC gearmotor would be a much, much better choice than any stepper.

Thank you very much.

Well, as i mentioned before i am new in that area, however, after all your comments, i lookde for info, complementing what you just said.

And i have to thank you, because my motor is "hot", i can hold it with my hands, but after a while hurts a bit. This follows the comments from the other guy "

That would feel pretty darn to a bare hand

"
I left my motor running for 2 hours and a half and everything was smooth.

Also, i reduce the current because as you said

you can reduce the maximum current to fit the actual need

about the nema 17 i also searched for that and there are motors with different sizes like nema 23. However, according to my project i really need nema 17.

Finally, you mentioned in another comment

A brushed DC gear motor would be a much, much better choice than any stepper.

unfortunately i can not change the motor, also as i mentioned before i have no experience with this area, i know that i can do some research on that, but i have some deadline for my research project.

thanks

Best Regards

Thank you

I replied to Jremington.

Also you are right i saw several specifications as well about the temperature.

Thanks

Fine, if you really need that size of motor mounting faceplate (1.7 inches).

According to my project i can not add anything else.

I was afraid because i was thinking that such a temperature was becasue i did something wrong like wiring or code.

But now, knowing the specs of the motor in temperature, everything is clear for me.

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