1 Hello ZigBee Speaker : 施創宏 Advisor : 吳坤熹
2 Outline 1.3 ZigBee in the Marketplace 1.4 Hello ZigBee (A First ZigBee Network) 1.5 ZigBee Home Automation 1.6 ZigBee Speak 1.7 ZigBee Architecture
3 1.3 ZigBee in the Marketplace ZigBee is beginning to be found in many, many applications.
4 Application Home Automation Commercial Building Automation Industrial Plant Monitoring Automatic Metering Initiative Personal Home and Health Care Telecommunications Applications
5 Telecom Application Information Services These services could advertise specials, services, or sales (at your option) based on the location of your cell phone.
6 1.4 Hello ZigBee (A First ZigBee Network) The concept of this example is very simple.
7 So what happens from a ZigBee perspective? The HA OnOffLight Zigbee Coordinator (ZC) forms the network. The HA OnOffSwitch joins the network. The HA OnOffSwitch finds the light and binds to it. The HA OnOffSwitch can toggle the light with SW1.
8 Packet sequence number If you look at Seq. No. 5, you ’ ll see the HA OnOffSwitch joining the network with an Association Request. Look at Seq. No. 11 and you ’ ll see the HA OnOffSwitch 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.
9
10
11 Four frames in this packet The IEEE (or MAC) frame responsible for the PAN ID and the per-hop information The ZigBee network (NWK) frame responsible for multi-hop communication The ZigBee application (APS) frame responsible for the applications The ZigBee Cluster Library (ZCL) frame contains specific application commands
12 Abbreviated source code If the HA OnOffSwitch is started first, it will keep trying to join until the HA OnOffLight forms the network, then the switch will join it
13 Abbreviated source code
ZigBee Home Automation Example:A ZigBee Coordinator (ZC), ZigBee Router (ZR), ZigBee End-Device (ZED)
15 Freescale NSK(Network starter kit ) Boards NCB(Network Control Board) 2X16LCD screen. SRB (Sensor Remote Board) 3-axis accelerometer and sensor.
16 ZigBee communicate Individual nodes. Group. “ Identify ” mode. ZigBee devices remember their settings across resets and power outages.
ZigBee Speak ZigBee Glossary Terms
ZigBee Architecture
19 ZigBee model PHY layer Simply translates packets into over-the-air bits and back again MAC layer Provides the concept of a network, including a PAN ID. Not multi-hop or mesh. NWK layer Mesh networking. Broadcasting packets. Encrypted. APS layer The APS layer also filters out duplicate messages that may have been sent up by the NWK layer. ZDO layer It provides services to discover other nodes and services in the network.