Pages: [1]   Go Down
Author Topic: Stepper Overheating  (Read 1524 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
i've just got the arduino uno and i am trying use it to power a stepper motor. But when i try the stepper overheats.

http://www.schmalzhaus.com/EasyDriver/Examples/Example1_bb.png

the code i am using is:
int Distance = 0;

void setup() {               
  pinMode(8, OUTPUT);     
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}

void loop() {
  digitalWrite(9, HIGH);
  delayMicroseconds(100);         
  digitalWrite(9, LOW);
  delayMicroseconds(100);
  Distance = Distance + 1;
  if (Distance == 3600)
  {
    if (digitalRead(smiley-cool == LOW)
    {
      digitalWrite(8, HIGH);
    }
    else
    {
      digitalWrite(8, LOW);
    }
    Distance = 0;
    delay(500);
  }
}
Logged

South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1025
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The problem is that you are supplying too high a voltage/current to the motor.

When the motor is powered there is current flowing through the windings and it would appear that probably the voltage of the motor supply id too high.

Stepper motors do tend to warm up when they are stationary.
Logged

St. Louis, Missouri
Offline Offline
Sr. Member
****
Karma: 1
Posts: 279
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What do you mean by "overheating" ? Steppers are designed to run rather hot. Most are rated for a temperature rise of about 50 degrees celsius. In real world applications an aluminum mount is usually used for the motor which serves as a heatsink.
It appears you are you using an EasyDriver which has a current limiting trim pot. You can use this to adjust the motor current which can reduce the heating if it's excessive.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34519
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the code i am using is:
So why do you think code will cause overheating?

What driver are you using? What current have you set it to? What motor do you have?
The slower the motor turns the hotter it will get. When stopped it gets hottest.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the replies,
i have limited the current/voltage and all seems to be fine, thanks!
Logged

Pages: [1]   Go Up
Jump to: