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:
- Enable API mode
With the Coordinator Device connected through XTCU, scroll down to the “Serial Interfacing” section. In the AP section, select “API Enabled ”, and write it to the module.
- 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:
- 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.
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.
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 module||Building a custom fish >|
Part 1: XBee configuration
- Wireless communication using XBee
- ZigBee networks
- XBee configuration
- Configure Coordinator module
- Configure End Device module
- Viewing your network
Part 2: Rig construction
- Building a custom fish
- Constructing the rig
- Circuit platform
- Battery bracket
- Motors and propellers
- Range finder
- Putting it all together