SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente (20)

RFID with INTERNET OF THINGS
RFID with INTERNET OF THINGSRFID with INTERNET OF THINGS
RFID with INTERNET OF THINGS
 
wireless sensor network ppt
wireless sensor network pptwireless sensor network ppt
wireless sensor network ppt
 
Wi-max Technology PPT
Wi-max Technology PPTWi-max Technology PPT
Wi-max Technology PPT
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
ZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY pptZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY ppt
 
Wireless Network
Wireless NetworkWireless Network
Wireless Network
 
Bluetooth technology presentation
Bluetooth technology presentationBluetooth technology presentation
Bluetooth technology presentation
 
smart antennas ppt
smart antennas pptsmart antennas ppt
smart antennas ppt
 
Wi fi technology ppt mine
Wi fi technology ppt mineWi fi technology ppt mine
Wi fi technology ppt mine
 
802 15-4 tutorial
802 15-4 tutorial802 15-4 tutorial
802 15-4 tutorial
 
Wireless personal area networks(PAN)
Wireless personal area networks(PAN)Wireless personal area networks(PAN)
Wireless personal area networks(PAN)
 
Wi-Fi Module
Wi-Fi ModuleWi-Fi Module
Wi-Fi Module
 
Zigbee technology ppt
Zigbee technology pptZigbee technology ppt
Zigbee technology ppt
 
Zigbee ppt
Zigbee pptZigbee ppt
Zigbee ppt
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Wi fi 6 (802.11ax) presentation
Wi fi 6 (802.11ax) presentationWi fi 6 (802.11ax) presentation
Wi fi 6 (802.11ax) presentation
 
Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)
 
Wireless Sensor Network
Wireless Sensor NetworkWireless Sensor Network
Wireless Sensor Network
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
 
Free space optics (FSO)
Free space optics (FSO)Free space optics (FSO)
Free space optics (FSO)
 

Destacado

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
 

Destacado (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 a 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
 
Multi-mode Wireless SoCs
Multi-mode Wireless SoCsMulti-mode Wireless SoCs
Multi-mode Wireless SoCsSilicon Labs
 

Similar a 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
 
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
 
Multi-mode Wireless SoCs
Multi-mode Wireless SoCsMulti-mode Wireless SoCs
Multi-mode Wireless SoCs
 

Último

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

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