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...
Replies
simple edit telem1.lua and remove not wanted items.
for example in line 542
change
to
will remove the Wh Gauge. or comment other not needed power infos in " local function powerpanel()"
for example changing
to
remove the "A" item from display.
Tried all and finally did the powerpanel changing just Before you wrote and voilá!
A final Q if you can answer, is it possible to call "cells" and put in the powerpanel?
The one showing every single cell, its available if you go through pages in telemetry, but cant see how to call it in your nice script =/
IF you want to explain and have the time :) Will probabably figure it out otherwise in a year or two when I finish Reading greek... LUA :P
everything is well documented here.
http://www.open-tx.org/2014/07/19/Lua-reference-guide/
but cell min is at least the most important cell info.
I have this installed on a pro mini. had to change serial1 to serial.
has anybody got the GPS to work on the pro mini? I see lots have had this problem, but no solution.
Would I be better off ordering the teeny?
would like to know asap, as \im about to order one.
Thanks
davis
GPS doesn't work for me on my Pro Mini. Been pushing myself to get it working so I can learn something deeper about embedded development.
I had to comment out parseStatusText to get it to run without crashing, I think I have a solution for that problem now. Once I have that confirmed, I'll have a poke at the GPS.
Don't hold your breath though, this is just a hobby! If you're in a rush, get the teeny.
Which version you've running on the pro mini ?
I tried them all (Wolke's, Luis Vale Gonçalves... etc) and if i dont comment this part :
case MAVLINK_MSG_ID_STATUSTEXT: //253
mavlink_msg_statustext_decode(&msg,&statustext);
ap_status_severity = statustext.severity;
ap_status_send_count = 5;
// parseStatusText(statustext.severity, statustext.text);
the whole thing doesnt work.. i mean, even the led doesnt blink, no mavlink receiving anything... however if i comment that line, it works and i receive data. Weird, no ?
Also, does it take a while for your radio to begin receiving this telemetry ? I notice mine takes like a minute or so to show data after connecting the battery to the quad...
For a single Cable you would need this: http://www.frsky-rc.com/product/pro.php?pro_id=112
OR flash the s.bus firmware on the APM if possible (seems not all non-"original" itterations of it can do it)
my original apm runs s.bus firmware just fine. google how to flash it.
@ Luis Vale Gonçalves , what's the obvious difference between your code and the one by hector hind (https://github.com/rotcehdnih/Mavlink2Frsky/tree/master) on the mavlink part ?
i'm trying to port yours to arduino pro mini, but it fails right on the mavlink part... i get no slow blink/no blink whatsoever
i just changed on MavLink_FrSkySPort.ino :
if i upload his version i get slow blink when i dont have mavlink data incomming, and fast blink when received mavlink data.
thanks