Servo turret Help Please, real stampers, Thanks!!!
OK I've got a servo turret for the ping sensor, and I'm trying to get it to turn
left about 30 deg. right about 60 and to the center!
here is my code need a real STAMPers help!
thanks, Rick
DEBUG "SONAR HEAD"
counter VAR Byte
FOR counter = 1 TO 8
PULSOUT 14, 850
PAUSE 20
NEXT
PAUSE 20
FOR counter = 1 TO 20
PULSOUT 14, 650
PAUSE 15
NEXT
PAUSE 20
FOR COUNTER = 1 TO 38
PULSOUT 14, 850
NEXT
left about 30 deg. right about 60 and to the center!
here is my code need a real STAMPers help!
thanks, Rick
DEBUG "SONAR HEAD"
counter VAR Byte
FOR counter = 1 TO 8
PULSOUT 14, 850
PAUSE 20
NEXT
PAUSE 20
FOR counter = 1 TO 20
PULSOUT 14, 650
PAUSE 15
NEXT
PAUSE 20
FOR COUNTER = 1 TO 38
PULSOUT 14, 850
NEXT
Comments
Are you referring to the tank bot on the Parallax website?· If so,· please let me know I built it and I can share my information with you.
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
Post Edited (Dave Andreae (Parallax)) : 9/2/2005 11:37:07 PM GMT
What I'm trying to do is this first off, Im not getting the hed of my droidto work the way·I want. simply·I want to look to the left then all the way to the right then center after that·I use a bottle rocket wich is ignited by a esties igniter using the pulsout 15, 850 command they fly beautiful!!
However·I·was wondering about turning one way then all the way to the other and back straight again·I love your code but it moves to just one side I want to look in bolth directions then center can you fix my code or if It's to far off give me one that will work, PRETTY PLEASE!!!!
Thanks, RICK
In other words what I tell it to do!
But, when·I use my standard hobby servo, it dosent!
I'm sure the answer is right in front of me, but I can't figure It out.
Just shooting in the dark! The servo works fine, VIA radio and TRANSMITTER
so I know It's not the servo!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
Al
I'm up and running!