mirkix / ardupilotblue

Howto use BeagleBone Blue with ArduPilot
GNU General Public License v3.0
151 stars 56 forks source link

Frsky Telemetry with BB Blue #25

Closed ninjatrent closed 4 years ago

ninjatrent commented 5 years ago

I would like to use the Frsky Taranis QX7 Transmitter with Flight Deck Software. I have a Frsky X8R Receiver S Port Telemetry serial output connected to the uart5 port on the BB Blue and the SBUS pin from the QX7 receiver connected to the SBUS on BBB.

In the Mission Planner software under Full Parameter Tree, I have changed the Serial 5_PROTOCOL value to "10" in order to enable Frsky SPort Passthrough. The transmitter is detected and can be calibrated with Mission Planner.

The Flight Deck Software on the QX7 Transmitter does not detect the Flight Controller (BBBlue). There is also a telemetry radio module connected to uart1 on BBB with the USB telemetry module connected to the GCS. I have edited the /etc/default/ardupilot file to

TELEM1="-C /dev/ttyO1 TELEM2="-A udp::14550" GPS="-B /dev/ttyO2" Unnamed="-F /dev/tty05"

Do you have any suggestions for using the Flight Deck software on the Frsky Taranis QX7 Transmitter with the Ardupilot Blue image for the BB Blue?

mirkix commented 5 years ago

@ninjatrent Hi, FrsSky Telemetry will not work out of the box. You have to invert RX and TX and put them together

ninjatrent commented 5 years ago

My apologies for I don't understand. Can this be done by connecting RX to RX and TX to TX on BBB and the RX and TX wires connected?

MahmoudElShazly commented 4 years ago

Did you get it working? did you figure out the connections?

ninjatrent commented 4 years ago

No sir. I was unable to find a solution to this issue.

MahmoudElShazly commented 4 years ago

Hi @mirkix , here is what I did

  1. Mapped Uart 5 in beagle bone to Serial 5 in Ardupilot
  2. Configured Serial 5 to 10 'Passthrough'
  3. Inverted Tx and Rx from within Ardupilit
  4. Connected the Tx wire to the Signal Pin in the S-Port in R9 Stab receiver
  5. Connected Tx and Rx together (short circuit)

Then in the transmitter I started 'Discover New Sensors' but no data came. Do I miss anything?

dziedzic99 commented 2 years ago

Any progress on this?

EdgarBabajanyan commented 1 year ago

@dziedzic99 Did you manage to find any additional info on how this can be done?

dziedzic99 commented 1 year ago

@RedgarTech Response time from BBB is simply too long and it times out. Probably due to the OS standing in-between. Having some more experience since a year ago when I tackled this matter I highly recommend switching to ELRS and moving away from Frsky.

EdgarBabajanyan commented 1 year ago

@dziedzic99 here's the thing, I found someone here

[https://discuss.ardupilot.org/t/connecting-rx6r-or-r-xsr-to-beaglebone-blue/91963] (Frsky Receiver Ardupilot Discussion)

who found a way for it to work. I am attempting to get it working now actually.

EdgarBabajanyan commented 1 year ago

@RedgarTech Response time from BBB is simply too long and it times out. Probably due to the OS standing in-between. Having some more experience since a year ago when I tackled this matter I highly recommend switching to ELRS and moving away from Frsky.

Also, did you eventually get Frsky working?

juvinski commented 1 year ago

Hi,

I have sucess on this, but with black. I detected some issues with receivers, Beagle ports demand at least 3.0 volts do be detected as high, so the Inverted circuit I'm using is generating 3.3 volts and is working fine. This for PRU too - I have several R161 receivers and this is generating sbus signal with 2.65 volts and this is not detected by the beagles, I had to use a shift level circuit to increase to 3.3 volts to get this working too.