need help with servos and bs2p40
FlyingFishFinger
Posts: 461
Hello!
My servo (Hitec HS 805BB) is not doing what I want.
I said pulsout 1270 (that's neutral, right?) then it bounces back and forth between neutral and one extreme and then it freezes somewhere in the middle and started sqealing.
Any other pulsout values and my other servos give equally weird results.
The servo works fine with a regular R/C reciever.
I am using a regulated 6V power supply from a 12V SLA.
Thanks
Rafael
My servo (Hitec HS 805BB) is not doing what I want.
I said pulsout 1270 (that's neutral, right?) then it bounces back and forth between neutral and one extreme and then it freezes somewhere in the middle and started sqealing.
Any other pulsout values and my other servos give equally weird results.
The servo works fine with a regular R/C reciever.
I am using a regulated 6V power supply from a 12V SLA.
Thanks
Rafael
Comments
·· That's pretty close to neutral...My guess would be you're not putting a PAUSE 20 in the loop or that there is not a common ground between the servo supply and the BASIC Stamp.· Can you post the code you're using?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
My old servos now work, but the brand new Hitec servo doesn't.
My code (just testing)
do:
pulsout 0,1270
pause 20
goto do
·· Unless you're not using the PBASIC 2.5 directive, you really shouldn't (can't) use DO as a label, since it's a keyword.· What is the servo doing now?· What happens if you change the DO to Main and your goto to GOTO Main?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
????????
Rafael
The figure you're using of 1270 may work for one servo and not another. Since you're obviously in the ballpark, try 1265 or 1275. One of those numbers should improve the situation. Just keep narrowing it down until you get exactly what you need.
Regards,
Bruce Bates
·· That doesn't make sense...All that was changed was the label.· Is this what you're using?· Try the following...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 8/25/2005 10:12:33 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Rafael
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
This is my system:
Breadboard with 2 regulators on it (5V for the Stamp, 6V for the servo, both powered from my 12V SLA so its common ground), the Stamp with power to VDD (pin 37) and the servos (one or the other)... that's it.
Rafael
·· I'm not clear on your connections...But is it working now?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Do the Hitec and Futaba servos have different pin arrangements?
Also, I thought of current draw, but there's no load, so that should't be an issue...
Rafael
6V regulator can=GROUND=5v regulator heatsink
I'm getting good voltages from both of those, the stamp works fine, the futaba servos too.
I've double-checked my wiring, looks O.K
Rafael
Is it possible that this has something to do with my regulators?
Rafael
[/code][/size]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Yeah, it works on the R/C system, too...
Thanks
Rafael
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
Post Edited (Dave Andreae (Parallax)) : 8/26/2005 11:35:37 PM GMT
Just one servo at a time for now on my breadboard, I keep swtching cables on the same pin (just trying to get the stupid Hitec beast to work).
In future I may need about 3 at a time...(but that's a long way away, I have to get the steering of my robot working first)
Rafael
P.S: For Manuel from the other post, I can't afford to add more battery weight to my robot, sorry.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Best Regards
Manuel C. Reinhard
My servo cables are just that what comes out of them (12")
Rafael
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
Behaviour this time: Wobbling around at one end of ROM and then going all the way to the end and whining.
I thought all the stamps had the same pause units so wouldn't it also be PAUSE 20 on the BS2sx for Manuel?
Rafael
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
Rafael
Hello!
I still haven't worked out why my Hitec servo (HS805BB) behaves weirdly on the Stamp and normal on an RC system.
It's just that I can't exchange it because it's only supposed to work on the RC system originally and it does, and it's too expensive to get another one.
Is there a difference between the pulses a rc reciever uses to control servos and those a Basic Stamp uses to control servos?
Can I control servos with a Stamp not using the pulsout command or PSC's?
Rafael
NOTE:· This message was from another thread and moved here for consistency. Apologies for putting it in the wrong thread earlier, but you keep starting new threads on the same topic, and I am having trouble tracking them all down and moving them back to this one.· Please keep this discussion in this thread.· Each time you start a new one, the same questions get asked all over again.
We've never had any complaints about anything like this regarding incompatibility with standard servos.· Have you tried different values in your PULSOUT statement?· The two devices put out virtually identical signals.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com