Pages: [1]   Go Down
Author Topic: Duemilanove and Motor Controller INTERFERENCES !  (Read 321 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have a problem... I just built up 5 robots with DFRobot 4.8-46V, 2A Dual Motor Controller and Arduino Duemilanove  Microcontroller.

The thing is that when I load a program it works fine (I monitor it with Serian.Print()smiley-wink, but when I power up the Motors through the motor Controller (the one writen above), Arduino is not working as it should.

For example if I monitor the “millis()” time it gets reseted from time to time as long as the Motor Controller is powerd...

Any suggestins ?
Thanx
« Last Edit: July 26, 2010, 09:21:26 am by vviper » Logged

Chennai, India
Offline Offline
God Member
*****
Karma: 0
Posts: 752
Peace!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think this is  very similar to what i'm facing.  :-/
Logged

Be The Change...

Orygun
Offline Offline
Full Member
***
Karma: 0
Posts: 195
Don't let the smoke out!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not a lot of details in the above, so here's a few generalizations.

Power surges and switching hash caused by the motors gets into the microprocessor from trying to
use a common power source. Power the motors off a separate power supply that is able to provide
the current necessary to run all motors at full power.

Not having a common ground between the Micro-controller and the motor controller board.

Not using hash bypass filters on brushed motors. The usual is .01 uf capacitors one each from the
motor terminals to the metal motor housing and selected for a working voltage at least twice the
source voltage supplied to the motor

Grumpy Mike has a few good pointers on dealing with power problems:
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
« Last Edit: July 26, 2010, 12:16:14 pm by Sean » Logged

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

thank you...
the really annoying thing is that the delay time for a simple loop like the bellow one, is different almost each time...

void loop() {
             rotateRight();    // starts motors, rotate right
             delay(5000);       //delay = gives the degrees of rotation
              stopMotors();   // stop motors
}
              
WHY????
« Last Edit: July 27, 2010, 09:48:21 am by vviper » Logged

Pages: [1]   Go Up
Jump to: