Cinterion
®
EHS6 AT Command Set
19.6 AT^SRADC
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 460 of 513
Operation
Open or close ADC channel for measurement.
0 Close ADC channel (value of parameter <it> is ignored).
1 Open ADC channel
Measurement interval
Parameter is used only if operation <op> is 1 (Open).
[0] Single measurement mode
30,000...100 Output interval in ms in periodic measurement mode.
Measurement value
0...1200 Measured raw value of the actual voltage applied at the ADC_IN input pin in
mV.
1...11 Number of measured samples
In single measurement mode: <count> is always 1.
In periodic measurement mode: <count> is number of <value>s indicated by
each URC "^SRADC". The higher the sample rate set with <it>, the more mea-
sured values are reported within the URC "^SRADC".
Notes
• If power saving is enabled (see AT^SPOW and [2]), take into account that the periodic mode lets the ME con-
sume current each time the measurement is performed. This reduces the effect of power saving and thus
decreases the operation time.
• If an AT command is input on the same interface where the periodic measurement mode is on, up to 100
"^SRADC" URCs are queued up and sent after AT command completion.
If more than 100 URCs occur before the AT command is completed their measurement values are lost.
Examples
EXAMPLE 1
Single measurement
EXAMPLE 2
Periodic measurement at low sample rate (5s):
<op>
(num)
<it>
(num)
<value>
(num)
<count>
(num)
AT^SRADC=1
Open ADC channel for single measurement.
^SRADC: 1,78
OK
AT^SRADC=1,5000
Start periodic measurement mode on the ADC chan-
nel. Samples are taken every 5s. Every 5s the URC
"^SRADC" appears to report the measured voltages.
The first parameter represents the number of mea-
sured samples, in this case only one.
^SRADC: 1,76
^SRADC: 1,78
^SRADC: 1,76
^SRADC: 1,76
AT^SRADC=0
Stop the periodic measurement
OK