Hello Zig Bee Speaker Advisor 1 Outline o

  • Slides: 19
Download presentation
Hello Zig. Bee Speaker : 施創宏 Advisor : 吳坤熹 1

Hello Zig. Bee Speaker : 施創宏 Advisor : 吳坤熹 1

Outline o o o 1. 3 Zig. Bee in the Marketplace 1. 4 Hello

Outline o o o 1. 3 Zig. Bee in the Marketplace 1. 4 Hello Zig. Bee (A First Zig. Bee Network) 1. 5 Zig. Bee Home Automation 1. 6 Zig. Bee Speak 1. 7 Zig. Bee Architecture 2

1. 3 Zig. Bee in the Marketplace o Zig. Bee is beginning to be

1. 3 Zig. Bee in the Marketplace o Zig. Bee is beginning to be found in many, many applications. 3

Application o o o Home Automation Commercial Building Automation Industrial Plant Monitoring Automatic Metering

Application o o o Home Automation Commercial Building Automation Industrial Plant Monitoring Automatic Metering Initiative Personal Home and Health Care Telecommunications Applications 4

Telecom Application Information Services o These services could advertise specials, services, or sales (at

Telecom Application Information Services o These services could advertise specials, services, or sales (at your option) based on the location of your cell phone. 5

1. 4 Hello Zig. Bee (A First Zig. Bee Network) o The concept of

1. 4 Hello Zig. Bee (A First Zig. Bee Network) o The concept of this example is very simple. 6

So what happens from a Zig. Bee perspective? o o The HA On. Off.

So what happens from a Zig. Bee perspective? o o The HA On. Off. Light Zigbee Coordinator (ZC) forms the network. The HA On. Off. Switch joins the network. The HA On. Off. Switch finds the light and binds to it. The HA On. Off. Switch can toggle the light with SW 1. 7

Packet sequence number o o If you look at Seq. No. 5, you’ll see

Packet sequence number o o If you look at Seq. No. 5, you’ll see the HA On. Off. Switch joining the network with an Association Request. Look at Seq. No. 11 and you’ll see the HA On. Off. Switch sending out the Match Descriptor request. It receives the response on Seq. No. 17, and now knows where the light can be found in the network. 8

9

9

10

10

Four frames in this packet o The IEEE 802. 15. 4 (or MAC) frame

Four frames in this packet o The IEEE 802. 15. 4 (or MAC) frame n o The Zig. Bee network (NWK) frame n o responsible for multi-hop communication The Zig. Bee application (APS) frame n o responsible for the PAN ID and the per-hop information responsible for the applications The Zig. Bee Cluster Library (ZCL) frame n contains specific application commands 11

Abbreviated source code o If the HA On. Off. Switch is started first, it

Abbreviated source code o If the HA On. Off. Switch is started first, it will keep trying to join until the HA On. Off. Light forms the network, then the switch will join it 12

Abbreviated source code 13

Abbreviated source code 13

1. 5 Zig. Bee Home Automation o Example: A Zig. Bee Coordinator (ZC) ,

1. 5 Zig. Bee Home Automation o Example: A Zig. Bee Coordinator (ZC) , Zig. Bee Router (ZR) , Zig. Bee End-Device (ZED) 14

Freescale NSK(Network starter kit ) Boards o NCB(Network Control Board) n o 2 X

Freescale NSK(Network starter kit ) Boards o NCB(Network Control Board) n o 2 X 16 LCD screen. SRB n (Sensor Remote Board) 3 -axis accelerometer and sensor. 15

Zig. Bee communicate o o o Individual nodes. Group. “Identify” mode. Zig. Bee devices

Zig. Bee communicate o o o Individual nodes. Group. “Identify” mode. Zig. Bee devices remember their settings across resets and power outages. 16

1. 6 Zig. Bee Speak o Zig. Bee Glossary Terms 17

1. 6 Zig. Bee Speak o Zig. Bee Glossary Terms 17

1. 7 Zig. Bee Architecture 18

1. 7 Zig. Bee Architecture 18

Zig. Bee model o PHY layer n o MAC layer n o n Mesh

Zig. Bee model o PHY layer n o MAC layer n o n Mesh networking. Broadcasting packets. Encrypted. APS layer n o Provides the concept of a network, including a PAN ID. Not multi-hop or mesh. NWK layer n o Simply translates packets into over-the-air bits and back again The APS layer also filters out duplicate messages that may have been sent up by the NWK layer. ZDO layer n It provides services to discover other nodes and services in the network. 19