Set up a third XBee module to create a mesh network

To create a mesh network, move XBEE_B away from XBEE_A until communication is lost. Then, add XBEE_C to relay messages between XBEE_A and XBEE_B. The network automatically adjusts and redirects communications when a pathway becomes available.

  1. Move XBEE_B out of range of XBEE_A:
    1. Disconnect XBEE_B from your computer and remove it from XCTU by clicking the Remove the list of remote modules button .
    2. Connect XBEE_B to a power supply (or laptop or portable battery) and move it away from XBEE_A until it is out of range.
      XBee moduleIndoor range (approximate)Outdoor range (approximate)
      XBee DigiMesh 2.4100 ft (30 m)300 ft (90 m)
      XBee-PRO DigiMesh 2.4300 ft (90 m)1 mile (1.6 km)

      The approximate indoor range is 100 ft (30 m), and the approximate outdoor range is 300 ft. (90 km).

    3. Make sure the loopback jumper is connected to XBEE_B. See Connect the loopback jumper.
    4. In the XBEE_A console, click to clear your previous conversation with XBEE_B.
    5. Type "Are you out of range?" In the illustration below, the message does not loop back, which means XBEE_B did not receive it and it is out of range of XBEE_A.
    6. If the message loops back, move XBEE_B farther away until it no longer loops back.

  2. Add and configure another XBee module:
    1. Connect another XBee module to your computer.
    2. Click the Configuration working modes button .
    3. Click the Add a radio module button .
    4. In the Add a radio module dialog, select the USB Serial Port for this XBee module and click Finish.
    5. Configure this XBee module as follows:

      ID: D161
      NI: XBEE_C

    6. Click the Write radio settings button .

  3. Have XBEE_C relay messages between XBEE_A and XBEE_B:
    1. Switch back to the Consoles working mode .
    2. Disconnect XBEE_C from your computer and remove it from XCTU by clicking the Remove the list of remote modules button .
    3. Connect XBEE_C to a power supply (or laptop or portable battery) and place it between XBEE_A and XBEE_B.
    4. Make sure the loopback jumper is still connected to XBEE_B.
    5. Have XBEE_A send a message to XBEE_B. In the XBEE_A console, type "Hello!"

    In the following illustration, the message loops back. XBEE_C relayed your message to XBEE_B, and you successfully established a mesh network.

    Tip  Use the Send a single packet command to send and have an entire message loop back, instead of having individual characters loop back. To do this, click the Add new packet button to compose your message, and then click Send selected packet to send your message.

Before you perform other tasks, change the loopback jumper on XBEE_B so it no longer bridges the two pins on its development board. It should look like this: