Files
DIY-Multiprotocol-TX-Module/Lua_scripts/README.md
T
fc6814b705 FrSkyA: FrSky ACCESS on the CC2500 (#1214)
* FrSky X: S.Port frames to the receiver stored at payload[i-start-2]

FrSkyX_seq_sport() (SPORT_SEND) stored the outgoing bytes at
payload[i-start+2], i.e. payload[4] to payload[11] for the 8 bytes of
an LBT packet: up to 4 bytes past each frame's 8-byte payload (into the
next frame's count and payload, past the array for frame 3). The
retransmits sent payload[i] and payload[i-start+2], bytes from beyond
the frame. All three now use payload[i-start-2] (0 to 7).

* FrSkyA: FrSky ACCESS on the CC2500

New protocol 112, subtypes 16ch, 8ch (FCC) and EU16ch, EU8ch (only the
region flag differs: ACCESS uses the same channels, hops and timing in
both). Reversed from the ISRM and RX6R firmwares and captures of an X9
Lite with an RX6R; same CC2500 PHY as Mike's UNI ACCESS.

- register (channel 0) and bind (channel 239) in the same bind
- 16 or 8 channels every 7 ms, D16 channel packing, extended limits
- failsafe: one channel per frame in its slot, as the ISRM
- telemetry: RSSI / RxBatt and the S.Port stream as D16, S.Port packets
  from the radio sent to the receiver (SportQueue(), split out of the
  serial input for FrSkyX/X2/R9)
- receiver settings and hardware info (PXX2 messages 5 and 6) between
  the receiver and a Lua script, MULTI telemetry type 18 ("Pipe") and
  serial frames of 2 to 7 extra bytes
- not on the atmega328p nor in the 64KB CC2500 release (size)

Tested with an RX6R (ACCESS 2.1.8) and an Archer Plus SR10+ (1.0.10,
3.0.3): bind, channels, failsafe (S.Bus output), telemetry, receiver
settings and the SR10+ stabilizer settings over S.Port.

Needs FrSkyX_seq_sport() fixed (#1203): its resends overflowed and
froze the hopping at the first S.Port packet.

* Lua: FrSky ACCESS RX, receiver options for FrSkyA

The receiver options page of an ACCESS module for a receiver bound
with FrSkyA: name and versions, fast PWM, telemetry and 25mW,
S.Port/F.Port/F.Port2, S.Bus 24, PWM on CH5/CH6, the channel or port
mode of each output. Rows follow the capabilities the receiver
reports. Uses the Multi Lua pipe (multiBuffer "Pipe").

* FrSkyA Lua: receiver IDs 81 to 85

Names for the newer ACCESS receivers (SR6BL15A, SR6Lite, R6Lite,
RS-Lite, R2SIM), so an R6Lite shows by name instead of "ID 83".

---------

Co-authored-by: Raphael Coeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: pascallanger <pascal_langer@yahoo.fr>
2026-11-21 16:07:16 +01:00

7.2 KiB

Multiprotocol TX Module OpenTX LUA scripts

If you like this project and want to support further development please consider making a donation.

Donate €5
€5
Donate €10
€10
Donate €10
€15
Donate €25
€25
Donate
Other

MultiConfig

Enables to modify on a Multi module the Global ID, Cyrf ID or format the EEPROM.

Matching the ID of 2 Multi modules enable them to control the same receivers without rebinding. Be carefull the 2 modules should not be used at the same time unless you know what you are doing.

Notes:

  • Supported from Multi v1.3.2.85 or above and OpenTX 2.3.12 or above
  • The Multi module to be configured must be active, if there is a second Multi module in the radio it must be off
  • Located on the radio SD card under \SCRIPTS\TOOLS

MultiCconfig

MultiChannelsUpdater

Automatically name the channels based on the loaded Multi protocol and sub protocol including the module channel order convention.

Need OpenTX 2.3.9 or above. Located on the radio SD card under \SCRIPTS\TOOLS. This script needs MultiChan.txt to be present in the same folder.

MultiChannelsUpdater

MultiLOLI

Script to set the channels function (switch, servo, pwm, ppm, sbus) on a LOLI RX

MultiLOLIconfig

FrSky ACCESS RX

Receiver options of a FrSky ACCESS receiver bound with the FrskyA protocol, as the receiver options page of an ACCESS module: receiver name and versions, fast PWM, telemetry on/off and 25mW, S.Port/F.Port/F.Port2, S.Bus 24, PWM on CH5/CH6 and the channel of each output, or its port mode (S.Port, S.Bus out/in, F.Bus) on the receivers that have it (SR10+, R10+, SR12+, R12+). The options shown depend on the capabilities the receiver reports.

Needs a radio firmware with the Multi Lua pipe (multiBuffer "Pipe"). Located on the radio SD card under \SCRIPTS\TOOLS.

Futaba S.BUS2 sensors

Sets up the S.BUS2 sensors of a Futaba receiver bound with the Futaba protocol (T-FHSS sub protocols). S.BUS2 sensors don't tell their type on the bus: the radio shows each slot with data as a raw sensor "S1", "S2"... and this tool turns it into a typed sensor that the radio decodes: temperature (SBS-01T, SBS-01TE), RPM (SBS-01RM), voltage (SBS-01V, 2 slots) and current (SBS-01C, 3 slots: current, voltage, capacity). A preset sets up an ESCape32 ESC (its telemetry ID 1 to 4).

Needs a radio firmware with the Multi Futaba telemetry. With model.setSensor() the sensors are created directly and the raw ones replaced; without it, "Discover new sensors" must be on and the raw sensors are deleted by hand. Located on the radio SD card under \SCRIPTS\TOOLS.

Graupner HoTT

Enable text configuration of the HoTT RX and sensors: Vario, GPS, ESC, GAM and EAM.

Need OpenTX 2.3.9 or above. Located on the radio SD card under \SCRIPTS\TOOLS.

Notes:

  • Menu/MDL/Model is used to cycle through the detected sensors.
  • It's normal to lose the telemetry feed while using the text mode configuration. Telemetry will resume properly if the script is exited by doing a short press on the exit button.

Text mode video

Graupner HoTT Model Locator

This is the Graupner HoTT adapted version of the Model Locator script using RSSI.

The OpenTX sensor "RSSI" is populated by the individual OpenTX telemetry protocol implementations and returns a value from 0..100 (percent) originating from the early FrSky implementation. It turns out that FrSky did not really provide a genuine signal strength indicator in units of dbm but a link quality indicator in 0..100%. With Graupner HoTT the link quality indicator is not a good basis for the model locator as it is very non-linear and doesn't change much with distance. Using the Graupner HoTT telemetry sensor "Rssi" which is a true signal strength indicator serves the purpose of locating a model much better as it varies much more with distance.

DSM Tools for EdgeTX and OpenTx

Collection of EdgeTx/OpenTX Tools to use with Spektrum Receivers including forward programming. Extract the color or black&white zip version at the root of your SD card.

Frank is maintaining these awesome tools, check out his repository. Feel free to ask questions or open issues there.

DSM PID Flight log gain parameters for Blade micros

Lua telemetry script from feathering on RCGroups to facilitate setting the Gain Parameters on the Blade 150S FBL. It doesn't use Forward Programming but instead it just reads telemetry data from the Multi-module and displays it on a telemetry display.

It is very similar to the Telemetry Based Text Generator functionality on Spektrum transmitters where one doesn't need to rely on the angle of the swashplate to determine selection/value.