Go Down

Topic: DRV8825 stepper motor driver problems (Read 4073 times) previous topic - next topic

markmarkmark

Hi there, I am using DRV8825 stepper drivers (3 of) to control 2A motors.

They are wired up as so...

http://mchobby.be/wiki/index.php?title=DRV8825

(it shows how the wiring is done about half way down the page)

with the Enable pin attached to a pin but LOW when in use.

I pulled the enable pin of two of the drivers and now they seem to not work even when the enable pin is connected again? (and it was set to LOW anyway)

I know the code is okay because it was working previously, it is just a slightly adapted version of that shown on the webpage.

Does anyone have any advice on how to get this working again or have I destroyed the DRV8825 drivers?

Thanks, Mark


Robin2

I don't know what you mean by "pulled the enable pin of two of the drivers" (is it anything like pulling teeth?).

Assuming you kept the voltage between 0 and 5v I can't see how any damage could have happened. I don't think it is normally necessary to have the enable pin connected.

If you disconnect the motor from the driver (or allow it to be disconnected) while the system is powered up that will probably damage the driver.

Try this simple servo code

What power supply are you using for the motors (volts and amps).

...R
Stepper Motor Basics
Two or three hours spent thinking and reading documentation solves most programming problems.

markmarkmark

I mean that there was a cable connected between the enable pin and the arduino on pin 13

pin 13 on the arduino was set to LOW and everything was great.

But then I pulled the cable out of this pin whilst the motor was spinning by accident.

Now the motor just hisses but the motor does not move, even though I have plugged this cable back in... It does not work with the cable out or in :(

Is there a possible reset?

cheers, Mark

markmarkmark


MarkT

You perhaps let the loose cable hit the 24V supply, that would fry it nicely...

Disconnecting the logic connection to enable shouldn't have any permanent ill-effects.

Disconnecting the _motor_ itself when things are powered up is likely to destroy the
driver.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

markmarkmark

I am sure that didn't happen as I kept hold of it an plugged it straight back in...

is there perhaps a way to reset this driver so I can give that a try?

Thanks everyone, Mark

Robin2

Is there a possible reset?
I'm not sure that there is a diagnostic alternative to trying another stepper driver board.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

markmarkmark

I thought this may be the case...

I was just thinking, it could be in sleep mode. I have the reset and sleep joined together with a jumper.

It wasnt previously but it's behaviour seems sleepy

Robin2

#8
Apr 12, 2015, 03:38 pm Last Edit: Apr 12, 2015, 03:39 pm by Robin2
It wasnt previously but it's behaviour seems sleepy
Do you mean it was working when the reset and sleep were NOT connected and now it is not working when they ARE connected ?

I don't think "sleepy" is a recognized technical term for computers or motors - only for brains

...R
Planning an Implementing a Program   Several things at a time    Serial Input Basics    Stepper Motor Basics
Python-Arduino Comms   Python GUI demo    EzScrn
Two or three hours spent thinking and reading documentation solves most programming problems.

MarkT

It does sound like the DRV8825 got fried, the chip doesn't have persistent state, so power
cycling is all you can do.

Perhaps ground came loose too - then you'd risk static-discharge on reconnection if the step/dir/enable pin(s) made contact before ground.  The 24V supply is floating?
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Go Up