Configure Coordinator module
All ZigBee networks need one device set as a Coordinator. We will do this using XTCU:
Plug the mini USB cable into the XBee shield, and then connect the other end to your computer. Open the XTCU software and add your device.
- Select your device
Add a module by using one of the options in the left column, as show in the image in the XBee configuration section. Your module may be prefixed with a name like “usbserial-” followed by a number and or letters representing the name of the adapter. Selecting your module through the interface will provide you with its details. After selecting a device, use the default settings and continue.
- Create new profile for Coordinator
From the main menu in the “Tools” drop down menu, select the firmware explorer:
This will bring up a new dialog where we will configure our Coordinator device profile.
Configure the following settings as follows:
Product family: XB24-ZB
Function set: ZigBee Coordinator AT
Firmware: 20A7 (select a newer version if one is available)
- Configure settings
- Set a PAN ID
Select a hexadecimal number between 0x0 and 0xFFFF. You will be using this number for the second XBee module as well. We chose 3333.
- Set DH and DL addresses
In the “Networking & Security” section, update the DH value to the HIGH address. You can find this next to the “MAC” value in the left panel that shows your selected radio module. The first 8 digits are the HIGH address. This HIGH address will be used for the End Device, which you will configure next. Series 2 XBees use 0013A200.
- Update baud rate
The default baud rate is 9600. We used 38400.
- Set a Node Identifier
In the “Networking & Security” section, type in a unique name and write it to the board. We will use this name for the end device module in our pair network. Ours is called “ITB”.
- Save the profile
Click on the profile icon. It will reveal a drop down menu that will give you the option to save the profile you just created. This will save your settings in an XML file which we’ll use next. Close the dialog after saving the profile.
- Load the profile you just saved
On the main menu, click on the profile icon and select “Load Profile” from the drop down menu. Select the file you saved in the previous step to write the data to the board. Click on the pen icon to write it to the board.
- Disconnect the module
After you have saved everything to the board, press the red “X” icon next to the module name. Then, physically remove the icon from the adapter.
- Label device (optional)
You may wish to label the device using a sticker to keep track of which module is responsible for what action.
- Set a PAN ID
|< XBee configuration||Configure End Device module >|
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