2.2 Audio Message Minimum Cell Info config (celinf.lua) - athertop/MavLink_FrSkySPort GitHub Wiki

![celinf](https://raw.githubusercontent.com/Clooney82/MavLink_FrSkySPort/s-c-l-v-rc-opentx2.1/images/Config - cellinfo.png)

The script is optional to use. It is located in the /SCRIPTS/MIXES folder on the SD card, and to use this, it should be added to the Custom Scripts page of your model setup (to see this page in OpenTx, it does require that the lua option has been chosen prior to OpenTx Firmware download). It's use enables audio messages to be called telling the pilot the voltage reading of the lowest voltage cell in your LiPo pack. Initially the voltage call happens each time the value drops by a predefined value (Drop,mV described below), then once the voltage breaches the Warning voltage threshold (Warn,V/100 described below) this voltage value is called with a warning message and repeats at the configured frequency (defined by Rep, Sec described below). Once the voltage drops further and breaches the configured 'Critical' voltage threshold (Crit,V/100 described below) the called message will change to a Critical message, also repeated at the configured frequency.

Configuration parameters:

  • Crit,V/100 - setup Critical Voltage alarm level. The value is divided by 100. E.g. 320 means 3.2V
  • Use Horn - 0 = no horn, 1 = sine horn, 2 = other sine horn, 3 = another sine horn
  • Warn,V/100 - setup Warning Voltage level. The value is divided by 100. E.g. 320 means 3.2V
  • Rep,Sec - frequency (in seconds) for how often the cell voltage is called once warning voltage level has been breached.
  • Drop,mV - if your minimum cell voltage has not yet breached the warning threshold (I.e. your pack still has a working charge), this value decides when a regular minimum cell voltage call is made - so instead of being repeated at a time frequency (as is the case for warning situation), it is called as the voltage of the lowest cell drops by blocks of this defined value. E.g. 100 means that each 0.1V drop will cause the minimum cell voltage to be called for information only. This is precise to 2 decimal places.