
CUSTOM AT COMMANDS
AT Commands for EV-DO-EV3 Modems
Digital/Analog Converter Control #DAC
EV3 models only.
Set command enables/disables DAC_OUT pin.
Read command reports whether the DAC_OUT pin is currently enabled, along with the integrated output voltage
scale factor, in the format:
#DAC: <enable>,<value>
Test command reports the range for the parameters <enable> and <value>.
Syntax
Command Command type
AT#DAC=[<enable>[,value]] Set
AT#DAC? Read
AT#DAC=? Test
Parameters and Values
<enable> Enables/disables DAC output.
0 Disables pin; it is in high impedance status. Default: 0.
1 Enables pin; the corresponding output is driven.
<value> Scale factor of the integrated output voltage; it must be present if <enable>=1.
0…1023 10-bit precision.
Note:
Integrated output voltage = max voltage * value/1023.
With this command the DAC frequency is selected internally.
Do not use D/A converter during POWERSAVING.
DAC_OUT line must be integrated (for example with a low band pass filter) in order to obtain an analog
voltage.
Example
Enable the DAC out and set its integrated output to the 50% of the max value:
AT#DAC=1,511
OK
Disable the DAC out:
AT#DAC=0
OK
Comentarios a estos manuales