Spirit System
https://www.spirit-system.com/phpBB3/

Adjust Spirit parameters on opentx TX
https://www.spirit-system.com/phpBB3/viewtopic.php?f=21&t=4937
Page 1 of 1

Author:  swash23 [ Tue 19. Oct 2021 7:20:27 ]
Post subject:  Adjust Spirit parameters on opentx TX

Hi,

Would like to share a lua telemetry script which I use to adjust Spirit (in my case Spirit GT) tuning values with a opentx radio (in my case Taranis X9D plus).
I will upload the script and the sound files later.
The tuning parameters are persistent using global variables.
Only use the script if you know what u do ;-)

Have fun

Attachments:
IMG_20211019_080601.jpg
IMG_20211019_080601.jpg [ 3.05 MiB | Viewed 5207 times ]
IMG_20211019_080611.jpg
IMG_20211019_080611.jpg [ 3.53 MiB | Viewed 5207 times ]
IMG_20211019_080625.jpg
IMG_20211019_080625.jpg [ 3.14 MiB | Viewed 5207 times ]

Author:  swash23 [ Tue 19. Oct 2021 7:23:44 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

files attached.
sounds.zip should be extracted to SOUNDS/en
The script is placed to SCRIPTS/TELEMETRY

Attachments:
spitun.zip [2.64 KiB]
Downloaded 213 times
sounds.zip [437.87 KiB]
Downloaded 214 times

Author:  jasc [ Wed 20. Oct 2021 9:14:47 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

Sounds interesting (not the sounds, the functionality :-) )
Can you share some more info what you mean by "persistent using global variable" and how its set up.
I'm familiar with GVARs, so I just need to know the rough overview.

Author:  swash23 [ Wed 20. Oct 2021 18:45:51 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

the script uses GVAR1 to GVAR9. You should not use these variables somewhere else on the radio.
You have to define a telemetry screen to use the script.
You assign the spirit functions to a free channel (in spirit settings)
and you define an opentx mixer for that channel (source:max, weight; GV9 (for example))
in the outputs screen of opentx you can adjust the alignment of the script values with the spirit parameter values (if needed)

Author:  swash23 [ Sat 23. Oct 2021 19:22:48 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

script has been extended and uploaded.
It is now aware of different banks or flight modes, so that each flight mode can have different values (for example head gain is mostly lower on higher rpm). The radio expects GVar 0-9 on Flight Mode 0,2 and 4
also added an option to disable sound because the sound output can be annoying if you switch fast through the menues.

Author:  jasc [ Mon 25. Oct 2021 7:20:09 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

swash23 wrote:
script has been extended and uploaded.
It is now aware of different banks or flight modes, so that each flight mode can have different values (for example head gain is mostly lower on higher rpm). The radio expects GVar 0-9 on Flight Mode 0,2 and 4
also added an option to disable sound because the sound output can be annoying if you switch fast through the menues.


Sounds good. I redownloaded and hope to test it soon. Lot of work currently :-(

Author:  jasc [ Tue 26. Oct 2021 16:53:41 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

Hi

i placed your script in Scripts/Telemetry but I can't activate it (added telemetry screen, full screen, select widget). Spirit is not connected
TX16s
EdgeTX2.5

Author:  swash23 [ Tue 26. Oct 2021 18:14:38 ]
Post subject:  Re: Adjust Spirit parameters on opentx TX

Hi,

the script is only for opentx / Taranis X9D plus (maybe similar radio will work also). The TX16s uses widgets which
are not used by this script. Opentx radios which use telemetry scripts should work.

Regards

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/