Program Resets Without Browning Out.......Motor Noise??
Mikerocontroller
Posts: 310
· I'm currently testing a Tamiya Dual Motor and Gearbox combo with a Pololu Dual Serial Motor Controller.· I'm using four 1.5 volt AA cells for powering both the motors and an OEM BS2sx.·· My problem is my program keeps resetting and I suspect it is from noise.· I've soldered three
· .1 uf. capacitors to each motor (across both terminals and from each terminal to the·motor housing).·· At·any power setting above 10% ·(with or without a load) the Stamp program will reset.· The·Stamp Vdd is steady at 4.95 volts so I don't believe the brownout threshold is being crossed.· I placed another .1uf· capacitor across the Stamp Vdd and Vss terminals with no improvement.· ·I tested my program for any faults by disconnecting the motors from the controller and my program works fine without any glitches or resets.· Is there some more filtering that can be done or is it possible that it could be browning out very rapidly??···Can the motor cases be tied to common ground?· ·Sorry, I don't·have an O-scope at my disposal.·· The motor controller is connected per the documentation.· Thanks.
· .1 uf. capacitors to each motor (across both terminals and from each terminal to the·motor housing).·· At·any power setting above 10% ·(with or without a load) the Stamp program will reset.· The·Stamp Vdd is steady at 4.95 volts so I don't believe the brownout threshold is being crossed.· I placed another .1uf· capacitor across the Stamp Vdd and Vss terminals with no improvement.· ·I tested my program for any faults by disconnecting the motors from the controller and my program works fine without any glitches or resets.· Is there some more filtering that can be done or is it possible that it could be browning out very rapidly??···Can the motor cases be tied to common ground?· ·Sorry, I don't·have an O-scope at my disposal.·· The motor controller is connected per the documentation.· Thanks.
Comments
-Phil
Post Edited (Mikerocontroller) : 3/16/2010 6:27:06 AM GMT
-Phil
micrro needs smooth supply any spike could make ur micro wild. make ur supply to this , it works for me so far.
put capcitor accross the motor , one 0.1uf ceramic and 100u traf 50V polar capacitor , this will kill both high and low frequency transients.
Best of luck