Signal Fish Tutorial: Viewing your network

Version 4

    At this point, we now have 2 XBee modules configured to work on the same network known as a pair network. We’ll now get an overall view of how our network looks.

     

    Begin by having the Coordinator device connect to the XCTU software using the XBee explorer USB module. The other module, our End Device, will be connected to a separate power source via an XBee shield. We will be using the XTCU “Networking Mode” to visualize our network.

     

    Powering your End Device module

    In order to test that your network works as expected, you will need to power both XBee modules individually. You can power an XBee using a breadboard; the pins are labeled on the back of the module. Using the mini USB cable, you can have one powered by your computer. Alternatively, you can also use an XBee shield and connect directly on an Arduino compatible board:

    IMG_6721.png

     

    Networking Mode

    1. Enable API mode
      With the Coordinator Device connected through XTCU, scroll down to the “Serial Interfacing” section. In the AP section, select “API Enabled [1]”, and write it to the module.
    2. Discover your network
      In the left column of XTCU, you will see details about your Coordinator device. Under the “X” icon, click on the blue icon to discover radio nodes in the same network. This will open a dialog box and proceed to scan the network. If your End Device is powered separately, you should see it come up:
      network.png
    3. Switch to “Networking Mode”
      Click on the “Networking Mode” icon. It is the second to last icon on the top right of the main menu bar. From here, you will be able to visualize your network in a variety of ways. Select the first icon on the far left; it is the icon with three end points.
      network-2.png

    To ensure the modules are communicating properly, let’s try using the API console.  Click on the third icon from the right on the top main menu (it looks like a monitor). Then, click on the first icon on the submenu (the plug) to open serial communication with the modules. This will begin to populate the “frames log” with sample messages being sent to and from each module on the network. Disconnect by clicking the same icon again. You can inspect each frame and its data by clicking on the record.

     

    Troubleshooting
    If your XBee is unresponsive, try resetting the XBee. Use a jumper cable to connect from the RST to the GND pins. The device will need to be powered. Using a breadboard will make this process easier. For more information, check out this post: http://www.instructables.com/id/Changing-Xbee-Baud-Rates/step5/Un-bricking-a-frozen-Xbee/

    .
    < Configure End Device moduleBuilding a custom fish >

    Part 1: XBee configuration
    Part 2: Rig construction
    Part 3: Circuit