Wireless data transmission
Step 3: Configure the Xbee modules
Configure each of the three XBee modules to work in API mode and assign each a different role. As
mentioned before, in this case you don't need to configure the destination address (DH + DL) of the
modules.
1. Restore the default settings of all XBees with the Load default firmware settings
at the top of the Radio Configuration section.
2. Use XCTU to configure the following parameters:
Param XBee A
ID
2015
JV
—
CE
Enabled
[1]
NI
COORD ROUTER END_
AP
API
enabled
[1]
SP
1F4
SM
—
SO
—
3. Write the settings of all XBees with the Write radio settings button at the top of the Radio
Configuration section.
Step 4: Create a Java project
Create an empty Java project using Eclipse or NetBeans with the following project name:
XBeeTransmitDataCoord.
XBee® Zigbee® Mesh Kit
XBee B
XBee C
Effect
2015
2015
Defines the network a radio will connect to. This
parameter must be the same for all radios on your
network.
Enabled
Enabled
Verifies if a coordinator exists on the same channel to
[1]
[1]
join the network or to leave if it cannot be found.
—
—
Sets the device as coordinator.
Defines the node identifier, a human-friendly name for
DEVICE
the module.
API
API
Enables API mode.
enabled
enabled
[1]
[1]
1F4
1F4
Defines the duration of time spent sleeping. 1F4
(hexadecimal) = 500 (decimal) x 10 ms = 5 seconds.
—
Cyclic
Enables the cyclic sleep mode in the end device.
sleep
[4]
—
2
Keeps the module awake during the entire period.
Example: transmit data
The default NI value is a blank space. Make
sure to delete the space when you change
the value.
button
78
Need help?
Do you have a question about the XBee Zigbee Mesh Kit and is the answer not in the manual?