Recently I was playing with moving a machine from the pixhawk to the navigator board, but during the switch I noticed that I could not get the relay parameter for the navigator board (at least as far as I can tell, QGC only shows support for the pixhawk and bb blue on the relay parameters). Now unfortunately for me, this was important to actuating on and off a board I am sending the signal to, since the minimum pwm doesn’t turn off the board when using servo_function.
Is there any way to emulate the relay function with the navigator board or get the relay parameters to work with the navigator board?
Noticed how the hardware page for new Navigator mentioned how relays are not supported yet but coming soon. Just curious if we have a expected date for relay integration?
I’ve moved some other comments here that are on the same topic. In general, we haven’t yet finalised the relay functionality on Navigator yet -
I think last I heard we had a seemingly working firmware test branch, but it needed some more testing before release. Our software team is small, and there are a couple of other features that are being finished off first. I’m hopeful relay support will be sorted out some time within this month
Hopefully this week or next - we have a working solution (which I was testing this morning), so now we just need to clean it up and make sure it’s easy to use, then make a release.
You can track the issue (and corresponding pull request) here
Currently the behaviour is working well for relays, but some of the other ArduPilot developers have requested some changes that would allow it to support more general digital output purposes instead of just relays.
Indeed. It has been merged into the master branch (so should already be available if you install the “development” firmware), and will soon be backported to Sub-4.1 and released via a minor release.
I’ll comment here when 4.1.1 is out (not sure if it will be beta or stable), which will hopefully be before the end of next week within a couple of weeks
EDIT: Increased time estimate, because there are some other minor tweaks being included that are unrelated to relay integration.
Navigator does not have any AUXOUT pins. QGroundControl has not yet been updated to know which options to present for the Navigator, so when specifying the relay pin you’ll need to select “Advanced settings” and “Manual Entry”, then just put the pin number you want to use (e.g. for pin 14 you can put the number 14)
While there is no limitation of Pin numbers per say, ArduSub only uses 6 relays for now. additionally, we only support controlling 4 via joystick functions.
It does it on different buttons and channels. It also does it with Servo Momentary Min and Max commands.
I’ll get a different joystick controller and see if I can replicate it.
I am working on integrating a relay with the nav board set up.
The relay works with an Arduino code, so its not the relay that was the issue.
We are currently using QGC v4.2.3.
Here are my settings :
BRD_PWM_Count = 8 PWMs
Relay_pin1 was set manually to 14
Joystick button 9 was set to relay_1_toggle
With these settings the relay was not working.
We set up an oscilloscope connected to signal pin 14 on the Nav board and got what looked like a PWM signal as seen below. When button 9 was pressed, the rectangular waves did not change on the oscilloscope.