Hello,I am struggling to understand how I can control the digital output pin #55 on Pixhawk.I want to switch navigation lights on my UAV via Mission Planner. I have the necessary logic to swith the leds but no idea, how to activate the pin via MP. All I read so far was with respect to camera trigger but I want simply to find a way to switch the leds on and off via MP.I have already "Googled" for some while but either i am missing the right key words or my problem was not yet discussed.I would appreciate your help very much.ThanksBest RegardsHarald
You need to be a member of diydrones to add comments!
One of those Options is RCPassThrough which means that the respective Input channel of your remote control is routed to the respective Output of Pixhawk. But up to now I did not find a way to change this 1 by 1 relation which you would need.
But reading the connection hints I would suppose you have to connect each 2 of your motors to 1 of the 4 Outputs 1..4 which would leave you Output 5..8 for different function via RCPassThrough
this sounds as if it would solve your Problem. The only thing you have to adapt is the BRD_PWM_CNT=3 since you also want to use RC11.
Please report if you are successful.
Nevertheless I am still waiting to get some support on the original issue of this thread and honestly speaking, I am in some way disappointed that there is noone in this forum who at least tries to help.
Replies
the RC_Out 1..14 corresponds to the Output Pins of the Pixhawk; for the Outputs 1..4 the function is predefined, see
http://copter.ardupilot.com/wiki/common-pixhawk-wiring-and-quick-st...
under connecting motors
for the other Outputs starting from 5 to 14 you can select 1 of 27 functions for that pin.
see : http://copter.ardupilot.com/wiki/arducopter-parameters/
One of those Options is RCPassThrough which means that the respective Input channel of your remote control is routed to the respective Output of Pixhawk. But up to now I did not find a way to change this 1 by 1 relation which you would need.
But reading the connection hints I would suppose you have to connect each 2 of your motors to 1 of the 4 Outputs 1..4 which would leave you Output 5..8 for different function via RCPassThrough
Hope this helps at least for your main issues
Did this setup work for you? I've been struggling to get a PWM signal from CH8 to RC9.
this sounds as if it would solve your Problem. The only thing you have to adapt is the BRD_PWM_CNT=3 since you also want to use RC11.
Please report if you are successful.
Nevertheless I am still waiting to get some support on the original issue of this thread and honestly speaking, I am in some way disappointed that there is noone in this forum who at least tries to help.
-
1
-
2
of 2 Next