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
Displayed content while in GPS controlled mode
Installing:
Flight controller D-port Setup (only for D-receiver)
- 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
- 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)
- 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
- 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
- Activate the FrSky S protocol in the parameters for the appropriate port. Baute rate: 57kbs (APMPlaner2)
Taranis Setup OpenTX 2.1.6 or newer
- Make sure you have LUA-Scripting enabled in companion
- Download the scripts folder from here and copy to the SD card root
- Optional: Edit with a txt Editor the Downloaded Script to Change the Setup to you own Wishes
- Start your Taranis, go into your desired Model Settings by short pressing the Menu button
- Navigate to the last Page by long pressing the page button
- Delete all Sensors
- Discovery new Sensors
- There will be a lot of sensors listed depending on your receiver (d8r, d4r, x8r etc.)
- Recommend is to check if the sensors Name correct.
- 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
- 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