Pages: [1]   Go Down
Author Topic: Best method to disable Stepper Motor  (Read 688 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using an L293D with the standard bipolar stepper library.  When the motor is not in use, I would like to remove the power to its coils.  What is the best way to accomplish this?  I currently have the Arduino VCC directly connected to the driver pins Vcc1, 1,2EN and 3,4EN.  I have a dedicated 12 volt power source connected to driver pin Vcc2.
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can cut the current to the stepper motors by driving the EN inputs to the L293D low. So you need to connect the EN pins to an Arduino digital output pin instead of to Vcc.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

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

Thank you, this is exactly what I was planning to do but wanted to confirm with others.  I'll connect both EN pins to a single digital output.

Thanks again.
Logged

Pages: [1]   Go Up
Jump to: