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

[HowTo] OpenTX programming for Spirit control units
https://www.spirit-system.com/phpBB3/viewtopic.php?f=21&t=2753
Page 2 of 5

Author:  LapinFou [ Sat 24. Nov 2018 16:59:05 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

Carthago wrote:
Hello Seb,

meanwhile I tested a lot with the help of your file. It is great, that you as one of the OpenTx experts tries to help here and it would be a good idea to make your files including the explanation text the official examples in spirit manual.
To reach the +-100% in Spirit programming interface I had to change the values suitable to my radio a little bit and I use S1 als a gas limiter in connection with your safety switch.
My modified Heli seems to fly correct after changing from my old FBL to Spirit pro and GeoLink and from Graupner to FrSky, but the weather here is too bad at the moment for further flying - about 0 degrees, wet and windy.
So I will use the time and learn more about OpenTx.
A question to your explanation of calculating RPM values: why multiplying with 200 and -100 and so on? Can't see the reason, even though the results are correct, of course.
And another question: if you have a look in the heli-mixer-page in companion in the officially given example here there you can find three times the same value (I4:SMER, (=in English Rud)).
What is it for - I think it does nothing really.

Thank you and best regards,
Toni

Hi Toni,

Glad this tutorial helped you. :)

Here are the answers to your questions:
1- The expected range value for the RPM are from 0% to 100%.
However OpenTX goes from -100% to 100%.
So,
OpenTX → Spirit (PWM pulse in µs)
-100% → 0% (about 1100µs)
0% → 50% (about 1520µs)
+100% → +100% (about 1940µs)
Thus, to convert value you must use a Linear function.
This gives, the "Value * 200% - 100%"
:)

2- Concerning the "heli" setup menu under Companion/OpenTX, this is a dedicated menu for CCPM mixing.
This shall be use only for older heli with Bell Flybar which requires a "Cyclic-Collective-Pitch-Mixing".
So, this menu must be ignored for FBL heli.

Seb

Author:  Carthago [ Sat 24. Nov 2018 17:30:55 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

Hi Seb,

many thanks for your explanations!
Now I understand the calculation; I didn't think about the -100 to +100 range, but now its clear to me.
Heli setup menu: I thought so, but sometimes it is better to ask as a precaution.

Toni

Author:  LapinFou [ Sat 24. Nov 2018 17:58:49 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

You're welcome. :)

Author:  chadakennedy86 [ Tue 12. Mar 2019 3:30:06 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

you have some good work here...I could use some help setting up a X10 with geolink and hobbywing

Author:  stefaanbolle [ Thu 24. Sep 2020 18:06:24 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

I recently bought a TX16S.
Super radio btw.
My heli has a Spirit Pro with a SRXL2 4651T receiver. In OpenTX I get telemetry data, but I am not able to have the Spirit programming Lua to function. On my DX9 it is working.
I installed the Lua scripts in my scripts TOOLS folder. Am I overlooking something?

Author:  LapinFou [ Sat 26. Sep 2020 15:27:37 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

It should not be install in the TOOL menu.
It must be install at the root of the SD card, then launch from the SD card browser.

Author:  stefaanbolle [ Sat 26. Sep 2020 18:30:40 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

LapinFou wrote:
It should not be install in the TOOL menu.
It must be install at the root of the SD card, then launch from the SD card browser.


Thanks!

Author:  LapinFou [ Sat 26. Sep 2020 19:20:47 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

stefaanbolle wrote:
LapinFou wrote:
It should not be install in the TOOL menu.
It must be install at the root of the SD card, then launch from the SD card browser.


Thanks!

Here is how it does work on my X9D+ (menu are in French ;) )
Image

Author:  stefaanbolle [ Thu 01. Oct 2020 17:44:22 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

Still not working, having the same setup except receiver is SRLX2 4651T.
Also the deiscovered telemetry sensors seem strange. No flightpack voltage, strange temperatures and current readings while this is not supported in the HW Platinum 60A v4.
See screenshots of detected Telemetry sensors.
Something is wrong here. Anyone a clue?

Attachments:
screen-2020-10-01-161609.png
screen-2020-10-01-161609.png [ 24.2 KiB | Viewed 657 times ]
screen-2020-10-01-161559.png
screen-2020-10-01-161559.png [ 23.3 KiB | Viewed 657 times ]
screen-2020-10-01-161549.png
screen-2020-10-01-161549.png [ 25.28 KiB | Viewed 657 times ]

Author:  LapinFou [ Thu 01. Oct 2020 18:30:33 ]
Post subject:  Re: [HowTo] OpenTX programming for Spirit control units

Oh !
I didn't notice that you are using a Spektrum RX....
In this case, I can't help you. I'm only using FrSky receiver.

To be honest I don't think it can work, OpenTX LUA script are only for FrSky Receiver.
Spektrum telemetry is not working the same way.

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