User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 28 ~
5.12. Sensor Parameters
set q sensor <mask> Bitmask value that determines which sensor pins to sample when sending
data using the UDP broadcast packet, or the HTTP auto sample function.
NOTE: The sensor pins variable has been changed from
“set option sensor <mask>” to set q sensor <mask> in ver 2.23
set q power <value> This register is used to automatically turn on the sensor power. This is a 8
bit register with two 4 bit nibbles. If the top nibble is set, then power is
applied upon power up and removed upon power down or sleep.
If the bottom nibble is set, then power is applied when a sampling event
occurs, for example:
The UDP broadcast
The auto web posting of sensor data
The power is removed immediately after the sampling is complete.
The values used for setting the power are described in the table below:
Value
Sensor pin voltage
0
Turn off the sensor power
1
GROUND the sensor pin
2
1.2V internal regulated reference
3
VBATT input pin
4
3.3V output of on board regulator
Example: To set the power to 1.2V automatically upon power up, the
command would be set q power 0x20. To set sensor power to 1.2V when
sampling event occurs, the command is set q power 0x02
Example: To set the power to 3.3V automatically upon power up, the
command would be set q power 0x40. To set sensor power to 3.3V when
sampling event occurs, the command is set q power 0x04