Prop resetting while driving Boe-Bot
Martin Hebel
Posts: 1,239
Hi, using the Protoboard, trying to drive the Boe-Bot, but the propeller keeps resetting.· I added an extra 3300uF across 5V & Vss, but still occuring on fast speed changes.· Thoughts? Is this common?
Thanks,
Martin
·
Thanks,
Martin
·
Comments
I'd also recommend putting a 1K resistor between the Propeller I/O pin controlling the servos and the servo control lead. This will help suppress noise from the servos.
-Martin
In addition to the cap, try a series diode to buffer the power to the Propeller. You may find you can lower the cap value as well when you do this.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
-Martin
This is a typical problem, but not isolated to any parallax product. Any time you have a processor and motors, and one power supply you will need to plan around any transient power fluctuations. Think of prosthetic arms or hands. There are several filtering techniques that you can apply that will contribute to a cleaner power supply to the processor which in any case will be the weakest link. A diode capacitor is cheap and effective for supplies that "dip" for considerable lengths of time such as a motor stalling, starting up, changing direction. A series inductor is good for very quick transient spikes... noise that could be caused from the brushes of a motor. A parallel capacitor also is good for quick transient spikes, but if the power supply is inadequate, it too will cause the power to "sag" if the load demand is too great.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
It's not a problem with the protoboard specifically; it's an inherent problem with any setup using a single power supply.
It really depends on how well your power supply can deliver and maintain a voltage... batteries are usually better at keeping the voltage stable where as a power supply might dip more under a load, and that depends largely on the type of power supply. The motors also are a big deal, how much current are they demanding? All this needs to be considered.
Since you are also having ping issues, I'm still going to lean more toward this being a power supply issue. Have you tried using two power supplies? (<- with common grounds) Have you tried a series diode in addition to your capacitor?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
But really, how hard can this be to get a good solution? It's the protoboard and the Boe-bot chassis. There must be many using this combination including Andy. Sure, I've got an added 50mA cyclic load, but still... lol.
I've put resistors in all the signal lines. Still tends to reset frequently.
I'll try a second battery back for the Servo and figure out where to tap into.
Thanks,
-Martin
I was having that problem earlier tonight, but I stuck two 2k resistors from p31 and p30 to VDD. Cleaned things right up.
What is the voltage and amperage of your wallwart?
Thanks, running with 2 sets of batteries. While not the best solution, seems to be working fine. The bot's going to be a major power sucker in any case.
Appreciate it,
Martin