Betaflight LUA Script on X-Lite for BetaFPV 65 with Smart Audio

 

LUA script running on X Lite

I wanted to be able to change the VTX with the X Lite transmitter on the BetaFPV 65 Pro 1S.  When I first got it I thought it odd that you had to remove the canopy to change the VTX which is not ideal if you are flying with other people and need to change.   Turns out you can do it with OSD but you have to first configure it.  That’s pretty good but… you have to have the frequency while tuning and when you set the change you have to find it again.  Turns out there are Taranis LUA scripts to use the telemetry on the newer FrSKY modules and flight controllers with Betaflight to let you change it from your TX.  You can also change PIDs and other flight characteristics this way too.

There’s several things you have to do get this to work and it took me a week or two before I found the final trick to it.

 

Step 1: Get it together

You will need:

Step 2: Get Smart Audio and OSD Working First

WIth the BetaFPV Whoops this was just enabling the port for it and then enabling Smart Audio in the OSD as show in the linked article.

OSD Smart Audio Port

VTX Control: change VTX settings from OSD with SmartAudio/Tramp

Step 3: Do This

Download and install the LUA on the uSD card, enable the script on the telemetry page, make sure the binding is correct.  The details are on  these links:

How to Change PID and Betaflight Settings with Taranis LUA Script

 

Step 4 The Tricks to Watch Out For

X-Lite doesn’t have the same buttons as Taranis so it is Long-Down to get into telemetry.  The menus are a little different than shown but you can find it.

Bind in D16 mode.  By default it uses D8 mode,  This is what tripped me up but I finally found it in the BetaFlight receiver configuration to FRSKY_X instead of the default FRSKY_D

FRSKY_X

Conclusion: Still some quirks

It works which is great but some features it seems to fail on “getting telemetry” when you save the page.  In particular Pit Mode but that could be because by the time I got this working my VTX had fried and I replaced it with a different AIO that does SA but may or may not have a pit mode.

I can’t get to other telemetry screens now?  I tried setting the script page first or second but I can’t navigate to the other pages if I have the bf script shown.  Maybe just my derp or is it designed that way?

 

 

 

Leave a Reply