Skip to content

About

Ethos telemetry widgets for gas engines on FrSky radios: Gas Engine ECU (fuel injection) and Gas Engine Carb (carburettor) - cylinders, RPM, fuel, batteries, alarms, flight list

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Gas Engine ECU / Carb – telemetry widgets for gas engines (FrSky Ethos)

English · Deutsch · Documentation: Wiki (English) · Wiki (Deutsch)

This project is open source and free. If you like it, you can support it with a donation:

Donate with PayPal

Configure on your PC with Lua-Studio – arrange the screen, choose values, alarms and colours, then transfer to the radio. Download: latest release · Wiki

Two full-screen widgets for FrSky radios running Ethos 26.1 or newer. They show the telemetry of a gas engine on three pages (engine, electrics, summary with flight list) or in a compact view, and warn with colour, voice and vibration. Display, menu and voice in German and English.

Widget For Version Folder on the SD card
Gas Engine ECU Fuel-injected engines with an ECU (RPM, cylinders, fuel pressure, ECU voltage) 1.13.1 SD:/scripts/gas_ecu/
Gas Engine Carb Carburettor engines, e.g. with FrSky AES / AES II 0.13.1 SD:/scripts/gas_carb/

Gas Engine ECU page 1 (English, Ethos simulator)

Status: public pre-release (public beta). Gas Engine ECU 1.13.1 / Carb 0.13.1 are pre-releases. Tested on the radio (X18RS, Ethos 26.2.0): ECU 1.11 and 1.12.3, Carb 0.12.5; newer parts in the Ethos simulator. Use at your own risk. License: GPL-3.0, see below.

New in Gas Engine ECU 1.13.1 / Carb 0.13.1: setting «Reverse throttle» (menu, directly below «Throttle (channel)», off by default) for pilots who fly throttle reverse (full throttle = stick back). It turns the throttle % round for the throttle bar, the choke warning «from throttle» and Lua-Studio.

New in Gas Engine ECU 1.13.0 / Carb 0.13.0: save the Lua-Studio file as Standard.gas_ecu.lua / Standard.gas_carb.lua. Order: choice in the widget menu › file of the model (<model>.gas_ecu.lua) › Standard file › built-in display. The menu shows «Default (all models)»; changes made on the radio stay per model (<model>.gas_ecu.funke.lua). A model named «Standard» uses the file as its own model file.

New in Gas Engine ECU 1.12.0 / Carb 0.12.0: the studio layout is always found: search in SCRIPTS:/studio/, SD:/scripts/studio/ and RADIO:/scripts/studio/, menu entry «Studio layout» to pick a file whose name does not match the model, views scaled to other window sizes, and a note line when the default display is shown. See Studio layout not showing?.

New in Gas Engine ECU 1.11.0 / Carb 0.11.0: two new Lua-Studio display types: zylinder (all cylinder columns as on page 1, w = "lua:cht_max") and tank (tank column with %, ml, used, flow, time left and the REFUELLED button, w = "lua:tank_proz"), so cylinders and tank can be placed anywhere in your own layout. Needs a Lua-Studio version that offers them; older Lua-Studio versions simply do not offer them.

New in Gas Engine ECU 1.10.0 / Carb 0.10.0 (renamed from Motoren ECU / Vergaser): «Alarm also with motor off» per limit (menu and Lua-Studio, on by default); a Lua-Studio limit without a number keeps the factory limit; memory is freed on model change.

Quick start

  1. Download Gas-Engine-ECU-1.13.1.zip or Gas-Engine-Carb-0.13.1.zip from the latest release.
  2. Connect the radio by USB, choose Ethos Suite on the radio and open FrSky Suite on the computer.
  3. Suite › Lua library › Install from local ZIP › choose the ZIP (do not unzip it). Restart the radio.
  4. Model › DISP › new screen with layout full screen › choose the widget.
  5. Long-press the widget › Configure widget › Search. Then set engine switch, throttle channel, cylinders, tank and batteries.

Without the Suite: copy the folder from the ZIP to SD:/scripts/. The X18RS with Ethos 26.2 loads scripts from the SD card only. Updating keeps settings, tank, flights and assignments. Upgrading from Motoren ECU / Vergaser (breaking): choose the widget again on each model and search the sensors again, see Wiki › Installation.

Documentation and testing

What File
Wiki English · Deutsch
Manual ECU (PDF) English · German
Manual Carb (PDF) English · German
Test guide (German, checklist) TESTLEITFADEN.md
Voice texts (DE/EN) docs/Sprachansagen.md
Bugs and wishes GitHub › Issues › New issue
Versions CHANGELOG.md

Radios and test status

Radio Display Status
X18RS 800×480 tested on the radio (Ethos 26.2.0)
X18 / X18S 480×320 not tested
X20 / X20S / X20RS / X20 Pro 800×480 Ethos simulator only
X14 / X14S 640×360 not tested
X10 / Twin X Lite 480×272 not tested

X20 / X20 Pro: the scripts may live in the internal memory (SCRIPTS:/gas_ecu/, SCRIPTS:/gas_carb/) instead of the SD card. The widgets and the Studio files work from both places (SCRIPTS:/studio/ is searched first).

Tested on a real X18RS (with a telemetry simulator, 48 sensors, receiver SR10 Plus): sensor search, power switch alarm, batteries, battery type, language, switch name field, the Lua-Studio file. Never flown yet. Not yet tested on the radio: everything new in 1.13.x / 0.13.x, every single menu item, announcements in flight, other radios. Questions, «Refuelled» and the flight list need touch; the rotary encoder only changes pages.

Lua-Studio

With the PC app Lua-Studio you design every box yourself (value, number, ring, bar, graph, status, colours, limits). Lua-Studio writes one file per model to SCRIPTS:/studio/; the widget reads it on model change. Without the file everything works as before. What the widgets offer is described in studio/gas_ecu/beschreibung.json and studio/gas_carb/beschreibung.json.

Studio layout not showing?

  1. Copy the file to scripts/studio/ on the SD card or in the radio memory (SCRIPTS:/studio/, SD:/scripts/studio/ and RADIO:/scripts/studio/ are all searched).
  2. One layout for all models: save the Lua-Studio file as Standard.gas_ecu.lua / Standard.gas_carb.lua. Order: choice in the widget menu › file of the model (<model>.gas_ecu.lua) › Standard file › built-in display. The menu shows «Default (all models)»; changes made on the radio stay per model (<model>.gas_ecu.funke.lua). A model named «Standard» uses the file as its own model file.
  3. If the file name does not match the model name: widget menu › Studio layout › pick the file (place in brackets). «automatic (model name)» uses <model>.gas_ecu.lua / <model>.gas_carb.lua.
  4. Other window size (e.g. with top and bottom bar, 784 × 316, or a smaller radio): the widget scales the closest view and shows «Studio: view 800x480 adapted» for 5 s. Boxes too small for their type become numbers or are left out.
  5. A line at the bottom «Studio: file faulty (…)» or «Studio: no matching view» tells why the default display is shown. Export the file again from Lua-Studio.
  6. The info file SCRIPTS:/studio/<model>.<lua>.info.json shows studioQuelle, studioWahl, ansichtGenutzt, angepasst and hinweis; Lua-Studio reads it.

Repository layout

Content Location
Widget ECU (as on the SD card, voice files in audio/de and audio/en) src/gas_ecu/
Widget Carb src/gas_carb/
Manuals (HTML source, PDF next to it) docs/anleitung/, docs/*.pdf
Simulator screenshots docs/bilder-simulator/
Tests, explained in test/LIESMICH.md (German) test/

Development

Not needed for testers. The Mac tests run with Lua 5.4 from the repo folder:

lua test/motor_aus_test.lua
lua test/suche_test.lua
lua test/update_test.lua <felder.lua of the previous version> src/gas_ecu/felder.lua

The simulator flows in test/ are meant for a driver based on the Ethos WASM simulator («ethos-tools» plugin); that driver, the random test and the PDF/package scripts belong to the author's build kit and are not part of this repo (folder in the environment variable ETHOS_LUA_TOOLS). Version only in src/<folder>/main.lua; two widgets with their own version numbers, so two tag series gas-ecu-vX.Y.Z and gas-carb-vX.Y.Z.

Related projects

Project What it does
Electric Ethos widget for electric models
Heli Ethos widget for helicopters with telemetry (any flybarless system)
Jet Ethos widget for turbines (several ECU brands)
Glider Ethos widget for gliders (vario, thermals)
Lua-Studio PC app to set up the widgets (Mac/Windows)

License

GPL-3.0, see LICENSE.

About

Ethos telemetry widgets for gas engines on FrSky radios: Gas Engine ECU (fuel injection) and Gas Engine Carb (carburettor) - cylinders, RPM, fuel, batteries, alarms, flight list

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages