Shop OBEX P1 Docs P2 Docs Learn Events
Help with Pulsout and Pulsin commands — Parallax Forums

Help with Pulsout and Pulsin commands

Andy GoesslingAndy Goessling Posts: 4
edited 2005-08-14 18:55 in BASIC Stamp
I am trying to send a pwm signal from a RC reciever (that would normally be connected directly to a servo) through the BS2 and out to a servo.·Heres my program.

time var word

Do
·· pulsin 7, 1, time
·· pulsout 15, time
·· pause 20
Loop

The servo responds to the RC inputs but is very jittery and sometimes doesn't respond at all. Any suggestions? Thanks

··········································· Andy Goessling

Comments

  • TonyATonyA Posts: 226
    edited 2005-08-14 00:00
    Did you can try manipulating the Pause time?
  • Joe FishbackJoe Fishback Posts: 99
    edited 2005-08-14 00:16
    Andy,

    Do you have a common ground between the RC receiver and the BS2? If not , try that.

    Joe Fishback
  • Andy GoesslingAndy Goessling Posts: 4
    edited 2005-08-14 00:19
    ·yes but i only tried 15 ms
  • Joe FishbackJoe Fishback Posts: 99
    edited 2005-08-14 17:32
    Andy,

    Can you post a wiring diagram of how you have the receiver wired to the BS2? What R/C unit are you using? I am using a Futaba R/C unit going into a BS2 and out to the servos and have it working fine with code similiar to yours.

    Joe Fishback
  • Andy GoesslingAndy Goessling Posts: 4
    edited 2005-08-14 18:55
    I tried it once again and it Worked! It was kinda jumbled up on my desk and this time I spread it out on the floor and backed away from it with the transmitter and it worked. WEIRD Thanks for the help.
Sign In or Register to comment.