Presentation is loading. Please wait.

Presentation is loading. Please wait.

ZigBee Siying Li, Lixing Huang, Yulin Xie 1. What is ZigBee Wireless communication protocol standard Mesh network Low-cost, low-power 2.

Similar presentations


Presentation on theme: "ZigBee Siying Li, Lixing Huang, Yulin Xie 1. What is ZigBee Wireless communication protocol standard Mesh network Low-cost, low-power 2."— Presentation transcript:

1 ZigBee Siying Li, Lixing Huang, Yulin Xie 1

2 What is ZigBee Wireless communication protocol standard Mesh network Low-cost, low-power 2

3 Application Ref: http://www.hometoys.com/images/upload/images/45927016.jpghttp://www.hometoys.com/images/upload/images/45927016.jpg 3

4 Application Ref: http://www.emfrf.com/wp-content/uploads/2014/12/smart-meter-network-components.jpghttp://www.emfrf.com/wp-content/uploads/2014/12/smart-meter-network-components.jpg 4

5 Mesh network 5

6 6

7 7 Start

8 8

9 9 A B

10 10 Find route A B

11 11 A B Find route

12 12 Find route A B

13 13 A B Return route

14 14 A B Communicate

15 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 15

16 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 16

17 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 17

18 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 18

19 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 19

20 Comparison ZigbeeBluetoothWi-Fi Range50-1600m10m50m Power SupplyYearsDaysHours ComplicitySimpleComplicatedVery Complicated Transmission Speed 250 Kbps1Mbps1-54Mbps Cost of terminal unit Low High Ease of useEasyNormalHard 20 Video? Audio?

21 Xbee RF module A Digi RF module using IEEE 802.15.4 standard and combining with serial command. More on Xbee series: https://www.sparkfun.com/pages/xbee_guidehttps://www.sparkfun.com/pages/xbee_guide 21

22 Point-to-point Data transfer UART protocol Transparent mode Source and destination Addressing Configuration 22

23 Point-to-point Data transfer UART protocol Transparent mode Source and destination Addressing Configuration 23

24 Point-to-point Data transfer UART protocol Transparent mode Source and destination Addressing Configuration 24

25 UART 25 Ref: http://www.eecs.umich.edu/courses/eecs373/Lec/373L09W16.pdfhttp://www.eecs.umich.edu/courses/eecs373/Lec/373L09W16.pdf

26 UART UART DOUT VCC GND UART DIN CTS RTS Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 26

27 Transparent mode 27 Default operation DIN data queue up for RF transmission RF received data sends to DOUT Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf

28 Addressing Default: 64-bit MAC address Can be read with SL, SH commands 16-bit short address Manually configured using MY command Destination Set with DH, DL commands Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 28 ParameterController XbeeRC car Xbee MY (src addr)0x010x02 DH (dest addr high)00 DL (dest addr low)0x020x01

29 Configuration Software configuration – XCTU http://www.digi.com/products/xbee-rf-solutions/xctu-software/xctu Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 29 XBee UART-USB Bridge PC

30 XCTU 30

31 XCTU 31

32 XCTU 32

33 Configuration AT command – send configuration commands through UART e.g. +++ //enter AT mode ATDL1A0D\r //write low destination address ATCN\r //exit AT mode Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 33

34 Multi-point API mode 34

35 API vs Transparent APITransparent Easy to useComplicatedVery Easy Protocol & Encoding UART + Software encodingUART + nothing CapabilityTalk to any onePoint to point ContentDestination Source address Signal strength Data AT Command Etc... Data 35

36 API Command Syntax Length = sizeof(Frame Data) Checksum = 0xFF - sum(Frame Data) Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 36

37 API Command Example Transmit data cmdID: 0x01 (16-bit addr), 0x00 (64-bit addr) Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 37

38 API Command Example Receive data cmdID: 0x81 (16-bit addr), 0x80 (64-bit addr) Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 38

39 API Command Example AT command cmdID: 0x08 Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 39

40 Q&A 40

41 Appendix 41

42 AT Command Syntax One line per command Multiple commands in one line Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 42

43 Network - DigiMesh Simple setup All nodes can sleep Flexibility to expand the network Good enough for point-to-point Ref: http://www.digi.com/pdf/wp_zigbeevsdigimesh.pdfhttp://www.digi.com/pdf/wp_zigbeevsdigimesh.pdf 43

44 Network - Zigbee® Mesh Open standard Interoperability with devices made by different vendors Over-the-air firmware upgrades Ref: http://www.digi.com/pdf/wp_zigbeevsdigimesh.pdfhttp://www.digi.com/pdf/wp_zigbeevsdigimesh.pdf 44

45 Working Mode Transparent Act as direct connection between UART AT Configure module API Most powerful to do everything Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 45

46 API Command Escape characters Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 46

47 API Command Frame data structure Ref: https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdfhttps://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf 47


Download ppt "ZigBee Siying Li, Lixing Huang, Yulin Xie 1. What is ZigBee Wireless communication protocol standard Mesh network Low-cost, low-power 2."

Similar presentations


Ads by Google