I'm trying to use the aux pins in the pixhwak to control servo or leds. I am able to use the RC9 / RC10 / RC 11 for the same. But i want to extend it to RC12 / RC13 / RC 14 .i.e. Aux out 53/54/55 in pixhawk. But there are no servo buttons in mission planner to control the pins other than RC5 - RC 11 . Please help me to do the same. I also tried to give PWM signals from RC5 - RC8 to control a servo. It doesnt work. 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • what settings did you use?
    I have channel 9 set as 28 (EPM) relay 1 at aux1 brd_pwm_count is 0 but still no relay 3,3v output when switching ...

    Luc Maximilien said:

    I was not able to operate the second relay with the radio control.

    It seems that the relays other than relay 1 can only be switch by waypoints mission and not radio control.

    So only one relay can be operate by the pilot directly .

  • I was not able to operate the second relay with the radio control.

    It seems that the relays other than relay 1 can only be switch by waypoints mission and not radio control.

    So only one relay can be operate by the pilot directly .

  • Guys thank you for the reply.
    I got i working by tweaking Mission planner to get servo controls in the Servo tab. Extended the controls for Servos 12, 13 and 14. Thank you very much for the replies  once again. 

  • Correct, if you do pass through you get only PWM output from the radio.  If you define Relay 1 as 54 (RELAY_PIN=54) it becomes a relay pin and will go from 0v to 3.3v. From there you would need to use a FET to drive some device like an LED.

    So if you define channel 10 (CH10_OPT=28) as a relay it will turn the first relay on when the PWM value is above 1800 and in this case will change the value of pin 54.

    Currently the flight controller only goes to channel 12 and not 13 so you can't use it to control a relay.

  • Hi Michael , about RC pass through function .I have done some tests and I found no way to use it to activate a relay output .

    In standard Pixhawk config , Pin 54 is a relay output , that correspond to Rc channel 13 .

    But if you define RC13 with 1 , pass through , you'll have a PWM output not a Relay output, I'm I wrong ?

  • Ok, you need to set this parameter to get the number of Aux ports to use as PWM: BRD_PWM_COUNT

    You use the Channel options to control the flight controller with one of the radio channels.  I have CH9_OPT set to 28 to turn a relay on or off based on the PWM value.

    Then you define a relay from 1 to 4 to use one of the Aux out pins.  So I set RELAY_PIN to 55 for the last AUX pin.  So when I set relay 1 on this Aux pin will change.

    If you program a mission you can also turn on or off relays during the mission.

    You can also use the RC functions to pass through the Channel to the Aux pin if its set to PWM.  So RC9_FUNCTION set to 1 will pass channel 9 straight through to AUX 0.  The safety switch may need to be pushed before you will see the PWM.

  • Even if i define aux pins 53/54/55 for servo control or led on off where will i have the control for them to control or switch on or switch off ?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @knightsautoteam: Hi @diyrobocars, we are Orlando's first Autonomous racing club and would love your support. We are hosting our first K…
Friday
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Jan 16
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
More…