Pages: [1]   Go Down
Author Topic: How to stop a stepper motor from holding/locking?  (Read 1506 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there anyway I can stop powering my stepper motors after they're done doing what they need to do? Seeing as I don't have a proper power supply for them, they tend to get hot after just a few minutes, even though they're rarely in use. I don't need them to lock when not in use, so is there anyway to turn them off with the stepper library?
Logged

Netherlands
Offline Offline
Sr. Member
****
Karma: 1
Posts: 290
(:-)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Most motor drivers have a enable pin. You could use that.
Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11690
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Which version of which stepper library?
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@wortelsoft I'm using an h bridge made of discrete transistors that I ripped out of some remote control car a while ago, obviously no enable pin there smiley-sad

@MarkT Version 0.4 of the standard stepper library that comes with the arduino IDE.

After googling I found that the AFmotor library has a release() function which seems to do what I need, but I don't know how I should hook up my stepper motor, since AFmotor is supposed to be used with the motor shield. Currently the stepper is connected with all four wires going to seperate pins.
Logged

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

Quote
I'm using an h bridge made of discrete transistors that I ripped out of some remote control car a while ago, obviously no enable pin there
You need to make both sides of the H-bridge switch to the same level. If you have not got independent control over each half bridge then there is nothing you can do. So without the schematic of what you have it is hard to say if this is possible.

A stepping motor develops maximum torque and hence draws the most current when it is stopped.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 207
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Alright, sending a LOW with digitalWrite() to every pin on the h bridges seems to do the trick (didn't work the first time I tried though...) , I guess I'll hook the big power supply back up and hope it all works.
Logged

Pages: [1]   Go Up
Jump to: