ArduPilot / ardupilot_wiki

Repository for ArduPilot wiki issues and wiki-specific website infrastructure.
Other
506 stars 1.25k forks source link

Create SBUS Servo Output Info #279

Closed R-Lefebvre closed 5 years ago

R-Lefebvre commented 8 years ago

Ardupilot/Pixhawk can be used with Futaba SBUS servos easily. Need to create an info page.

rmackay9 commented 8 years ago

I think all that's required is that the user sets BRD_SBUS_OUT to 1. @R-Lefebvre, anything else required?

hamishwillee commented 8 years ago

We'd probably want to add a section to this article: http://planner.ardupilot.com/wiki/common-servo/#connecting_the_servo_to_a_pixhawk

I'm guessing you just plug the servo to the SBUS out pin (as shown in this diagram) and then set BRD_SBUS_OUT to 1?

Would also (I guess) be nice to list/link the servos that are known to work.

R-Lefebvre commented 8 years ago

Yep, that is pretty much it. Set BRD_SBUS_OUT to 1.

You also need to set the SBUS address in each servo, but I don't think we need to explain that, other than to say it's required. They would follow the manufacturer instructions for that.

The only servos I'm aware that would work, would be Futaba SBUS servos. I don't think anybody else is making SBUS compatible servos? Not that I'm aware of anyway.

auturgy commented 8 years ago

FrSky also make SBus servos, but Tridge's recent addition, using SBus Out for additional PWM via a downstream converter, is probably worthy of a mention in the wiki too.

ivan95603 commented 7 years ago

Dear @R-Lefebvre, Is it possible to use sbus servos without sbus receiver on pixhawk just over telemetry and with PC joystick from mission planner?

Thanks

auturgy commented 7 years ago

Yes, possible. Just use the sbus output on the Pixhawk. You need an sbus programmer to make sure your servos are numbered correctly. Preferred to have rc though, if only as a backup.

Regards,

James

On 17 Jan 2017, at 01:12, ivan95603 notifications@github.com wrote:

Dear @R-Lefebvre, Is it possible to use sbus servos without sbus receiver just over telemetry and PC joystick from mission planner?

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hamishwillee commented 7 years ago

@auturgy @R-Lefebvre Can you guys make the changes so that this can be closed? If you can't/really don't want to let me know, and I'll take a shot at it.

auturgy commented 7 years ago

I'm moving house, but can do it in a week or so.

Regards,

James

On 30 Jan 2017, at 13:35, Hamish Willee notifications@github.com wrote:

@auturgy @R-Lefebvre Can you guys make the changes so that this can be closed? If you can't/really don't want to let me know, and I'll take a shot at it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

hamishwillee commented 7 years ago

Thanks James, that would be awesome!

auturgy commented 7 years ago

If you're using Copter you might just need to arm.

If using Plane: Double check BRD_SBUS_OUT=n is correct

Then set RSSI_ANA_PIN=103 to make sure it isn't trying to read rssi from that pin. You might need safety switch off (brd_safetyenable=0) for easier bench testing.

Then reboot and see if sbus is working. Let me know how you go.

Regards,

James

On 19 Apr 2017, at 03:59, chandra2sekhar2000 notifications@github.com wrote:

Hello, i need to have SBUS output on the Pixhawk. i have set the BRD_SBUS_OUT = 300Hz on mission planner. i see that pulses start to come out of the pin, but the data coming from it is all zero's..i have connected sbus to serial print setup on arduino ..when i connect the arduino to sbus from x8R ,i can see the channel values varying from 200 to 1800..so arduino code is fine. but when i connect the sbus output from pixhawk to arudino i see that channels data is 0 .. please kindly guide me on setting up the SBUS out. all i need is to get the channels data from pixhawk via sbus out.Thank u

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

auturgy commented 7 years ago

@hamishwillee apologies for the length of time, but I went to look at this and your link is 404'd: http://ardupilot.org/planner/docs/common-servo.html#connecting_the_servo_to_a_pixhawk Can you point me to where it sits in the wiki now?

OXINARF commented 7 years ago

@auturgy http://ardupilot.org/copter/docs/common-servo.html#connecting-the-servo-to-a-pixhawk That page isn't available in the MP wiki 🙂

brunoolivieri commented 5 years ago

Looks like the PR #1039 add some information. It would be enough to close this issue?

rmackay9 commented 5 years ago

Yes, and I reworked it after this I think. The page is OK now so we can close.