RC16xxxx-SSM
2017 Radiocrafts AS
RC16xxxx-SSM User Manual (rev. 1.00)
Page 14 of 20
Radiocrafts
Embedded Wireless Solutions
measure the battery voltage. The value is in the range [0,37] representing voltages
between 0 and 3.7 volts.
3. One external pin able to measure any arbitrary voltage between 0 and a reference
voltage of 1.25 volts. The data is represented as 1 byte; a value between [0, 125] is
used to indicate a voltage between 0 and 1.25 volts.
The following table shows the configuration array for the analog sensor interface
Name
Size
Description
Length
1 Byte
Length of configuration array: 11 (
0x0B
)
ID
1 Byte
Sensor type. Must be
0x01
Version
1 Byte
Protocol version. Must be
0x01
Sample Period
2 Bytes
Number of seconds between sampling
values. Zero disables sensor.
Not used, For future use
1 Byte
Set to
0x00
Not used, For future use
1 Byte
Set to
0x00
Not used, For future use
1 Byte
Set to
0x00
Not used, For future use
1 Byte
Set to
0x00
Not used, For future use
1 Byte
Set to
0x00
Not used, For future use
1 Byte
Set to
0x00
When this sensor is enabled, the following output is included in the Sigfox payload:
Byte 1:
Analog input
Byte 2:
Internal Temperature
Byte 3:
Module supply voltage
GPIO Sensor and Actuator
The GPIO sensor and actuator consists of general digital pins that can be configured as
inputs or outputs. When configured as inputs, the state of the pins are reported. This happens
instantaneously when at RF transmission time, and therefore there are no parameters for
configuring the sample period. When configured as outputs, it is possible to configure them
for periodic toggling or constant on/off operation.
Other digital output sensors such as the Honeywell_SL535LT Magnetic Sensor can be
connected directly to the GPIOs.
Output is configured as follows:
1. The ini
tial state is set. This can be ‘0’ (output driven low) or ‘1’ (output driven high)
2.
The GPIO direction is set. This can be ‘0’ (GPIO is input) or ‘1’ (GPIO is output)
3. The module waits for T
INIT_DLY
4. The module holds the output low for T
LOW
5. The module holds the output high for T
HIGH
6. Sequence is repeated from pt. 3 forever.
This means that the cyclic period starts after T
INIT_DLY
and is T
LOW
+ T
HIGH
long.
Important:
T
LOW
+ T
HIGH
must never be more than 65535 (~18.2 hours)
The following table shows the configuration array for the GPIO
Name
Size
Description
Length
1 Byte
Length of configuration array:
35
(
0x23
)
ID
1 Byte
Sensor type. Must be
0x02
Version
1 Byte
Protocol version. Must be
0x01