calculate singe cell voltage on ELRS - offer-shmuely/edgetx-x10-scripts GitHub Wiki

On ELRS (or other single voltage telemetry),

when flying models with different battery (I fly 3/4//5/6/12 cells).

some pilots (me) can not remember the correct total voltage that require landing.

I wrote a special script that will calculate the voltage of a single cell, (similar to what I did in the BattAnalog widget) and send this value as a telemetry value named "cell"

this is the script: https://github.com/offer-shmuely/edgetx-x10-scripts/tree/main/SCRIPTS/MIXES

to use it: copy the script to /SCRIPTS/MIXES folder

in the custom-script page (you will need to enable it) select the "cell" script

image

select the source voltage on BatSrc (usually RxBat_)

select number of cells

  • 0 --> auto detection (not very reliable if battery sag)
  • 3 --> 3s
  • 4 --> 4s
  • 5 --> 5s
  • 6 --> 6s

image

go to the telemetry page and press "discover now"

you will see new sensor called cell & cell#

image

now you can add a logical switch that let you know when to land (a good value for lipo will be 3.6v)

image