Skip to content

iNavFlight/LuaPilot_Taranis_Telemetry

 
 

Repository files navigation

Readme

This Script LuaPilot is a nice Telemetry screen for Taranis with OpenTX >2.17 and should work with Arducopter (Pixhawk, Fixhawk, AUAV-X2, etc.) and maybe others Flight controllers which are connected to an FrSky D-Receiver & X-Receiver.

Thanks to SockEye, Richardoe, Schicksie, lichtl, ben_&Jace25,Clooney82&fnoopdogg for they Previous Work.

Changelog:

V2: Performance & less Memory Consume, Better Hdg, Distance, Battery Percent Calculation with capacity, Resistance Calk & Voltage Compensation, better Battery Regression Curve , Audio Alerts for LipoVoltage, Consume, Flight mode, Max Average Current & GPS State

V1: Battery Consume, Vspeed, GPS Speed, Hdg, efficiency Calk, Background Task, flexible Setup.

Let’s improve it together and have one nice all in one Taranis Telemetry Script, made Pull Requests or if you have an issue please report it :)

This is Version 2 for the next Version 3 it’s planned to add more Screens, more Flight Controllers and a GPS/Compass "Radar" screen.

Screenshots

Welcome Screen

Displayed content while in GPS controlled mode

Displayed content while in GPS controlled mode

#Installing:

Flight controller D-port Setup (only for D-receiver)

  1. Connect the Arducopter with a RS232 TTL level converter (not need to be a FrSky, a cheaper one from EBay also works fine (watch for correct specifications)) and connect RS232 TTL level converter with your FrSky Receiver
  2. Activate the FrSky D protocol in the parameters for the appropriate port. Baute rate 9kbs

Flight controller S-port Setup (X-receiver with Arducopter V3.3)

  1. Connect the Pixhawk with a RS232 TTL level converter (not need to be a FrSky, a cheaper one from EBay (MAX3232CSE also works fine & is better to solder) and connect RS232 TTL level converter with your FrSky Receiver
  2. Buy the FrSky SPC cable, but its only one normal diode and you can soldering the diode direct to the RS 232 TTL converter like https://goo.gl/y9XCq8 and doesn’t need the SPC Adapter
  3. Activate the FrSky S protocol in the parameters* for the appropriate port. Baute rate: 57kbs *(APMPlaner2)

Taranis Setup OpenTX 2.1.6 or newer

  1. Make sure you have LUA-Scripting enabled in companion
  2. Download the scripts folder from here and copy to the SD card root
  3. Optional: Edit with a txt Editor the Downloaded Script to Change the Setup to you own Wishes
  4. Start your Taranis, go into your desired Model Settings by short pressing the Menu button
  5. Navigate to the last Page by long pressing the page button
  6. Delete all Sensors
  7. Discovery new Sensors
  8. There will be a lot of sensors listed depending on your receiver (d8r, d4r, x8r etc.)
  9. Recommend is to check if the sensors Name correct.
  10. Set this lua script as Telemetry screen.

Sensor Name (case sensitive!)

  • VFAS -> is the Lipo Voltage
  • Alt -> is the Baro Altitude
  • Curr -> Current drain
  • GSpd -> GPS Speed
  • Hdg -> Compass Direction
  • Tmp1 -> Flight mode (small Numbers)
  • Tmp2 -> GPS Fix (something like 103 for 10 satellites’ and 3d fix or 93 for 9 satellites’ and 3d fix)
  • RSSI -> Rssi Value

Optional Setup LuaPilot:

open the script with an txt editor and you can modify at the beginn of the script allot of Parameters.

Using:

Push in the Normal Taranis Screen Long the Page Button to see the LuaPilot Telemetry screens. If you want to Reset LuaPilot because you have a new Home Position or reset you Battery Consume or what else Push long (Menu) in the LuaPilot Screen.

##useful links

  1. http://copter.ardupilot.com/wiki/common-optional-hardware/common-telemetry-landingpage/common-frsky-telemetry/ (How to connect your Converter)

##LuaPilot Script Download https://github.com/ilihack/LuaPilot_Taranis_Telemetry/archive/master.zip

About

This Script LuaPilot is a nice Telemetry screen for Taranis for INAV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%