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 10 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
Getting Started
A simple Tinymesh™ network may be formed by configuring at least one module as a Gateway
(SET
GATEWAY MODE
command).
Make sure
the Gateway and all Routers have different Unique ID, but same System ID
. This is
mandatory for successful self-forming of the network.
Modules are delivered with default setting 'Router', and with non- identical Unique IDs.
How do I Form a Network?
Power up the nodes in any random sequence.
The Gateway Device starts inviting neighbouring nodes to become members of the network. The
Gateway Device will flash the
RSSI/ TX LED
(Red LED on Demo Board) every time a network invite
beacon (HIAM) is transmitted.
The
RSSI/ TX LED
on nodes configured as Router devices (default configuration) will start flashing in a
slow pattern, indicating the node is alive and listening, but not connected to the network.
Router devices within acceptable radio range of the Gateway, will detect the invite beacons from the
Gateway. If the received signal strength (RSSI) is within predetermined limits of acceptable signal
strength, the Router Device will attempt connecting to the Gateway by sending an invite response. If the
Gateway properly accepts the invite response, the Router has successfully joined the network, and will
signal its new status by changing the LED flash pattern. The red RSSI Indicator LED now reflects the
RSSI level of the established connection, and the yellow
CONNECTION/ RX LED
indicator starts flashing
to indicate successful connection.
All Routers that successfully connect to the network will immediately start inviting new Routers to join
the network, forming the next level of connected nodes. New Routers will again start inviting the next
level of Routers, automatically propagating the network to encompass all Routers with identical System
ID that are within radio range of at least one other Router or Gateway in the same network.
No external processing effort in the terms of a network organizer, controller PC or micro controller is
required, as each node actively and autonomously participates in the forming of the RF network.
How do I Transmit Data?
This chapter refers to the most easy-to-use mode, the default mode named “transparent” for
transparent, bidirectional data transfer.
Send your data to the RXD pin on the module. Use the UART format with default settings (19200, 8, 1,
N, no flow control). Up to 120 payload bytes are buffered in the module. The module will transmit the
data when
•
the maximum packet length is reached (120 bytes)
•
the modem time-out limit is reached (default 20 ms)
Modules will by default use the UART CTS signal to indicate when data may be entered. Routers will
hold CTS high when the UART receive buffer is full. After successful connection to a network and
delivery of the current contents of the UART buffer, CTS will go low, indicating the node is ready to
receive data. CTS will remain low until the data buffer is full, or a byte-to-byte time out has occurred.
CTS will then go high, indicating no more data may be entered. As soon as the data packet has been
successfully transmitted and the data buffer is emptied, CTS will return low, to indicate new data may be
entered.
Data may be entered in binary format, any byte value with proper start- and stop bit is accepted. The
time-out limit is configurable in-circuit by changing the
SERIAL PORT TIME OUT
parameter in
Configuration memory. Default setting is 20 ms.
How do I Receive Data?
Any data entered at the Gateway (while CTS is low), will be delivered to all Routers that are connected
to the network. Received RF data with correct check sum will be presented on the TXD pin of all
Router(s).
Data entered at any Router Device (while CTS is low), will be delivered to the Gateway and presented
on the Gateway TXD pin.