Connecting RC by MAVLINK, Crossfire, Matek F405 Wing

@UAVSkies

Hi,
Thank you
But this is control by SBUS and telemetry on MAVLINK
I’m wanting control over MAVLINK which brings telemetry data back also.

I’m going to put a request into Lee (painless360) for assistance, I’m a patreon,
I’m also wondering if this is not possible on ChiBios driven boards, such as the Matek 405 :thinking: his article was using a Pixhawk.

Cheers
Steve :smile:

Say Hi to Lee from me…

I dont know the answer to your question. Maybe someone else may chime in.

1 Like

And if you a find a solution please share…

1 Like

Sure, will do :smile:

1 Like

ChiBos runs on Pixhawk as well. I think it just replaces the NutX

2 Likes

HI, I got an answer from Lee yesterday, unfortunately not much help :neutral_face:

Hey Stephen.
I got your email. I’m not sure it works like the way you’re trying to make it operate.
See my Crossfire swirsa and specifically the one on Pixhawk and Crossfire. That’s all I figured out with the help of the guys at TBS.
I’ve talked to TBS in the past about MAVLINK capability but they don’t use it in anger themselves…
Lee

I’ve asked him if he has the details from when he made the video, will let you know what he says

Cheers
Steve :slightly_smiling_face:

1 Like

tagging @smartdave @dkemxr and @Eosbandi Three experts here for sure. One will chime in.

1 Like

No me, I’m against crossfire :slight_smile: it is not a telemetry radio, but an RC controller with some rudimentary telemetry capability. Radio power is asymmetrical, and the SX127x chips that it use, simply does not have the capabilities for real telemetry (it is slow).

No a Crossfire user.

I use crossfire. Connect tx-rx rx-tx I don’t connect the sbus as 8 channels is fine for my planes, quads etc. It looks like your connecting tx-tx rx-rx this won’t work. I get telem back and on the full size unit and send Bluetooth back to GCS/MP. Are you using Taranis + module?

@ukmook
Hi,
Thanks for your reply :+1:
I did have TX-RX, RX-TX correct (been doing this many times over the years) I just also tried TX-TX, RX-RX in case of any marking errors.
I was using UART2 on the F405 without any joy, but have since got telemetry via 433MHz SR radio from UART1, so I need to try CSFR again on UART1.
It may turn out to me being a mumpty and not checking all the available UARTS :roll_eyes:
Cheers
Steve :slightly_smiling_face:

No worries Steve from your post I thought that it might be an easy fix. Also crsf is not implemented, but I’m guessing you have used the Taranis Lua script to output mav tx and rx.

1 Like

In case you’re still fighting with the problem - have you tried setting the serial port to 23 (RCin) instead of 1 (Mavlink)? Because this just seems to have solved a similar problem to me on Kakute F7 AIO 1.5 (pending further testing). I now seem to have both RC and telemetry via the Crossfire channels set to Mavlink TX and RX.

EDIT: Actually it’s best to set the Crossfire pins to CRSF TX/RX as some sensors are missing when using Mavlink.

1 Like

Thanks for this :grinning:
Hoping to have time at the weekend to try it out
Cheers
Steve :slightly_smiling_face:

Good luck, hope it works for you too! :slight_smile:

Note: It might also be necessary to make the “SR” parameter settings given on page 38 of the Crossfire manual. They’re meant for Mavlink but I left them even after switching to CRSF, and I won’t touch anything now that it finally seems to work. :wink:

On a side note, because that was the next thing that cost me hours: If you ever get the idea to control a VTX directly from Crossfire via a channel set to SmartAudio (which is very handy because AP doesn’t support SA), better get a real TBS VTX. I tried with a 3rd party one that was supposed to have SA, but it only works (reliably) from an FC (with BF, INAV), not directly connected to a Crossfire RX.

Hi Stephen,
Have you establish communication to the FC via CRSF TX and RX successfully? Could you share the setting for both RX and FC ? Thanks!

Hi I just tried today to set up ardupilot on a Matek-405 Ctr board.
I connected port 1 and 2 of the crsf Nano to Uart2 and defined the ports 1&2 on the crsf nano as mavlink and rx. the udp port on the wifi module was set to 8877 and I can connect the mission control to the flight controller :smiley: over wifi. I am using a micro tx v2 on a jumper t18 radio.

i also tried with qgroundcontrol but did not manage to get tjhis working

I am impressed…

cheers
christoph

Hi Christoph,
Thanks for the information. Finally, I established communication with CRSF as setting below:
FC firmware : Matek F405 wing
5v ->5V
GND->GND
CRSF TX -> FC T2 RX
CRSF RX -> FC T2 TX
Serial2_protocol=23
BRD_ALT_Config=1
The reason why I can’t connect with CRSF at the very first is that I didn’t set BRD_ALT_Config=1.
Besides, I am very interesting to establish wifi connection between Transmitter and laptop. But I tried setting as below, still didn’t work.
Transmitter: TBS Crossfire TX lite
Firmware version : 4.0.5
Wifi activation version:1.17
RC by MAVLINK : tried both on and off
MAVLINK TX -> FC T2 RX
MAVLINK RX -> FC T2 TX
Serial2_protocol=23
UDP port : both wifi module and qground control are 8888(default port number as TBS manual said)

Could you help me to figure out what’s wrong with my setting ?
Besides, during the Wifi connection, is the TBS wifi module or laptop the Wifi host (hotspot server)???

I am encountering the same problem as Alan’s.
Following the TBS manuals to setup my Kakute F4 and Omnibus F4, still can’t get my CRSF TX talking to mission planner or Qground through UDP.
Sensors’ readings for roll, pitch yaw are even available on the TX, so I assume it receives Mavlink telemetry packet from the quad, just that it does not re-broadcast to GCS.

update:

My CRSF TX is a full version. Using Bluetooth “MAVLINK EMU”, connection was established. However, using Bluetooth “MAVLINK”, missionplanner got frozen. Could be a sign that no Mavlink signal being sent from FC to TX? Need to find a way to check. [22/OCT]