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: 306672

Attachments:

Reply to This

Replies to This Discussion

Randy, On your telemetry sensor setup screen on the Taranis, do you have the Cmin sensor setup correctly? - If it is configured correctly, then with your Rx powered, and FLVSS correctly connected to s-port, plus LiPo balance connector connected to FLVSS etc, you should see the value of the calculated Cmin sensor displaying and updating on this sensor setup screen. If this appears to be displaying OK then check your spelling of the Cmin sensor name on this screen, as this is case sensitive in the LUA script, so its important its named with an upper-case 'C' and lower-case 'min'. The LUA script basically accesses this sensor data by name and displays the value directly onto the telem1 screen. If this is set correctly, and still not displaying, then can you make sure you are using the lua script from the s-c-l-v-rc-opentx2.1 branch, and not the -next branch (as this determines minimum cell voltage in the code and not through the calculated Cmin telem sensor)?

I have done some testing on all these script revisions and I also do not have working distance from home, so you are not alone. Clooney is aware of this issue.

Thanks Paul, I believe that I have everything set up right.  I had it working with the original Rolf teensy code and open tx but not after the switch to 2.1.  I have checked setup multiple times and still can't get Cmin to display on the sensor setup screen, all other values are live and working as expected.  I am going to spend a little more time on it this evening.  I'll post results.  Am I right that nothing has to be changed in the sketch if the FLVSS is used?  When I use Cels as the source I get battery voltage for Cmin.

RB

In the arduino scetch under the frsky sport tab, line 125 there is an option to select ac 3.3 or 3.2...did you select the right one?

Looks like 3.3 is default and 3.2 is commented out so I left as is.

I only know enough about Arduino C to get myself in trouble but it seems to me that there needs to be a variable called 'Cell' to get single lowest cell voltage from the FLVSS and the 'Cels' to get the sum of all cells for battery voltage as we had in the original code.  Otherwise using the Cels you could only get battery voltage divided by the number of cells and that is not worthwhile info.  In the WIKI it shows 'Cell' as the source for 'Cmin' but does not give any setup for 'Cell'

Hello to evryone

wonder if i can use this sensor to get each cell volt :

http://www.banggood.com/DIY-FRSKY-S_PORT-Voltage-Sensor-1-6S-For-X9...

instead of the original fvlss by frsky ?

and how can use it without the resistors board ?

or maybe with the original fvlss becouse it has two s.port conectors ?

my setup:

pixhawk+x8r+teensy3.1

Diy cell meter from banggood works perfect for less money. Just make sure to make calculations in Opentx 2.1 Companion for each cell from Clooney82 wiki. At the beginning i thought these are just calculated values. They are real values.
About that diy sensor, battery voltage Cells reading is perfect, but each cell voltage i had to calibrate, solder pins, attach ftdi and with simple program from banggood site, calibrate readings to match multimeter readings.

Great 

But how did you connect this sensor together with the teensy they both use the same s.port

And on the x8r receiver we have only 1  s.port ?

Little diagram will be very helpful 

 

With something like this : http://www.hobbyking.com/hobbyking/store/__52197__Servo_Splitter_Le...

Mine is just diy soldering style.

ok

so by using a simple y cable

i will see each cell on the lua screen ?

by the way i am using the script by IVALE

https://github.com/lvale/MavLink_FrSkySPort

ac 3.2.1

didnt preform any flight test yet so to move to  ac 3.3 seems to be a big issue to me

or should i abandon everythig and start all over again with  this script clooney82:

https://github.com/Clooney82/MavLink_FrSkySPort

by the way can i find a step by step guide to move to clooney82 ?

SPort telemetry sensors are connected in series, so if a sensor (the Teensy can be considered a sensor) does not have 2 connections, it must be the last on the chain.

I use the FLVSS (with display) sensor from FrSky and a Teensy and the connections are:

X8R <->FLVSS<->Teensy.

@effy To move to 3.3 the wiki on Clooney's is quite easy to follow. If you also upgrade the Taranis to 2.1.x you'll have to download new sound files for system.

Hi luis

 1 .so is it a must to use the resistors network to get cell voltage on taranis ?

    are you using it too ?  or just plug the flvss to balancer and to x8r

 2. on your ac 3.2 script the transmiter inform the flight mode by voice

     is it the same here on clooney script ? 

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service