RC11xx(HP)-TM
RC25xx(HP)-TM
RC17xx(HP)-TM
2016 Radiocrafts AS
RC11xx(HP)/25xx(HP)/17xx(HP)-TM Data Sheet rev. 1.48 Page 39 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
End Device
A Tinymesh™ module may be configured to function as an End Device by issuing the
SET END DEVICE
MODE
command from Configuration Mode.
On initial wakeup, the End Device will make a connection to the mesh by going through a normal
network connection procedure, similar to a Router Device.
When a connection has been established, the End Device will return to sleep mode, and only wake up
when one or more of the configured wakeup conditions have been met.
On subsequent wake-ups, the module will assume the previous binding still exists, transmit data if
required, wait for receipt acknowledgement and resume sleep.
If no acknowledgement is received after
RF TRANSMIT RETRY LIMIT
retries, the End Device will attempt
to create a new binding, unless the End Device has been configured for connection to a
FIXED
DESTINATION ID
. If no valid connection has been established during a period of 2 X
CONNECT CHECK
TIME
, the End Device will return to sleep, and repeat the reconnect attempt on next wake up.
On wakeup, the End Device will dispatch a message identifying the wakeup source, except for wake-
ups caused by the Pulse Counter input.
Before returning to sleep mode, the End Device will stay awake for a configurable
END DEVICE WAIT
FOR COMMAND
time, allowing an external application to act on the received data and dispatch a serial
data- or command- packet to the End Device.
End Devices will normally be in low power sleep mode, and may be configured to wake from sleep from
a number of different input sources:
•
Pulse Counter Input
•
Digital Input trigger
•
Serial port (UART) input
•
Timed Wakeup
Enable the desired wakeup source by setting the appropriate bits of the
END DEVICE WAKEUP ENABLE
parameter. The
END DEVICE WAKEUP ENABLE
parameter is a bitmap of the different input conditions
allowed to wake the End Device. The default setting after configuring the End Device with the
SET END
DEVICE MODE
- Command, is Timed Wakeup with
IMA TIME
= 10.
On Timed Wakeup, the End Device will send a
STATUS MESSAGE (IMA) MESSAGE
before returning to
sleep.
The different wakeup conditions each have different bitmap values. When setting up for multiple
simultaneous options, enter the sum of the bitmap values:
Wakeup Source
Bit value
Example Settings
Pulse C
Timer
Serial
Port
Digital Input
Pulse Counter
1
1
Digital Input
2
2
Serial Port
4
4
Timer
8
8
Wakeup Enable Parameter Value
9
4
2
Wake Up from Pulse Counter
Pulses detected by the pulse counter will wake the module when the pulse counter function has been
enabled. As a basis for power consumption calculations, the awake-time without De-bounce Timing is on
average 3ms per pulse.
With De-bounce Timing active, the awake-time increases to
PULSE COUNTER DEBOUNCE
Time + 3ms.
The average power consumption in while Active Mode is 5mA.
Enable Pulse Counter wakeup by setting bit #0 (adding the value 1) to
END DEVICE WAKEUP ENABLE
configuration parameter
On wakeup from the pulse counter, the module will not dispatch data, but return directly to sleep mode
after detecting the pulse.