Go Down

Topic: Duemilanove and Motor Controller INTERFERENCES ! (Read 362 times) previous topic - next topic

vviper

Jul 26, 2010, 04:21 pm Last Edit: Jul 26, 2010, 04:21 pm by vviper Reason: 1
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();), 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

pracas

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

capt.tagon

#2
Jul 26, 2010, 07:02 pm Last Edit: Jul 26, 2010, 07:16 pm by Sean Reason: 1
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

vviper

#3
Jul 27, 2010, 04:46 pm Last Edit: Jul 27, 2010, 04:48 pm by vviper Reason: 1
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????

Go Up