G5/G6-Family AT Commands User Manual Page
10.1Hardware Information Commands
10.1.1+MMAD, Query and Monitor ADC Value
This command intends to query and monitor ADC value. G510-A20 supports 1-ways ADC connector. This
command returns the current ADC values for the requested channel. The values received from the first
converters represent the DC voltage levels of the input pin.
The returned value is a multiplication of the input level by 1000 (e.g. input level of 0.56V will return 560).
+MMAD:
<Converter_number>,<Converte
d_Value>
OK
Or:
+CME ERROR: <err>
The following table shows the +MMAD parameters.
1-2 Select the A2D converter.
A decimal value represents the returned digital value.
The input level multiplied by 1000.
Example:
AT+MMAD
+MMAD: 1,500
OK