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...
unfortunately I got both branches not to work.
I guess this one (https://github.com/fnoopdogg/MavLink_FrSkySPort/tree/0938ba2b9d9315...) is for the Taranis V2.1.
I tried this with tarans V2.1 and the Lua script but the Telemetry display was not readable because the main screen was still there and also the telemetry screen.
Here I got approximately 8A where nearly 0,5A should be shown.
Of course I always used your lib´s and lua scrips.
So I go back to V2.017 and my self punched code:-) May be If you got your code working on the V2.1 with LUA you can show me?
For open-tx 2.0.x you can use them:
For opentx 2.1.x this should work:
Debuging showed good values for me this night.
LUA Script was starting, but could not check if all values are good (it was nearly midnight).
BUT: You have to setup telemetry like in the screenshots provided in script location, otherwise LUA will not work.
And if you tried a earlier version of my opentx2.1 branch, please update all libs wich are provided.
Also I´m not very experienced in LUA scripting, hopefully Wolke or Luis can have a look at this.
you forgot to mention luis:
for open-tx 2.0.x
@all Devs working on this Topic:
Wouldn´t it be better to work together on this project? Instead of working for each other alone?
Why don't you buy a Frsky FLVSS LiPo Voltage Sensor With Smart Port and connect it in serie with the Teensy on the S Port.
That way you don't have to do anything execpt disable it when compiling the Teensy code. It is even possible to use two of them if you have dual battery.
this is a good idea. because it looks like that there are currently many things which make problems. firstly sport sync with newer x8r receivers or newer firmware on it. especially eu - firmwares. second opentx2.1 sensor values. currently a main problem for all available lua scripts. because all getValue(n) do not do the right job with 2.1.
I have currently a working dev version for opentx-2.1.
But I will redesign LUA completely, current version is working in 2.1
that s cool. i am impressed. just looking in your fork on github on s-c-l-v-rc-opentx2.1 branch. you use a new sport library. is sync now ok? and also with eu-firmware?
looks better than with previous libs.
I only have a Taranis X9d+ with X8R EU-Version.
Sometime I still got phantom sensors, but I found out that this is a teensy problem, or at our script.
@Wolke, could you please add me as a friend ?
btw. should we create a organization for this project or add other devs as collaborators?
Teensy on the Ground Side.
Has anyone ever tried doing Mavlink to S Port conversion on the ground side with a Teensy. I ask as I want to use Flip Flaps ULRS that has a Long Range 433 RC link and a Mavlink serial connection on the ground side. It should be possible to convert it to S Port on the ground without any issues using a Teensy but where would I feed this into the Taranis? Or could I just use this and forget the Taranis Telemetry screen?
Yes, I do a ground side with a Teensy 3.1, I use OrangeRx TX and BT module inside it.
You have a 2.4gh to 433mhz retranslator setup, correct? If so how did you implement correct RSSI?