<h1>OpenTX LUA Scripts</h1>
<p>Also available if you have an OpenTX radio and a smartport telemetry capable receiver are the Betaflight LUA script available from <a href="https://github.com/betaflight/betaflight-tx-lua-scripts/releases" rel="nofollow noreferrer">https://github.com/betaflight/betaflight-tx-lua-scripts/releases</a></p>
<p>These scripts allow you to change PIDs, Rates, Anti-gravity, D-Term Set point, Filters, PWM Settings, ESC protocol, Looptime, RX Settings and VTX channel and power output. Oscar Liang has a fantastic write-up (<a href="https://oscarliang.com/betaflight-change-pid-vtx-settings-taranis/" rel="nofollow noreferrer">https://oscarliang.com/betaflight-change-pid-vtx-settings-taranis/</a>) on what hardware is required, how to configure betaflight and install the LUA scripts on the radio and use them.</p>
<p>And a link to <a href="https://drones.stackexchange.com/questions/257/how-do-i-set-up-lua-scripts-on-my-opentx-radio/261">How do I set up LUA scripts on my OpenTX radio?</a> on this very site.</p>

CC BY-SA 4.0
2020-04-18T21:01:22.653Z
2020-04-18T22:16:33.710Z
2020-06-18T08:37:30.297Z
Paul Kendall
<p>Yes, you actually can! There are a couple of options for the Betaflight firmware which are <em>mostly</em> plug and play.</p>

<h1>OpenTX Lua Scripts</h1>

<p>Radios running OpenTX can use scripts written in Lua to control these parameters with the radio's scroll wheel and buttons. Please see <a href="https://drones.stackexchange.com/a/556/97">@PaulKendall's answer</a> for an explanation of how this method works.</p>

<h1>Betaflight OSD</h1>

<p>If you have an FPV setup on your quad, you can make use of the Betaflight OSD to tweak the vast majority of settings you would need access to during a flight session, like the PID values and rate profiles you mentioned. The OSD makes use of the sticks on your transmitter to navigate the menus, which appear as an overlay on top of the camera feed from the quad.</p>

<p>As described in <a href="https://oscarliang.com/betaflight-osd/" rel="nofollow noreferrer">this article by Oscar Liang</a>, the stick combination <em>mid throttle, yaw left, pitch forward, roll centered</em> is used to enter the menu, which should look something like this:</p>

<p><a href="https://i.sstatic.net/KgK6s.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/KgK6s.png" alt="Image cit. Oscar Liang"></a></p>

<p>From here, pitch up/down is used to navigate up and down in the current menu, and roll right to select an option or enter a sub-menu. (<em>items with arrows on the right side are sub-menus</em>) The roll axis is used to change a value up/down.</p>

<p>I know this sounds confusing, but it makes a lot more sense once you try it out and gain experience working with it. <em>Remember to select the <code>SAVE REBOOT</code> after making a change and before going back to flying, or your change likely won't take effect!</em> </p>

<h1>Speedy Bee Smartphone App</h1>

<p>If you want an experience that is closest to using the desktop Betaflight configurator or don't have an FPV setup on your quad to use, the Speedy Bee smartphone app for iOS and Android may be a good option. You can connect to the quad either using Bluetooth (<em>you must have a Bluetooth module already installed on your quad</em>), or over USB (<em>USB OTG mode is only supported on Android</em>).</p>

<p><a href="https://i.sstatic.net/H3zfk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/H3zfk.png" alt="Screenhots from the Speedy Bee website"></a></p>

<p>Because this app is developed and maintained by a third-party and not the Betaflight project, some new settings aren't likely to be accessible with this app, but it should work for most common settings. I suggest watching <a href="https://www.youtube.com/watch?v=MnV5bPPIV4M" rel="nofollow noreferrer">Joshua Bardwell's video about this app</a> for more details.</p>

CC BY-SA 4.0
2020-04-18T20:02:04.050Z
Don't forget the LUA scripts on an OpenTX radio can also be used to change PIDs and rate profiles etc.
Paul Kendall
CC BY-SA 4.0
2020-04-18T20:03:44.317Z
@PaulKendall AH! Forgot about that option. I don't have an OpenTX radio :( so I don't have experience to use in writing something up. Would you like to add an answer here with a description of how to use the Lua scripts?
ifconfig
CC BY-SA 4.0
2020-04-18T18:37:57.567Z
2020-04-20T19:03:09.663Z
2020-04-20T19:03:09.663Z
ifconfig
<p>I often find myself wanting to make adjustments to the settings on my quadcopter in the field, especially when tuning PID settings and rate profiles. I currently bring a laptop with me wherever I go so I can plug in over USB and use the Betaflight configurator, but it's very annoying to keep with me when I go fly.</p>

<p>Is there any way I can edit the settings on my Betaflight quad in the field without using a laptop?</p>

<betaflight><flight-controller><quadcopters><pid-tuning>
Can I configure Betaflight in the field without using a laptop?
ifconfig
# Can I configure Betaflight in the field without using a laptop?

(Asked by: username_0 on 2020-04-18)

I often find myself wanting to make adjustments to the settings on my quadcopter in the field, especially when tuning PID settings and rate profiles. I currently bring a laptop with me wherever I go so I can plug in over USB and use the Betaflight configurator, but it's very annoying to keep with me when I go fly.

Is there any way I can edit the settings on my Betaflight quad in the field without using a laptop?

**Tags:** betaflight, flight-controller, quadcopters, pid-tuning


---

## 2 answers

### Answer by username_0 on 2020-04-18. Score: 12 | Accepted answer

Yes, you actually can! There are a couple of options for the Betaflight firmware which are *mostly* plug and play.

# OpenTX Lua Scripts

Radios running OpenTX can use scripts written in Lua to control these parameters with the radio's scroll wheel and buttons. Please see [@PaulKendall's answer](https://drones.stackexchange.com/a/556/97) for an explanation of how this method works.

# Betaflight OSD

If you have an FPV setup on your quad, you can make use of the Betaflight OSD to tweak the vast majority of settings you would need access to during a flight session, like the PID values and rate profiles you mentioned. The OSD makes use of the sticks on your transmitter to navigate the menus, which appear as an overlay on top of the camera feed from the quad.

As described in [this article by Oscar Liang](https://oscarliang.com/betaflight-osd/), the stick combination *mid throttle, yaw left, pitch forward, roll centered* is used to enter the menu, which should look something like this:

[![Image cit. Oscar Liang](https://i.sstatic.net/KgK6s.png)](https://i.sstatic.net/KgK6s.png)

From here, pitch up/down is used to navigate up and down in the current menu, and roll right to select an option or enter a sub-menu. (*items with arrows on the right side are sub-menus*) The roll axis is used to change a value up/down.

I know this sounds confusing, but it makes a lot more sense once you try it out and gain experience working with it. *Remember to select the `SAVE REBOOT` after making a change and before going back to flying, or your change likely won't take effect!*

# Speedy Bee Smartphone App

If you want an experience that is closest to using the desktop Betaflight configurator or don't have an FPV setup on your quad to use, the Speedy Bee smartphone app for iOS and Android may be a good option. You can connect to the quad either using Bluetooth (*you must have a Bluetooth module already installed on your quad*), or over USB (*USB OTG mode is only supported on Android*).

[![Screenhots from the Speedy Bee website](https://i.sstatic.net/H3zfk.png)](https://i.sstatic.net/H3zfk.png)

Because this app is developed and maintained by a third-party and not the Betaflight project, some new settings aren't likely to be accessible with this app, but it should work for most common settings. I suggest watching [Joshua Bardwell's video about this app](https://www.youtube.com/watch?v=MnV5bPPIV4M) for more details.

> **Comments:**
> **username_1**: Don't forget the LUA scripts on an OpenTX radio can also be used to change PIDs and rate profiles etc.  
> **username_0**: @PaulKendall AH! Forgot about that option. I don't have an OpenTX radio :( so I don't have experience to use in writing something up. Would you like to add an answer here with a description of how to use the Lua scripts?  

---

### Answer by username_1 on 2020-04-18. Score: 4

# OpenTX LUA Scripts

Also available if you have an OpenTX radio and a smartport telemetry capable receiver are the Betaflight LUA script available from <https://github.com/betaflight/betaflight-tx-lua-scripts/releases>

These scripts allow you to change PIDs, Rates, Anti-gravity, D-Term Set point, Filters, PWM Settings, ESC protocol, Looptime, RX Settings and VTX channel and power output. Oscar Liang has a fantastic write-up (<https://oscarliang.com/betaflight-change-pid-vtx-settings-taranis/>) on what hardware is required, how to configure betaflight and install the LUA scripts on the radio and use them.

And a link to [How do I set up LUA scripts on my OpenTX radio?](https://drones.stackexchange.com/questions/257/how-do-i-set-up-lua-scripts-on-my-opentx-radio/261) on this very site.


---

