Chapter 14 – Specific AT Commands

Analog Digital Converters Measurements +ADC

Description: This command returns the current raw value of the specified ADC data item. Two external and four internal items can be queried.

 

VBATT

Battery voltage (+Vbatt) being supplied to the Modem.

 

THERM

Thermistor level (internal temperature) of the Modem.

 

HDET

Internal test use only.

 

ADC_0

External general-purpose user defined input (pin 33).

 

ADC_1

External general-purpose user defined input (pin 38).

 

ADC_CHG_MON

Battery charger monitor (CHG_IN).

Values:

<item>

 

 

 

0: VBATT: 0 to 2.5 volts. Returned value = (+V_BAT*256)/(2.5*2.5) Range: 0-255

 

1: THERM: 100 °C (68) to –40 °C (240). Returned value = (vt*256)/2.5 vt = -0.012*T +

 

1.864 “T” is thermistor temperature in °Celsius. Range: 68-240 or

 

-1.2288 °C per step.

 

 

2: HDET: Internal use. Value range: 0-255

 

3: ADC_0: 0 to 2.5 volts. Value = (Vadc*256)/2.5 Value range: 0-255

 

4: ADC_1: 0 to 2.5 volts. Value = (Vadc*256)/2.5 Value range: 0-255

 

5: ADC_CHG_MON: 0 to 4.2 volts. Value = (CHG_IN*256)/4.2 Value range: 0-255

Syntax:

Command syntax: AT+ADC=<item>

 

 

Command

 

Possible Responses

 

AT+ADC=0

 

+ADC: 211

 

Note: Select VBATT

 

OK

 

 

 

Note: raw value for VBATT (~2.29 volts)

 

AT+ADC=1

 

+ADC: 94

 

Note: Select THERM

 

OK

 

 

 

Note: raw thermistor temperature (~34 ° C)

 

AT+ADC=?

 

+ADC: (0-5)

 

Note: Ask for the list of possible

Note: possible values 0 –5

 

values

 

 

 

AT+ADC?

 

+ADC: 1

 

Note: Ask for the current item

OK

 

selected

 

Note: THERM selected

Mobile Equipment Event Reporting +CMER

Description: This command enables or disables the sending of unsolicited result codes in the case of a key press.

Values:

<keyp> (keypad) :

 

 

0: No keypad event reporting.

 

 

1: Keypad events are reporting using the unsolicited response: +CKEV: <key>, <press>.

 

See Chapter 3, Key Press or Release, for more information on +CKEV.

Syntax:

Command syntax: AT+CMER=<keyp>

 

 

Command

Possible Responses

 

AT+CMER?

+CMER: 0

 

Note: Display current setting.

OK

 

 

Note: Keypad event reporting disabled.

 

AT+CMER=1

OK

 

Note: Enable keypad event reporting.

Note: Keypad event reporting enabled.

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

96

Page 96
Image 96
Multi-Tech Systems CDMA Wireless Modem Analog Digital Converters Measurements +ADC, Mobile Equipment Event Reporting +CMER