PDA

View Full Version : Help with Pulsout and Pulsin commands



Andy Goessling
08-14-2005, 06:49 AM
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

TonyA
08-14-2005, 07:00 AM
Did you can try manipulating the Pause time?

Joe Fishback
08-14-2005, 07:16 AM
Andy,

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

Joe Fishback

Andy Goessling
08-14-2005, 07:19 AM
ˇyes but i only tried 15 ms

Joe Fishback
08-15-2005, 12:32 AM
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 Goessling
08-15-2005, 01:55 AM
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.