Propeller Resetting issue
jaeg
Posts: 156
My Robot:
I'm using a Gadget Gangster Propeller board with a prototyping module equipped with a Ping, Mesmic accelometer, and TI's version of the L293d motor driver chip. My robot is built from a Tamiya Track set with a twin gearbox. The motors are from Solarbotics. My robot use to use a Picaxe board and worked just fine off of 4 AAs. I wanted to use the board for another robot and had my Propeller board laying around and a Mesmic sensor so I thought what the heck.
My problem:
For some reason when my motors change direction the Propeller resets. I check the voltage and it's not dropping below 5volts on Vin, and both the 5v and 3.3v regulators are producing acceptable levels. Both my motors have caps on them and the did cause the Picaxe to reset before. My motors are connected via these screw terminal things so I can easily remove them. I've noticed that if I have my screwdriver touching on of the terminals it doesn't reset.
I'm using a Gadget Gangster Propeller board with a prototyping module equipped with a Ping, Mesmic accelometer, and TI's version of the L293d motor driver chip. My robot is built from a Tamiya Track set with a twin gearbox. The motors are from Solarbotics. My robot use to use a Picaxe board and worked just fine off of 4 AAs. I wanted to use the board for another robot and had my Propeller board laying around and a Mesmic sensor so I thought what the heck.
My problem:
For some reason when my motors change direction the Propeller resets. I check the voltage and it's not dropping below 5volts on Vin, and both the 5v and 3.3v regulators are producing acceptable levels. Both my motors have caps on them and the did cause the Picaxe to reset before. My motors are connected via these screw terminal things so I can easily remove them. I've noticed that if I have my screwdriver touching on of the terminals it doesn't reset.
Comments
-Phil
When the motors are running they are trying to go as fast as they can up until the point that their internal generated voltage tend to match the supply (as much as their loading will let them). When they are reversed that almost equal voltage is fighting the supply and will give a short period of almost cancellation (at the motor terminals at least). So common point grounding at the supply source is vital.
Ground loops crop up "dead sneeky" and can be absolute piglets to trace/eradicate.
I put a 2.2K pull-up resistor and a 0.1µF cap. No more resetting problems for me.
I actually just got it to quit resetting by swapping which motor goes to which output on the motor driver chip. So I'm really unsure what's causing the problem.
-Phil
You could use 10uF ceramic caps with a 10-47uF inductor.