I am not certain to understand if and how relays can be controlled on blueboat and navigator.
I have ardurover and ardusub vehicule running with pixhawks and the relay integration was complicated. Changing brbpwmcount / weird numbering of aux output vs writing on the board etc. But It do work at the end. I tough it was more straigthforward on the navigator and blueos but I can’t make it work! What is it I do wrong?
I run latest stable ardurover 4.5.2 and BlueOS 1.2.5. I want to use button 10 of my joystick to toggle the relay on/off and can connect the relay to any navogator pin. For now let say pin 16.
What I did:
In the blueOS I set channel 16 to GPIO, then I moved to QGC.
In QGC, I set
Relay1_default to 0;
Relay1_function to 1; → 1 supposed to stand for “relay”
relay1_pin to 16.
In QGC, I set the RC16 and RC10 option to relay on/off. Not sure if this is related to the joystick (button 10) or the navigator (pin 16). So I put both as relay.
In QGC, since I assigned pin 16 to GPIO in bllueOS, the servo16 function is now “unknown:-1”
In QGC, joystick tab, I try to set the joystick button 10 to “toggle relay” but this function is not available. Does setting RC10 option to relay is enough?
I also can’t find the BRD_PWM_COUNT.
Finally, should I put 5v on the navigator rail to have power for the pin? At the moment there is no power on the rail. I know this is needed for the Pixhawk. Is it the same? Note that I only use the Signal pin and wan’t it to toggle between 0 and 3.3v. I don,t use this to power the relay.
At the moment I just measure the signal pin voltage connected to my multimeter. I can’t obtain 3,3v.
thank you