Low voltage alert
One nice thing about OpenTx is that you can tailor your battery alerts according to their chemistry. The snippet below is a battery alert for a LiPo or LiIon receiver battery. It sounds when the voltage drops below a certain threshold for longer than a given period:
L1: a<x, V1={sensor}, V2= {min-volts}, Delay={min-period}
SF1: L1, Play Sound(Beep 1), repeat(4s)
Where
sensor = 'RxBt', 'Cels', 'A1' or 'A2' depending on receiver or sensor used.
min-volts = low voltage threshold.
min-period = minimum duration of low voltage before alert is triggered.
How it works:
- L1 goes true when the battery voltage falls below min-volts for period seconds. It remains true until the voltage recovers.
- SF1 is a special function. It plays a beep every 4 seconds while L1 is true.
Adding a voice alert
The example above uses a simple beep, but a voice alert is more informative. Most sound packs have lowbat and batlow, however these are generic alerts. This "receiver battery low" track will avoid any confusion. To download, right click the link and Save As. The special function must be modified:
SF1: L1, Play track, "rxbtlw.wav", repeat(4s)