0% found this document useful (0 votes)
16 views

COMP600 Spring Lab#4

This document provides instructions for a lab assignment on configuring XBee modules. The objectives are to explore ZigBee technology and the XCTU software by setting up an XBee coordinator and router to communicate. The tasks include installing XCTU, connecting the XBee modules to a computer, updating firmware, configuring one as coordinator and one as router with the same PAN ID, verifying transmission by sending a message from the router to the coordinator, and taking a screenshot of the received frames. The document also includes discussion questions about XBee range and ZigBee applications, and a conclusion that highlights setting up a ZigBee network and communicating between devices.

Uploaded by

jassica sahi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

COMP600 Spring Lab#4

This document provides instructions for a lab assignment on configuring XBee modules. The objectives are to explore ZigBee technology and the XCTU software by setting up an XBee coordinator and router to communicate. The tasks include installing XCTU, connecting the XBee modules to a computer, updating firmware, configuring one as coordinator and one as router with the same PAN ID, verifying transmission by sending a message from the router to the coordinator, and taking a screenshot of the received frames. The document also includes discussion questions about XBee range and ZigBee applications, and a conclusion that highlights setting up a ZigBee network and communicating between devices.

Uploaded by

jassica sahi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

COMP 600

Emerging Wireless Technologies


Student Name: __Jassica Sahi___ Student ID: ____10294665_____
Lab 4: Configuring Initial XBee Settings

Objectives:
Explore ZigBee (802.15.4) technology and XCTU (Next Generation Configuration Platform for
XBee/RF Solutions) by configuring XBee with initial settings to act as Coordinator and Router
and initiate a simple communication between them.

Requirements:
 XBEE ZigBee Mesh Kit (2 XBee ZigBee Modules & 2 Digi XBee Grove Development Boards)
 2 USB to Micro USB cable
 XCTU Software
 PC and Internet

Fig.1 Connection Diagram


Tasks:
1. Make sure XCTU software is installed in your computer; otherwise installing from:
https://www.digi.com/products/embedded-systems/digi-xbee/digi-xbee-tools/xctu
2. Fix the XBees on Grove Dev. Boards carefully.

XBee
Grove Dev. Board

Page 1 of 11
COMP 600
Emerging Wireless Technologies

3. Connect the first one to the computer using the USB cable, and discover radio modules
(the ZigBee) connected to your computer (Ctrl+Shift+D), then add the selected device

Page 2 of 11
COMP 600
Emerging Wireless Technologies

4. Select the detected Radio Modules “XBee” and update the firmware to the latest
version of “XB24C / ZIGBEE TH Reg” as a function set.

Router Mode settings:

5. On the Radio Configuration pane apply the following settings (Change and ):

Networking
ID PAN ID Cx1Bx2 (x1 is your section No., x2 is your group No)
JV Channel Verification Enabled
Addressing
NI Node Identifier Router
Serial Interfacing
AP API Enable API Enabled [1]

6. Remove the ZigBee from the Radio Modules to proceed with the other coordinator one.

Page 3 of 11
COMP 600
Emerging Wireless Technologies

Coordinator Mode settings:


7. Repeat steps (3&4) before you proceed to the following step.

8. On the Radio Configuration pane apply the following settings (Change and ):

Networking
ID PAN ID Cx1Bx2 (x1 is your section No., x2 is your group No)
CE Coordinator Enable Enabled
Addressing
NI Node Identifier Coordinator
Serial Interfacing
AP API Enable API Enabled [1]

Remark: ID PAN ID should be the same for the router and coordinator.

9. Now remove the ZigBee again from the Radio Modules.


10. Connect both of Router and Coordinator ZigBees; and Add Radio Module (Ctrl+Shift+D)
for the Router & Coordinator.

Page 4 of 11
COMP 600
Emerging Wireless Technologies

Transmission Verification:
11. In the Router; Switch to Consoles Working Mode (Alt+C)  Close the serial connection
with the radio module.

12. Add new frame to the list in order to send data to the coordinator.
a. Change the Frame type into “Transmission Request”.
b. You need to find the destination MAC address and insert at “64-bit dest. Address”
c. Write your message at “FR data” field.

Page 5 of 11
COMP 600
Emerging Wireless Technologies

MAC address of the target

13. Add the frame and send.

14. Go to the Coordinator and check and verify that you’ve received the message. You need
to reply back to the Router and confirm.

Page 6 of 11
COMP 600
Emerging Wireless Technologies

15. Take a screen shot of the received frames at the coordinator and the router, first
message should be “Your_name and ID”, replied message need to be “confirmed for
Your_ID”.

Also show your computer date and time are displayed in the screen shot.

Put your screen shot here

Page 7 of 11
COMP 600
Emerging Wireless Technologies

Page 8 of 11
COMP 600
Emerging Wireless Technologies

Page 9 of 11
COMP 600
Emerging Wireless Technologies

16. Lab closing phase (Optional)


Apply the following steps if you would like to reset the XBee modules:
 Switch to Configuration Mode working mode (Alt+X)
 Load Default Firmware settings, then Write

Then
Write Click me
first

17. Discussion Question:


Remark: Use the given resources in starter kit files.
a) With refer to Digi XBee S2C ZigBee; what is the indoor and outdoor maximum range
support?
The range may vary depending upon several factors such as environment, obstacles,
interference, and power levels. The outdoor and indoor range levels are mentioned
below-
The indoor range can vary from 30 to 100 meters. This can be affected by the
presence of walls, interference from other devices and many more.
The indoor range can vary from 100 to 400 meters. It can be extended further
compared to the indoor range due to the absence of obstacles and interference.

b) Discuss in brief 3 different applications for Zigbee technology in the industry.


The three different applications for Zigbee technology in the industry are as follows-
1. Smart Metering – It is used in metering applications where it enables two-way
communication between utility companies and consumer energy meters. Zigbee is
good for this because it uses less power and makes sure the information is secure.
2. Industrial Automation – Zigbee helps in making machines and devices in factories
talk to each other. It helps sensors, switches and other devices in factories
communicate wirelessly.
3. Building Automation- It is used to control and monitor things in building, like
lights, heating, and security systems. It allows different devices in the building

Page 10 of 11
COMP 600
Emerging Wireless Technologies

such as switches, and sensors, to communicate with each other.

18. Conclusion:
The main objective of this lab is to configure two XBee modules as a Coordinator and a
Router and establish communication between them using ZigBee technology. The lab
demonstrates the use of XCTU software to configure the XBee modules and to test their
communication capabilities.

Now, I should be able to successfully configure the XBee module and I get familiarized with
the process of configuring XBee modules and understanding different modes of operation.
Moreover, I learnt to verify the transmission of data from the router module to the coordinator
module.

Overall, this lab provides hands-on experience in working with ZigBee technology, XBee
modules, and XCTU software, highlighting the process of configuring and testing wireless
communication between devices in a Zigbee network.

References- 1. What is ZigBee Technology, Its Architecture & Applications


(electronicsforu.com)
2. Introduction of ZigBee - GeeksforGeeks

Assessment Criteria: (Detailed Rubric shared at D2L)


Awarded
Task Steps Max. Marks Marks
Watching Demo 5
Discussion & Conclusion 5
10
Submission Guidelines:

 Go to D2L and answer the lab related question during the lab duration as per your schedule.
 Due Date: Check D2L. (Please submit the labs on time since no extensions; Zero Tolerance).
 Submission Method: Dropbox folder ONLY for this file.

Page 11 of 11

You might also like