Hi all,

I just bought an FrSky Taranis for my quad copter and needed to get the Mavlink data up on the Taranis LCD telemetry display. So here is my solution using a Teensy3.1 as a converter between MavLink and the S.Port on FrSky X8R.

See attached file below...

Views: 307383

Attachments:

Reply to This

Replies to This Discussion

I have actually one issue on my Telemetry Screen and have no idea what to do.

I have a 3d fix and on my Taranis i can see the correct Longitude but the Latitude is always 0°N 00' 0.0''

Is that a known issue an how can i fix it ?

Many thanks

Christian

I took a stab at the 7x7 icons from the Git repository. Problem is 7x7 is very small and it is very hard to differentiate the different states you are trying to represent, but here goes, I didn't name them by function because I didn't really know what would be more intuitive.

All .bmp 4-bit and use all 7x7 space.

Thanks. I'll take a look at these as soon as possible. I think the message-log will look nice with some icons.

The images is pushed to my github. Unfortunately it seems like openTx has some kind of problem with them, or images that is 7x7 in general. I have to investigate a little.

We could make them 8x8 leaving the first column empty. I think I had the same issues with the arrows and changing them to 6x6 fixed it, but 6x6 is too small for these.

Hi

I'm trying to get this to work with a Arduino Pro Mini 328 - 3.3V/8MHz.

https://www.sparkfun.com/products/11114

This one has no solder jumpers!

So far, it won't work with my Pixhawk!

I think the problem is here:

SoftwareSerial _FrSkySPort_Serial(9, 9,true); // RX, TX

The FrSky X8R has a half duplex serial interface sometimes also called "1-wire" or "one-wire".

But 1-wire is more likely a communication protocol.

I think we'll need something like this

https://github.com/nickstedman/SoftwareSerialWithHalfDuplex

TEENSY MAVLINK FRSKY SPORT FAILING FLVSS WHILE LOOPING ABSENT POWERMODULE: 

FOUND THIS FORUM ENTRY ABOVE & SUCCESS. 

1.  WITH TEENSY DAISYCHAINED TO FLVSS & WITHOUT APM POWER MODULE TO READ VOLTAGES

1A.  FAIL:  VERSION MavLink_FrSkySPort_1.3.zip

1A1.  THE TEENSY LOOPS A APM/PIXHAWK WITHOUT A POWER MODULE.

1A1A.  RESULTING "ZERO VOLTS" IN A CASE LOOP. 

1A1B.  REASON IF APM/PIXHAWK HAS NO POWER MODULE THEN IT SENDS "ZERO VOLTS" IN A CASE LOOP. 

2.  IF YOU DO NOT HAVE THE APM/PIXHAWK POWER MODULE THEN YOU WILL HAVE TO REMOVE THE CODE FOR THE POWER MODULE. 

2A.  ABOVE INSTRUCTIONS FROM ANDREW WERE SUCCESFUL.

2A1.  IN ARDUINIO I EDITED FRSKYSPORT.H & FRSKYSPORT SUCCESFULLY:

2A2.  FRSKYSPORT.H

LEAVE AS IS    #define SENSOR_ID2  0x0D

//  REMOVE   #define FR_ID_CELLS              0x0300     
//  REMOVE   #define FR_ID_CELLS_LAST   0x030F   

2A3.  FRSKYSPORT

// REMOVE   case 8:        // First 2 cells

//

// REMOVE   case 9:        // Optional 3 and 4 Cells

//

// REMOVE  case 10:       // Optional 5 and 6 Cells

//

3.  TEENSY WITH AN FLVSS & APM/PIXHAWK POWER MODULE: 

3A. I DO NOT YET HAVE THE APM/PIXHAWK POWER MODULE CURRENTLY IN POSTAL. 

Ok, itz not the code...

...this works!


What does this mean?

Where is the "Custom Scripts" page?

It means exactly what it says. Make sure the firmware you are using has the LUA option selected. It will add one more screen on the TX called CUSTOM SCRIPTS.

This is where you need to add the ApmTelem script to your model.

I'm using opentx-taranis-lua-en.bin 2.0.12

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service