Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFAS to High? #8

Open
ChrisCopter opened this issue Apr 11, 2020 · 1 comment
Open

VFAS to High? #8

ChrisCopter opened this issue Apr 11, 2020 · 1 comment

Comments

@ChrisCopter
Copy link

I´am currently setup my Taranis QX7 with that lovely Lua Script.
Unfortunitly there are some promplems that i have encountered.
My VFAS Sensor getting me values from 10.8 to 16.8 depends on the battery i fly,
which i want to show on the bottom.
If I disconnect the VFAS sensor the script works fine with my switches, clock, RSSI, Timer and QX7 Voltage. There is only a problem when i activate that voltage sensor in my OpenTX.
I think there is this problem because the script expects an lower number.
I tried my best for several hours but nothing seems to help.

I want to show the VFAS Voltage on the Bottom with the fat numbers and that divided by 4(because i fly an 4s Lipo) shown in the graph on the left side on the screen as supposed.

Thank you, stay healthy and some some happy easter days.

Greetings from germany,
Chris

@SirBrokalot
Copy link

I had the same issue with the left bar always being full. I found that since the latest updates of betaflight/opentx the average cell voltage has been named A4. By changing the following in line 388 of the farl.lua script you can get correct average voltage for your cells again.

From:
387 -- Now draw how full our voltage is...
388 local voltage = getValue('VFAS')

To:
387 -- Now draw how full our voltage is...
388 local voltage = getValue('A4')

Please confirm if this has solved your issue.

I've added the modified farl.lua here for convenience:
farl.zip

Thanks AndrewFarley for this great script!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants