Boe-Bot servos turn at different speeds and BothServosThreeSeconds fails withou
I am assembling my boe-bot and as part of the servo test it has me center the servos and then test them in varous ways.· I notice the speeds were different, one slower, one faster on the two servors.
I also noticed that when I did the BothServosThreeSeconds.bs2 my system never reversed and never stopped.· So I had to add a "pause 10"·between the first and second loop (see code below).· Is this normal, or could my rechargable rayovac renewal's need help?· I have fully charged batteries in the battery pack.
counter VAR Byte
FOR counter = 1 TO 122
· PULSOUT 13, 850
· PULSOUT 12, 650
· PAUSE 20
NEXT
PAUSE 10
FOR counter = 1 TO 122
· PULSOUT 13, 650
· PULSOUT 12, 850
· PAUSE 20
NEXT
END
I also noticed that when I did the BothServosThreeSeconds.bs2 my system never reversed and never stopped.· So I had to add a "pause 10"·between the first and second loop (see code below).· Is this normal, or could my rechargable rayovac renewal's need help?· I have fully charged batteries in the battery pack.
counter VAR Byte
FOR counter = 1 TO 122
· PULSOUT 13, 850
· PULSOUT 12, 650
· PAUSE 20
NEXT
PAUSE 10
FOR counter = 1 TO 122
· PULSOUT 13, 650
· PULSOUT 12, 850
· PAUSE 20
NEXT
END
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Thanks, my battery pack is at 5.3 w/o the servos running, and w/servos running it drops to 4.59, then when both servos switch it taks a transient sometimes as low as 3.8v on the battery pack. Time to renew my source [noparse]:)[/noparse].
thanks,
Steve Stierwalt
·· That's great...Still, if the batteries aren't rated at 1.5 volts each, I would still replace them with standard batteries.· Just my opinion.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
As Chris recommended, you have to source 6 Volts, preferably 4 AA alkaline (brand new) batteries.
If you use lower voltage rechargeable ones, you'll have to use 5 batteries (not supported by the standard battery pack).
If you have the Robotics V2.0 manual I can recommend you to check "ACTIVITY #3: Connecting the Servo Motors".
Depending on the hardware you have (Board of Education or HomeWork Board) you'll find recommendations about settings/jumpers and even about batteries.
There is a box on Page 57 (Robotics 2.0) that says:
"Use only alkaline batteries. Avoid rechargeable batteries because they're 1.2 V instead of 1.5 V."
You'll also find recommendations in how to set the servo power jumper in your Board of Education.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Saludos,
Aristides Alvarez
Education Manager
aalvarez@parallax.com
Parallax, Inc. www.parallax.com
California, USA
I can think about two considerations:
1-Current/power capability of the rechargable battery you're going to use.
Voltage is one of the variables when talking about batteries.
Current is also another rating that when running motors or any high consumption load is important to take into account, not only to estimate battery or charge life but also brownout conditions.
If your rechargable 9 Volt battery (or two in parallel) can provide enough current for both servomotors and the rest of the circuit, you should be able to use it/them.
2-VERY IMPORTANT!
We didn't test our Parallax Continuous rotation servos with more than 7 Volts (Parallax standard servos work fine with more than that).
For this reason, if you decide to use 9 Volt rechargable batteries, you should move the servo-port power jumper to Vdd, in your Board of Education (Rev C.).
This means that even though your battery will be 9 V (or close) the servos would be supplied with regulated 5 Volts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Saludos,
Aristides Alvarez
Education Manager
aalvarez@parallax.com
Parallax, Inc. www.parallax.com
California, USA
Thanks for the information. After my post I started comparing mA hours and like you say if you are running motors even two 9 volt batteries are not much compared to 4 or 6 AA for current. I know most servos can handle 8 volts but I appreciate the warning!
Regards,
Wade.
as I ever did, use BOE supply to 6xAA battery holder for long time to run BS2.
and changed on-board voltage regulator IC to low dropout type (LM2940-5.0)
as you may know, BS2 have brownout detection and reset if Vdd lower than 4.2V. that why program still do that.
I'd recommended Servo motor supply should not exceed than 6 V. and jumbo coupling capacitor 4700uF apply to +Vmotor, to keep supply stable and reduce unwanted motor action..
and "pause 10" command is too small to see changed because Servo need 20ms trail pulse signal before take motor action.
It seems that you were Parallax customer for a long time, based in the hardware upgrades you mentioned in your message. [noparse]:)[/noparse]
The latest servos we provide were pre-modified at factory (Futaba).
The calibration process now is pretty simple, because the servo has a hole in the case that allows you to calibrate the central position of the servo without having to remove the case.
They also have an internal capacitor and they run so smoothly that the voltage is pretty stable, so most of the times you won't need to use extra capacitors.
The pause between pulses varies widely and usually it's in the range of 10 to 40 milliseconds.
We usually use 20 milliseconds pauses, but if your program is checking sensors or doing some processing in between pulses you may want to decrease the value on the PAUSE command to avoid servo jittering.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Saludos,
Aristides Alvarez
Education Manager
aalvarez@parallax.com
Parallax, Inc. www.parallax.com
California, USA