SlideShare a Scribd company logo
1 of 27
Instructor:
Mohsen Sarakbi
ZigBee Module
Communication PIC-Microcontroller Lab
Course by JAOM Center, Feb. 2013
ZigBee Definition
 Based on IEEE 802.15.4 Standard (Addressing)
 Designed for sensor and control networks
 Used for applications that require:
 Low Power Consumption
 Low Data Rate
 Network Security
Wireless Comparison
ZigBee Layers
ZigBee Layers
 Two lower layers, the physical layers (PHY) and the media access
layer (MAC) are defined by the IEEE 802.15.4 specification.
 The PHY deals with the implementation of the direct sequence
spread spectrum (DSSS) radio hardware in 2.4GHz band
 The MAC handles access to the PHY layer.
 Network Layer;Ad-hoc
 The above layers are defined by the ZigBeeAlliance, except the
application layer which is defined by the end user.
ZigBee Layers
ZigBee Network
ZigBee Network
 Coordinator : One coordinator exists in each network.
• Each network has 1 coordinator
• Coordinator selects channel and PAN ID
• Other devices then join the PAN
• Usually powered by something stable
• 16-bit address is always 0
• Assigns 16-bit address for the router and end devices
ZigBee Network
 Routers: Many routers exist in each network.
• Optional
• Often powered by something stable
• Can have as many as you want
• Issues a request on startup to find a coordinator/network it
can join
• Can talk to any device
• If an end device is sleeping it stores its data
• Coordinator can act as a “super router”
ZigBee Network
 End Devices: Many end devices exist in each network.
 Usually battery powered
 They sleep most of the time and wake up regularly to collect
and transmit data.
 Devices such as sensors are configured as end devices.
 They are connected to the network through the routers.
 Can have as many as you want
XBEE Module
XBEE Features
 www.digi.com
 802.15.4 / Multipoint network topologies
 2.4 GHz for worldwide deployment
 900 MHz for long-range deployment
 Low-power sleep modes
 Multiple antenna options
XBEE Chip
Regular vs. Pro
XBEE XBEE Pro
Power 1-2mW 50-60mW
Size Smaller Larger
Range Shorter range (100m) Longer range (300m)
Cost Cheaper More expensive
XBEE Addressing
• Channels
• PAN ID
• 64-bit address
• High -0013A200 same for all XBees
• Low – each XBee has its own address
• 16-bit address (Series 1 only)
ZBEE Point-to-Point
XBEE Firmware
• Must upload with X-CTU (onWindows)
• AT Commands
XBEE Configuration
Command Mode
 +++ gets you into command mode
 1 second delay on either side
 No <enter>
 Should get “OK” back
 Times out after 10 seconds
• Commands use Hexadecimals
• Always Press Enter
AT Commands
• AT – just returns an “OK”
• ATMY – 16- bit address (Series 1 only)
• ATDH – 64-bit destination address high bits
• ATDL – 64-bit destination address low bits
• ATID – PAN ID
• ATCN – end command mode
• ATRE – reset all settings
• ATWR – write settings to flash
 ATBD followed by 0-7 depending on the BaudRate you want
 0 = 1200, 1 = 2400, 2 = 4800, 3 = 9600, 4 = 19200, 5 = 38400,
6 = 57600, 7 = 115200
AT Commands
ZBEE Point-to-Point
 A peer-to-peer network can be established by:
 configuring each module to operate as an End
Device (CE = 0)
 disabling End DeviceAssociation on all modules
(A1 = 0)
 setting ID and CH parameters to be identical
across the network.
Unicast Mode
 ZBEE 16-bit Address
 Short 16-bit addresses.The module can be configured
to use short 16-bit addresses as the Source Address by:
 Setting (MY < 0xFFFE).
 Setting the DH parameter (DH = 0) will configure the
DestinationAddress to be a short 16-bit address (if DL <
0xFFFE).
 For two modules to communicate using short addressing, the
DestinationAddress of the transmitter module must match
the MY parameter of the receiver.
Unicast Mode
 ZBEE 64-bit Address
 Long 64-bit addresses.The RF module’s serial number
(SL parameter concatenated to the SH parameter) can
be used as a 64-bit source address when the MY (16-
bit Source Address) parameter is disabled.When the
MY parameter is disabled (MY = 0xFFFF or 0xFFFE),
the module’s source address is set to the 64-bit IEEE
address stored in the SH and SL parameters.
Broadcast Mode
 One to All
 Any RF module within range will accept a packet that
contains a broadcast address.
 To send a broadcast packet to all modules regardless of
16-bit or 64-bit addressing.
 Sample Network Configuration (All modules in the
network):
 DL (Destination LowAddress) = 0x0000FFFF
 DH (Destination High Address) = 0x00000000
Lab
 X-CTU
 XBEE to XBEE connection (without PIC)
 16-bit & 64 bit
 Broadcast
 Using PIC for an application
ZigBee module

More Related Content

What's hot

What's hot (20)

Bluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case StudyBluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case Study
 
CDMA
CDMACDMA
CDMA
 
An Introduction to Macrocells & Small Cells
An Introduction to Macrocells & Small CellsAn Introduction to Macrocells & Small Cells
An Introduction to Macrocells & Small Cells
 
Bluetooth low energy
Bluetooth low energyBluetooth low energy
Bluetooth low energy
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsn
 
Wi-Fi Technology
Wi-Fi TechnologyWi-Fi Technology
Wi-Fi Technology
 
Low noise amplifier
Low noise amplifierLow noise amplifier
Low noise amplifier
 
Antenna Parameters Part 2
Antenna Parameters Part 2Antenna Parameters Part 2
Antenna Parameters Part 2
 
Zigbee Presentation
Zigbee PresentationZigbee Presentation
Zigbee Presentation
 
MIMO OFDM
MIMO OFDMMIMO OFDM
MIMO OFDM
 
smart antennas ppt
smart antennas pptsmart antennas ppt
smart antennas ppt
 
Receivers
ReceiversReceivers
Receivers
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communications
 
Antenna (2)
Antenna (2)Antenna (2)
Antenna (2)
 
SEMINAR ON Bluetooth Hotspot
SEMINAR ON Bluetooth HotspotSEMINAR ON Bluetooth Hotspot
SEMINAR ON Bluetooth Hotspot
 
Difference Between Analog and Digital Communication Difference between Wifi a...
Difference Between Analog and Digital Communication Difference between Wifi a...Difference Between Analog and Digital Communication Difference between Wifi a...
Difference Between Analog and Digital Communication Difference between Wifi a...
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Introduction to Bluetooth low energy
Introduction to Bluetooth low energyIntroduction to Bluetooth low energy
Introduction to Bluetooth low energy
 
Bluetooth - Comprehensive Presentation
Bluetooth - Comprehensive PresentationBluetooth - Comprehensive Presentation
Bluetooth - Comprehensive Presentation
 

Viewers also liked

PIC microcontroller review
PIC microcontroller reviewPIC microcontroller review
PIC microcontroller reviewMohsen Sarakbi
 
RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receivercodexdesign
 
Understanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksUnderstanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksCisco Mobility
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationKomal Gandhi
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationDarshan Maru
 

Viewers also liked (7)

Basics of RF
Basics of RFBasics of RF
Basics of RF
 
PIC microcontroller review
PIC microcontroller reviewPIC microcontroller review
PIC microcontroller review
 
RF module
RF moduleRF module
RF module
 
RF transmitter & receiver
RF transmitter & receiverRF transmitter & receiver
RF transmitter & receiver
 
Understanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless NetworksUnderstanding RF Fundamentals and the Radio Design of Wireless Networks
Understanding RF Fundamentals and the Radio Design of Wireless Networks
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 

Similar to ZigBee module

MAC address Rohit Kumar Shah.pptx
MAC address Rohit Kumar Shah.pptxMAC address Rohit Kumar Shah.pptx
MAC address Rohit Kumar Shah.pptxRohitKumarShah6
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEEAfaq Siddiqui
 
Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Raj vardhan
 
Networking
NetworkingNetworking
NetworkingRashmi
 
networking devices -161021181705452555
networking   devices -161021181705452555networking   devices -161021181705452555
networking devices -161021181705452555mercyzyada1999
 
Aspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxAspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxEric Vyncke
 
Long range wireless modules
Long range wireless modulesLong range wireless modules
Long range wireless modulesshashi gautam
 
wifi-technology
 wifi-technology wifi-technology
wifi-technologytardeep
 
Networking devices
Networking devicesNetworking devices
Networking devicesfrestoadi
 
Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)Darpan Patel
 
EC8004 wireless networks unit 1
EC8004 wireless networks unit 1 EC8004 wireless networks unit 1
EC8004 wireless networks unit 1 HemalathaR31
 
Unit I Wireless Networks.ppt
Unit I Wireless Networks.pptUnit I Wireless Networks.ppt
Unit I Wireless Networks.pptSiva Cool
 

Similar to ZigBee module (20)

MAC address Rohit Kumar Shah.pptx
MAC address Rohit Kumar Shah.pptxMAC address Rohit Kumar Shah.pptx
MAC address Rohit Kumar Shah.pptx
 
Zigbee Basics
Zigbee BasicsZigbee Basics
Zigbee Basics
 
Networking HMT-2
Networking HMT-2Networking HMT-2
Networking HMT-2
 
Network
NetworkNetwork
Network
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
 
IPV6
IPV6IPV6
IPV6
 
Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture
 
Networking basics
Networking basicsNetworking basics
Networking basics
 
Wi-Fi Module
Wi-Fi ModuleWi-Fi Module
Wi-Fi Module
 
Networking
NetworkingNetworking
Networking
 
Zigbee
ZigbeeZigbee
Zigbee
 
networking devices -161021181705452555
networking   devices -161021181705452555networking   devices -161021181705452555
networking devices -161021181705452555
 
Aspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxAspects Stratégiques des Réseaux
Aspects Stratégiques des Réseaux
 
Long range wireless modules
Long range wireless modulesLong range wireless modules
Long range wireless modules
 
wifi-technology
 wifi-technology wifi-technology
wifi-technology
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)
 
EC8004 wireless networks unit 1
EC8004 wireless networks unit 1 EC8004 wireless networks unit 1
EC8004 wireless networks unit 1
 
Unit I Wireless Networks.ppt
Unit I Wireless Networks.pptUnit I Wireless Networks.ppt
Unit I Wireless Networks.ppt
 
Lecture 14
Lecture 14Lecture 14
Lecture 14
 

Recently uploaded

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Recently uploaded (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

ZigBee module

  • 1. Instructor: Mohsen Sarakbi ZigBee Module Communication PIC-Microcontroller Lab Course by JAOM Center, Feb. 2013
  • 2. ZigBee Definition  Based on IEEE 802.15.4 Standard (Addressing)  Designed for sensor and control networks  Used for applications that require:  Low Power Consumption  Low Data Rate  Network Security
  • 5. ZigBee Layers  Two lower layers, the physical layers (PHY) and the media access layer (MAC) are defined by the IEEE 802.15.4 specification.  The PHY deals with the implementation of the direct sequence spread spectrum (DSSS) radio hardware in 2.4GHz band  The MAC handles access to the PHY layer.  Network Layer;Ad-hoc  The above layers are defined by the ZigBeeAlliance, except the application layer which is defined by the end user.
  • 8. ZigBee Network  Coordinator : One coordinator exists in each network. • Each network has 1 coordinator • Coordinator selects channel and PAN ID • Other devices then join the PAN • Usually powered by something stable • 16-bit address is always 0 • Assigns 16-bit address for the router and end devices
  • 9. ZigBee Network  Routers: Many routers exist in each network. • Optional • Often powered by something stable • Can have as many as you want • Issues a request on startup to find a coordinator/network it can join • Can talk to any device • If an end device is sleeping it stores its data • Coordinator can act as a “super router”
  • 10. ZigBee Network  End Devices: Many end devices exist in each network.  Usually battery powered  They sleep most of the time and wake up regularly to collect and transmit data.  Devices such as sensors are configured as end devices.  They are connected to the network through the routers.  Can have as many as you want
  • 12. XBEE Features  www.digi.com  802.15.4 / Multipoint network topologies  2.4 GHz for worldwide deployment  900 MHz for long-range deployment  Low-power sleep modes  Multiple antenna options
  • 14. Regular vs. Pro XBEE XBEE Pro Power 1-2mW 50-60mW Size Smaller Larger Range Shorter range (100m) Longer range (300m) Cost Cheaper More expensive
  • 15. XBEE Addressing • Channels • PAN ID • 64-bit address • High -0013A200 same for all XBees • Low – each XBee has its own address • 16-bit address (Series 1 only)
  • 17. XBEE Firmware • Must upload with X-CTU (onWindows) • AT Commands
  • 19. Command Mode  +++ gets you into command mode  1 second delay on either side  No <enter>  Should get “OK” back  Times out after 10 seconds • Commands use Hexadecimals • Always Press Enter
  • 20. AT Commands • AT – just returns an “OK” • ATMY – 16- bit address (Series 1 only) • ATDH – 64-bit destination address high bits • ATDL – 64-bit destination address low bits • ATID – PAN ID • ATCN – end command mode • ATRE – reset all settings • ATWR – write settings to flash  ATBD followed by 0-7 depending on the BaudRate you want  0 = 1200, 1 = 2400, 2 = 4800, 3 = 9600, 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200
  • 22. ZBEE Point-to-Point  A peer-to-peer network can be established by:  configuring each module to operate as an End Device (CE = 0)  disabling End DeviceAssociation on all modules (A1 = 0)  setting ID and CH parameters to be identical across the network.
  • 23. Unicast Mode  ZBEE 16-bit Address  Short 16-bit addresses.The module can be configured to use short 16-bit addresses as the Source Address by:  Setting (MY < 0xFFFE).  Setting the DH parameter (DH = 0) will configure the DestinationAddress to be a short 16-bit address (if DL < 0xFFFE).  For two modules to communicate using short addressing, the DestinationAddress of the transmitter module must match the MY parameter of the receiver.
  • 24. Unicast Mode  ZBEE 64-bit Address  Long 64-bit addresses.The RF module’s serial number (SL parameter concatenated to the SH parameter) can be used as a 64-bit source address when the MY (16- bit Source Address) parameter is disabled.When the MY parameter is disabled (MY = 0xFFFF or 0xFFFE), the module’s source address is set to the 64-bit IEEE address stored in the SH and SL parameters.
  • 25. Broadcast Mode  One to All  Any RF module within range will accept a packet that contains a broadcast address.  To send a broadcast packet to all modules regardless of 16-bit or 64-bit addressing.  Sample Network Configuration (All modules in the network):  DL (Destination LowAddress) = 0x0000FFFF  DH (Destination High Address) = 0x00000000
  • 26. Lab  X-CTU  XBEE to XBEE connection (without PIC)  16-bit & 64 bit  Broadcast  Using PIC for an application