LibrePilot Forum

General Category => General Discussion => Topic started by: vgwit on November 25, 2016, 09:39:47 pm

Title: Using SBUS and PWM in CC3D at the same time
Post by: vgwit on November 25, 2016, 09:39:47 pm
I need to use Throttle channel (ch3) via PWM and all others via SBUS.
First I've configured all channels with SBUS and it works. Then I change Throttle to use PWM but it refuses to work. More than that. I see that CC3D's LED does not blinks on Flight mode (ch5) change in this case.  Any ideas?

 
Title: Re: Using SBUS and PWM in CC3D at the same time
Post by: TheOtherCliff on November 25, 2016, 10:34:03 pm
Do you need PWM as an input to the FC.  Maybe you have an Arduino (example) that is generating the throttle signal and need to get it into the FC...

Or need to generate a PWM signal, perhaps for consumption by an Arduino.

You could use Sbus input for all channels into the FC and create a mixer that outputs throttle only on an unused ESC connector.
Title: Re: Using SBUS and PWM in CC3D at the same time
Post by: vgwit on November 26, 2016, 10:10:07 am
Thanks for your reply but not quite understand your suggestions.
I don't use Arduino. I supply throttle PWM as input to the FC (8-pins receiver connector) while all other channels go to FC via it's Main 4-pins port. And I see in Librepilot input config that all channels work except throttle. And why FC's LED does not blink on Flight mode change in this case?
Don't see how unused ESC connector could help me.
Title: Re: Using SBUS and PWM in CC3D at the same time
Post by: f5soh on November 26, 2016, 11:07:31 am
Hi,

Just tested here with a CC3D, works fine.

PWM input: connect the first connector (usually the one with 3pins, black/red/white) to the PWM receiver

(https://forum.librepilot.org/index.php?action=dlattach;topic=2667.0;attach=4656)

Hardware tab, Sbus (mainport) and PWM to the receiverport
Remember every change in hardware tab need a reboot, remove usb and external power and connect again.

(https://forum.librepilot.org/index.php?action=dlattach;topic=2667.0;attach=4658)

Finally you can run the transmitter wizard or redo a manual calibration if input type / channel are already affected.
(https://forum.librepilot.org/index.php?action=dlattach;topic=2667.0;attach=4660)
Title: Re: Using SBUS and PWM in CC3D at the same time
Post by: vgwit on November 26, 2016, 11:10:41 am
Thanks to all for replying. Problem solved!
It was my mistake  :) Forgot to enable PWM in hardware config.
Works fine.