Pages: [1]   Go Down
Author Topic: Dc Motors Cut Out Power  (Read 1206 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all

Im currently running a stepper motor and 6 DC Motors. The stepper motor is continuously on and running from a 12v power supply via the VIN pin and the DC Motors are only triggered one at a time from the 5V pin. However, when the DC Motors are turned on (via a microswitch), the Stepper motor stalls for about 3 seconds then starts again. The DC Motor does not loose power. When the DC Motor is turned on, causing the stalling of the stepper, the L, TX and RX LEDs flash on the Arduino board (Uno).

Is something shorting/back currenting and the Arduino protecting itself by resetting? Do I need to use capacitors or diodes anywhere to prevent this, if so, where in the circuit?

Any help appreciated

Cheers
Logged

0
Offline Offline
Faraday Member
**
Karma: 13
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It definitely sounds like your Arduino is resetting due to the surge in current caused by turning a DC motor on. It's tough to figure out exactly what's going on without some kind of diagram showing how you've got things hooked up.

--
The Aussie Shield: breakout all 28 pins to quick-connect terminals
Logged

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

Here it is, does that make any sense?



Obviously the 4 pins from the transistor array go to the Ardunio for stepping control
« Last Edit: May 09, 2011, 05:22:35 pm by skatterbrainz » Logged

0
Offline Offline
Faraday Member
**
Karma: 13
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Where does the Arduino get its power?

Also, try to keep the ground wiring as separate as possible for the DC motor and the Arduino, like this:



--
The Rugged Motor Driver: two H-bridges, more power than an L298, fully protected
Logged

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

Thanks, ill give it a go

Its powered by a 12V power supply going into the power jack
Logged

0
Offline Offline
Shannon Member
****
Karma: 159
Posts: 10409
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Power the DC motors from a separate regulator, not the onboard regulator on the Arduino board, that is v. bad practice (motors generate damaging spikes and crowbar the supply voltage).
Logged

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

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

Thanks alot, running the DCs off a separate battery pack now, working great

Cheers
Logged

Pages: [1]   Go Up
Jump to: