Multipoint network with RFD900x with region lock

Hello

I am trying to setup a mavlink mesh with an rfd900x-US as my master and rfd900ux-US as my slaves. I can see with the RF Design tools that the master node sees all of my 5 nodes (Node IDs 2,3,4,5,6). However, when I try to connect to mission planner. I struggle to connect. If I power them all off but one, I am able to get Mission planner to connect. However, when I have two powered on, Mission Planner will only connect to one of them, and it appears to be whichever of the slaves I powered on first. I have also tried with all 5 slaves powered and this was unsuccessful.

I have put the parameters that I use below. (I could not use the exact parameters as the manual because my region locked version would not let me change S8 and S10)

I also have different SYSID_THISMAV for each slave. I have the master node plugged into the GCS.

Am I missing anything? I am also using Flow control. I have also tried to physically spread them apart. But I still struggle and have yet to get two to connect at the same time to Mission Planner or MavProxy. I have also tried setting the serial port of my flight controller to use High Latency Mavlink messages and this does not help. I also have confirmed that my baud settings for the serial port is correct at 115200 baud. I see my master has a solid green light shortly after it powers up, and when my slaves power up they are green with blinking red and my master also appears to have a blinking red along with the solid green.

I have also tried to reference previous posts:
Settings for multi-vehicle setup with RFD radios - Hardware / Radios - ArduPilot Discourse

Upgraded telemetry radios to a multipoint network, now radios stopped sending data and Rover wont even achieve 100cm accuracy - Hardware Vendors / RFDesign - ArduPilot Discourse

but I believe a difference in my case is that I am I am using the region locked rfd and most likely a newer version of the firmware.

Hello flying_robot.

It’s been a while since I have stopped working with the RFD900+ radios and the Sparkfun Surveyors, about 3 years. But I will try to help with what I can.

From what I remember, when using Mission Planner, I could not even connect to the radios. I started to think that it was a compatibility issue, since my radios were not originally built by RFDesign, it had a modded unit. Your issue with Mission Planner connecting with only one radio might be a simple software limitation. But again, I did not use Mission Planner because it was not working for my application.

One thing that would help me understand the problem. Why exactly do you need to use Mission Planner?
If you are using the radios just to collect and send data and the radios are connected to a device with serial communication available like the Sparkfun RTK Surveyors I used, you can use Python along with the pyserial library to connect to the serial device, and not the radio. And then monitor the data you need or also do algebraic operations with it.

Secondly, what equipment you have available at your place?

If you have equipment like a protoboard, voltage supply, jumper cables, you can try the following:

I remember that the radios had Tx, Rx, 5V and GND pins on the structure. You can use these pins to connect to a Sparkfun USB UART board via a protoboard. Power the protoboard with 5V using a voltage supply. Then, connect the RFDesign radio and the USB UART to the board. After that, connect the Tx pin of the radio to the Rx pin of the UART, and the Rx of the radio to the Tx pin of the UART. You then can use the USB UART board to connect to a computer. In the computer, you can pyserial as well to connect to the radio and be able to decode the data send by the radio using latin-1 or utf-8.

Hope that could help in any way!

Best regards,

Matheus Barbosa.

1 Like

@matbarbosa Thank you so much for your detailed reply.

I actually was able to get it working! The true source of the problem was that I was flooding my bandwidth with mavlink messages from all my devices and that just caused the multipoint network to fail.

I was originally keeping my devices at the default settings for arducopter. But I now believe that was too much for the multipoint network. I was able to reduce the messages using a lua script: ardupilot/libraries/AP_Scripting/examples/message_interval.lua at master · ArduPilot/ardupilot · GitHub Once I had that running on my devices I was able to connect.

For those that may be stumbling on the same problem, I was able to use the mavlink inspector Mission Planner Advanced Tools — Mission Planner documentation to determine what messages were being sent and then was able to limit on the serial port of my multipoint network.

Another way (I did not use this, but I assume this may also help) would be to adjust the telemetry rates ( Wiki for Mission Planner telemetry rates - Ground Control Software / Mission Planner - ArduPilot Discourse). I decided to the lua because I could go in with a more fine tooth comb and get the specific messages I needed and eliminate all others.

So in conclusion, if the multipoint network is not working -check to see if you are overloading it. Thanks again @matbarbosa for your suggestions and I hope that others who have the same issue I had find this post useful.

2 Likes