MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
86 /105
Threshold
External power threshold in digital value (0 to 1023 units)
Default is 0 units
Current
Current external power level in digital value (0 to 1023 units)
Example
Command
Response
AT$XE=1,1,200
Note: Set an external power threshold.
OK
AT$XE=1
Note: Query setting and current external
power level.
$XE: 1,1,200,250
AT$XE=2
Note: Query setting and current external
power level.
$XE: 1,0,0,250
AT$XE?
Note: Query all settings.
OK
$XE: 1,1,200
$XE: 2,0,0
…
$XE: 5,0,0
22.2 Battery Power Status – AT$XB
This command allows user to set maximum 5 battery power thresholds for monitoring,
which is in term of digital value. When the battery power level is equal or higher than the
preset threshold, the respective battery power status flag in the event table will be set.
The ADC reference voltage is 3.3 volts. The battery power level is reduced by half
before connecting to the ADC channel.
For the conversion from digital value to actual voltage, refer to “ADC Conversion
Formula” below. The factor value for battery power level is 155. For example, the
voltage of 3.3 V is corresponding to digital value of 512.
ADC Conversion Formula
Battery Power Level = (Digital Value / Factor) volts
Syntax
Command
Response