Sorry if I’m reinventing the wheel but most posts are on the full Pixhawk and not the mini, the mini does not have dedicated aux ports. I have a relay board isolated by mosfets on the input. I need to allocate a channel, 7 , on\off provide a +5v on the signal wire to activate the relay
Please help, I’m using a jumper R8 .
Can this be achieved using a rx output or Pixhawk mini ?
Hey Jim-So the mini should be like the Pixracer and all the outputs are “Aux outputs” as it doesn’t have an IOMCU. Set BRD_PWM_COUNT to 4 and pins 55 and 56 would be available as GPIO for relays. Not sure about Vout though, think it’s at 3.3V.
No. What Rx do you have? For example on a Frsky X8R you can assign the 8 PWM output pins as channels 9-16 and use them as such while using 1-8 on Sbus.
I don’t have a servo but I’ve tried a a flytron led and it switches on and off fine . Looking at the pdb of the so called switch there is no detector CircuitsElectronics to ‘listen’ for the pwm pulses but I may be mistaken
well at least you know the rx output is working. i am really good at releasing magic smoke so could be a bad idea… but it just appears to be using PWM at a high enough duty cycle to trigger relay. so it’s really just looking for a dc voltage from 3.3 to 20v to trigger relay. they just happen to add PWM to the feature list since you can technically get, what ~4v at 80% duty cycle if it’s starting at 5v. again, a guess.
first i would see if you can take whatever channel you are using and take the mix up to 2000, or as high as it will go when high, to see if that makes it trigger.
I will try that , it works at 5v trigger, it’s a shame there is no way to get the pix or the rx to output 5v on a switch . Seems a logical trigger not to be available when you consider the servoX functions available