Servo Issue Hello Margret.....it's me again.
smithdavidp
Posts: 146
I'm baaaaaccccckkkk LOL
Okay. I was told that there needed to be a 3.3 ohm resistor placed on the signal wire for the Ping sensor. This was to protect the signal circuit to the Processor. I read the servo schmetic, for the Prop board, which showed a 3.9k resistor in the signal wire of the servo. I am currently going through the servo test in the new Prop BOE BOT section. Ran through the "Wheels Example.Spin" test. The Bot lurched forward for 1 second and stoped, forward another second and stoped. (Of course this test is in the Propeller Boe-Bot Navigation section). The only way that the operation worked is when the 4 AA cells and the USB cable were both connected to the board. I show 5.4 volts at the adapter end and all the jumpers are in the 5 volt position. The assembly portion, of the Prop Boe-Bot, does not show any resistor in the signal line for any of the servos. The servos will also run if connected individually. 2 servos connected and the system is dead. Could the Brown Out circuit be kicking in? I am using P14, P15, and P16 for servo controll. The Ping))) sensor is connected at P17.
Come on guys........ I realize it's April 1st but this is a bit much. It's my guess that the resistors, in the signal line, are drawing too much power 3.9k X 3 (Left, Right, and Ping Servos). But I can't see how that could be possible since the servos are only activated across the SG pins. I should also add that I have the XBee installed.
Okay. I was told that there needed to be a 3.3 ohm resistor placed on the signal wire for the Ping sensor. This was to protect the signal circuit to the Processor. I read the servo schmetic, for the Prop board, which showed a 3.9k resistor in the signal wire of the servo. I am currently going through the servo test in the new Prop BOE BOT section. Ran through the "Wheels Example.Spin" test. The Bot lurched forward for 1 second and stoped, forward another second and stoped. (Of course this test is in the Propeller Boe-Bot Navigation section). The only way that the operation worked is when the 4 AA cells and the USB cable were both connected to the board. I show 5.4 volts at the adapter end and all the jumpers are in the 5 volt position. The assembly portion, of the Prop Boe-Bot, does not show any resistor in the signal line for any of the servos. The servos will also run if connected individually. 2 servos connected and the system is dead. Could the Brown Out circuit be kicking in? I am using P14, P15, and P16 for servo controll. The Ping))) sensor is connected at P17.
Come on guys........ I realize it's April 1st but this is a bit much. It's my guess that the resistors, in the signal line, are drawing too much power 3.9k X 3 (Left, Right, and Ping Servos). But I can't see how that could be possible since the servos are only activated across the SG pins. I should also add that I have the XBee installed.
Comments
I don't use the "Prop board"; I just used my own boards with PICs. to control servos so you have to take what I say with a grain of salt. AA cells don't give much power so you need to use a higher voltage than 6 volts for the main power; this voltage will come down as soon as you start turning on servos. I use a 5 volt regulator to feed the chips.
I never seen a 3.9k resistor used in the signal wire of the servo before. That seems very high. I use a 220 ohm resistor. You may be picking up noise by using a 3.9k resistor.
Al
Regarding resistors on the servo line, I personally don't use resistors on the signal line with servos. I've had some servos not work with a resistor that would work without the resistor.
I'm not sure what examples you're using with the PropBot-Bot. I don't recall any Parallax material on using servos with the PropBOE. I'll need to look around a bit.
You say you're using four AA batteries to power your PropBOE-Bot. This might be a problem. I'm personally using two Li Ion batteries with mine. I think six AA batteries would be a better choice (than four AAs) with using the PropBOE-Bot, but I'm not sure about this. Four AAs might be enough if they are freshly charged.
I'll look for the material you're using. If you find a link to it before I do, I hope you post it here.
There ya go :-)
I don't know if you've seen my PropBOE project or not (I can't remember if I've asked you this before)?
I think Parallax's examples are easier to follow than my servo use examples. My basic servo examples were written with plans of being able to record the pulse commands to a SD card so they're a little more complicated.
I'm going to need to read though the tutorials you linked to. I'm still amazed I didn't know about them.
Since your servo will run individually but not at the same time, then I think you need a better power source.
I doubt your board is defective. How are you monitoring the 5V line? The dip in voltage caused by servos starting to move would likely be too fast for a multimeter to pick up. You'd probably need a oscilloscope to catch it.
Here's two suggestions.
1) Use two 1000uF caps. One on the 5.V line close to the servos and the other on the 3.3V line.
2) Get a bigger battery pack. I think six AA NiMH batteries (freshly charged) would likely provide enough current to keep the servos happy. I've used 2-cell LiPo batteries as well as the Li-Ion batteries with success.
I'm using the two Li-Ion charger I linked to earlier stacked under the PropBOE.
BTW, fully charged Li-Ion and LiPo batteries have voltages higher than 4.0V. If you use lithium chemistry batteries, two cells would probably be enough.
What kind (chemistry and age) of AA batteries are you using?
I have a bunch of Energizer NiMH. I very rarely use them anymore. They go dead way too fast IMO.
Take a look at http://www.megabatteries.com/item_details2.asp?id=15581&cat_id=513&uid=1783 for AA size LiFePo batteries.
Keep playin' man, keep playin'!!! :thumb:
(a bit older than you with a '73 SG Special)