-
Notifications
You must be signed in to change notification settings - Fork 8
Home
An Open TX Telemetry Script for reading and announcing battery mAh consumption. Uses the mAh consumption as reported from KISS 24a ESC as Telemetry data and accepts a configurable user Target mAH and Percentage Notification.
The pilot can target how much mAh they intend to use that flight, adjust this value as needed, and this will be used as the "Battery". The Percentage Notification allow for the pilot to receive verbal indication of the "Battery" at the desired intervals.
During the final 10% of the "Battery" an indication is given at every 1%. After 100% usage of the "Battery" each additional % used will trigger a "Battery Critical" alarm. -- This will most likely be changed in a future revision.
- KISS 24a ESC
- OPEN TX 2.1 Firmware on Taranis
Download the latest release archive, https://github.com/DynamikArray/KISS_Battery_Monitor/releases and then place the file (KISSdata.lua) in the following directory on the SD_CARD of your Taranis
SCRIPTS\TELEMETRY
(if the TELEMETRY folder does not exist then you may need to create it)
Alternatively you can download only the KISSData.lua file by following this link, https://raw.githubusercontent.com/DynamikArray/KISS_Battery_Monitor/master/KISSdata.lua , then save the file to your computer (Ctrl+S in google chrome, or right-click Save-As on windows), choose save type of "All Files", so that the file extension is not changed and press save.
(If you are having issues after installation with sound playbacks not saying percentage, instead saying "miles per hour", "feet", or something other than "Percentage" then ensure you have the correct Open TX 2.1.X SOUND/SYSTEM files installed. ) Open TX sound packs are available for download here: http://voices-21.open-tx.org/
After copying files to correct location on SD cart AND the SDCARD folder for your OpenTx Companion, you can open your OpenTX Companion and select a model and navigate to the telemetry screen. Find the portion that allows you to set the Telemetry Screens and Change the Custom Screen Type to "Script" and select the KISSdata script from the list.
In order to set this option inside of the OpenTx software, you'll need to ensure the KISSdata.lua script is also installed to your OPENTX SDCARD folder
Save this setting back into your radio, and reboot the radio normally.
If you do not copy the KISSData.lua script to the local folder of your OpenTX Companion SD Card, then you will have to choose the lua scipt using the internal Taranis menu system.
When the radio starts, select the model you've chosen for telemetry data, and navigate to the correct telemetry page by holding down the [PAGE] button.
There are two parameters the Pilot may adjust as needed.
- Target mAh = The amount of mAh the pilot wants to consume.
- Notification Percentage = The Percentages the pilot wants the verbal alerts to trigger.
On the main screen of the script, you may adjust the target mAh at anytime using the +/- keys to adjust the value in steps of 10.
Percentages Notification adjust may be accessed by pressing the [MENU] key. On the Percentages Notification Screen you may adjust the Percentage using the +/- keys. This may be used to set the desired percentages for battery callouts.
The default is 10%. This gives an audible alert every 10% of the Target mAh.
Pressing the [MENU] key again will bring you back to the main screen of this script.
The Telemetry data is not visible for viewing after RSSI loss (ie pilot lands and disconnects battery from multi rotor)