- Analytics for the Internet of Things(IoT)
- Andrew Minteer
- 501字
- 2021-07-02 18:59:31
ZigBee
ZigBee is a little different animal than what we have talked about so far. It covers multiple layers of the protocol stack. It is the network protocol, the transport layer, and an application framework that is the underpinnings of a customer developed application layer.

It has security builtin as a requirement and works using small, low power digital radios. It is a self-organizing wireless mesh-style network. The name comes from the waggle dance honey bees often do on returning to the hive.
The range is short, up to 100 meters line of sight, but it can travel long distances by passing data through a mesh network of other ZigBee devices.
The ZigBee alliance is a consortium of companies that maintain and publish Zigbee standards. ZigBee was first released as a standard in 2003. It is intended to be simpler and cheaper than other wireless protocols. Development code can be as little as 2% of equivalent code on Bluetooth.
Data rates are low and devices tend to be simple. ZigBee standards require at least a two-year battery life for a device to qualify. The data transmission is periodic and intermittent. There are different categories of ZigBee device. A fully functioning device can act as a network coordinator and operates in both star and mesh topologies. A reduced functionality device can only communicate with a network coordinator and works in a star topology.
These devices form a Personal Area Network (PAN). Network interaction times can be very fast. A device can join a network in 30 ms and change from sleeping to active in 15 ms.
There are three types of ZigBee devices in a network:
- A coordinator device that initiates network formation. There is one and only of these for each network. It may also act as a router once the network is formed. It serves as the trust center and is the repository for security keys.
- A router device is optional. It can join with a coordinator or another router device and acts as a multi-hop intermediary in routing of messages.
- An end device has just enough functionality to communicate with its coordinator. It is optional and cannot participate in the routing of messages.

The ZigBee networking routing protocol is reactive. It establishes a route path on demand instead of proactively such as IP. The network protocol used is Ad hoc On-Demand Distant Vector (AODV) which finds a destination by broadcasting to all its neighbors, which then send a requests to all their neighbors, until the destination is found.
The network is silent between connections. Networks are self-healing. ZigBee networks are secured by 128 bit AES encryption. There is often a gateway device that is part of the ZigBee network and also linked to the internet. It translates data into the appropriate format for messaging over the internet. It can also convert ZigBee network routing protocol into IP routing protocol. The gateway is commonly an unconstrained device that does not need to worry much about power.
- 流量的秘密:Google Analytics網站分析與優化技巧(第2版)
- UML和模式應用(原書第3版)
- The Modern C++ Challenge
- PostgreSQL技術內幕:事務處理深度探索
- 前端架構:從入門到微前端
- ScratchJr趣味編程動手玩:讓孩子用編程講故事
- Python入門很輕松(微課超值版)
- Raspberry Pi Robotic Projects(Third Edition)
- Django 3.0應用開發詳解
- ASP.NET Web API Security Essentials
- Learning C++ by Creating Games with UE4
- Python數據科學實踐指南
- 多接入邊緣計算實戰
- Learning Unity Physics
- 零基礎學西門子PLC編程:入門、提高、應用、實例