Zigbee and its Significance in IoT Applications

by Apr 27, 2020Applications of IoT, Communication Protocols

What is Zigbee Technology?

ZigBee is all about a wireless protocol. It is an IEEE 802.15.4-based specification for a suite of high-level communication protocols using in to create Personal Area Networks(PANs) with small, low-power digital radios. Such as for home automation, medical device data collection, and other low-power low-bandwidth needs. It is designed for small scale projects which need wireless connection. Hence, Zigbee is a low-power, low data rate, and close proximity (i.e., personal area) wireless ad hoc networks.

The technology defines the Zigbee specification is intending to be simpler and less expensive than other Wireless Personal Area Networks (WPANs), such as Bluetooth or more general wireless networking such as Wi-Fi. Applications include wireless light switches, home energy monitors, traffic management systems, and other consumers. Industrial equipment that requires short-range low-rate wireless data transfer are also included in WPAN.

Moreover, its low power consumption limits transmission distances to 10–100 meters line-of-sight, depending on power output and environmental characteristics. Thus, can transmit data over long distances by passing data through a mesh network of intermediate devices to reach more distant ones. But it is typically using in low data rate applications that require long battery life and secure networking. On the other hand, Zigbee networks are secure by 128-bit symmetric encryption keys. It has a defined rate of 250 kbit/s, best suited for intermittent data transmissions from a sensor or input device.

System Structure of ZigBee

Source elprocus.com
These are of three kinds:-
  • ZigBee coordinator (ZC): The most capable device. The coordinator forms the root of the network tree and might bridge to other networks. There is precisely one ZigBee coordinator in each network since it is the device that started the network originally. The ZigBee LightLink specification also allows operation without a ZigBee coordinator. It Makes it more usable for off-the-shelf home products. It stores information about the network, including acting as the trust centre and repository for security keys.
  • ZigBee Router (ZR): In running an application function. But, A router can act as an intermediate router, passing data on from other devices.
  • ZigBee end device (ZED): It contains just enough functionality to talk to the parent node either the coordinator or a router. Thus, It cannot relay data from other devices. This relationship allows the node to be asleep a significant amount of the time and giving a long battery life. A ZED requires the least amount of memory. Thus can be less expensive to manufacture than a ZR or ZC.

ZigBee Architecture

Source elprocus.com

The software designing is to be easy to develop on small, inexpensive microprocessors. ZigBee protocol architecture consists of a stack of various layers where IEEE 802.15.4 is defined by physical and MAC layers while this protocol is completed by accumulating Zigbee’s own network and application layers.

Physical Layer: This layer does modulation and demodulation operations upon transmitting and receiving signals respectively.  So, It transmits information and receives information from a source

MAC Layer: This layer is responsible for reliable transmission of data by accessing different networks with the carrier sense multiple access collision avoidance (CSMA). This also transmits the prominent position as a warning frame for synchronizing communication.

Network Layer: The main functions of the network layer are to enable the correct use of the MAC sublayer and provide a suitable interface for use by the next upper layer, namely the application layer. So, Its capabilities and structure are those typically associated with such network layers, including routing. The Network Layer’s function is exactly as it sounds. It deals with network functions such as connecting, disconnecting, and setting up networks. Thus, It will add a network, allocate addresses, and add/remove certain devices. This layer makes use of star, mesh and tree topologies. It adds an interface to the application layer.

Application layer: The application layer is the highest-level layer defined by the specification and is the effective interface of the ZigBee system to its end users. It comprises the majority of components added by the ZigBee specification: both ZDO and its management procedures, together with application objects defined by the manufacturer, are considered part of this layer. This layer is responsible for, sending messages between bound devices, managing group addresses, reassembling packets and also transporting data. So, It is responsible for providing service to Zigbee device profiles.

ZigBee Operating Modes

source www.slideshare.net
Zigbee two way data is transferred in two modes:
  • Beacon Mode: In the beacon mode, a device watches out for the coordinator’s beacon that gets transmitted at periodically, locks on and looks for messages addressed to it. If message transmission is complete, the coordinator dictates a schedule for the next beacon so that the device ‘goes to sleep’; in fact, the coordinator itself switches to sleep mode. While using the beacon mode, all the devices in a mesh network know when to communicate with each other. In this mode, necessarily, the timing circuits have to be quite accurate or wake up sooner to be sure not to miss the beacon. This, in turn, means an increase in power consumption by the coordinator’s receiver, entailing an optimal increase in costs.
  • Non-Beacon Mode: The non-beacon mode will be included in a system where devices are ‘asleep’ nearly always, as in smoke detectors and burglar alarms. So, The devices wake up and confirm their continued presence in the network at random intervals. On detection of activity, the sensors ‘spring to attention’, as it were, and transmit to the ever-waiting coordinator’s receiver since it is mains-powered. However, there is the remotest of chances that a sensor finds the channel busy, in which case the receiver, unfortunately, would ‘miss a call’.

ZigBee Topology

Network topology is the design of the elements such as links or nodes of a communication network. It is used to illustrate various types of telecommunication networks. We already talked briefly about one of the three Zigbee network topology in the previous post. Now let dive in a little deeper about all three Zigbee network topology.

Zigbee network topology is of three types:

1.star topology

2. tree topology

3.peer-to-peer or mesh topology.

Each topology will have a different effect on how the messages are routed and which devices connect to which devices.

1. Star Topology:
source www.researchgate.net

The first topology is the star topology. So, Star topology consists of a coordinator and a few end devices. It is the simplest and most limited one in the Zigbee. Devices are all connected to single coordinator node and all communication goes via this coordinator. Thus, The interesting part about the star topology is it actually define by the underlying 802.15.4 specification which Zigbee builds on. But, The disadvantage of this topology is it may become a hindrance and there is no option path from the source to the end devices.

2. Tree Topology:
source www.researchgate.net

The second topology is tree topology. It consists of a coordinator, few routers and end devices that act as a central node or root tree. The routers operate as an extension for the network coverage. The end nodes connecting to the parent (coordinators or routers) are known as children. Only the end devices can communicate with the parent. The detriment of the tree topology is if one parent is disabled, the children of the disabled parent cannot communicate with other devices in the network even they are close to each other.

3. Mesh Topology:
source edn.com

The third and last topology is peer-to-peer or mesh topology. So, This topology consists of a coordinator, a few routers and end devices. You can expand the network range by adding more devices into the network. If during the transmission one of the paths fails, the node will find the alternate path to reach to the destination, therefore, eliminating dead zones. Using this mesh topology it is easier for a user to add or remove the device because they can communicate with any destination device in the network.

IoT Applications Using ZigBee

The applications of this technology includes:
1. Collection of Medical Data:

This technology is used in-home patient monitoring where the collection of medical data is crucial. In this system, a patient wears a Zigbee device which collects the information like the pulse rate, the temperature of the body, blood pressure etc.

2. Smart Industrial Automation:

In manufacturing and production industries, a communication link continually monitors various parameters and critical equipment. Hence Zigbee considerably reduce this communication cost as well as optimizes the control process for greater reliability.

3. Smart Smoke Alarms:

This smart smoke alarm is for sensing fire smoke and issue acoustic-optic alarm signals to alert people locally and send alarm notifications to user App remotely. So, This smoke alarm, adopts advanced sensor, technology and craftworks, has stylish outlook, high stability and super low power consumption.

4. Smart Home Automation:

Nowadays tech conglomerates are betting big on home automation services with their offering like Google Home, Amazon Alexa etc. Zigbee wireless technology is perfectly suitable for controlling home appliances remotely as a surveillance system, lighting control system, appliance control system, safety systems, and so on.

5. Smart Metering System:

Utility meters need to read on a regular basis to generate utility bills. One way to do so is to read the meters manually at homeowners’ premises and enter the values into a database. A ZigBee-based automatic meter reading (AMR) system can create self-forming wireless mesh networks across residential complexes that link meters with utilities’ corporate offices. On the other hand, AMR provides the opportunity to remotely monitor a residence’s electric, gas, and water usage and eliminate the need for a human visiting each residential unit on a monthly basis.

6. Smart Grid Monitoring:

It is prevailing rapidly in electrical engineering research and it is expecting to provide sustainable and efficient energy services with advanced control and communications infrastructure in a smart grid environment. A smart grid involves all the stakeholders of power systems, from generation to consumption, with the bi-directional flow of power and information. Thus, Communications technologies are a vital part of the smart grid and enable the utility to manage tasks like energy management in Home Area Networks (HANs), Neighbor Area Network (NANs), and Wide Area Network (WANs), etc.

Advantages and Disadvantages of ZigBee

Advantages:
  • Zigbee has a flexible network structure
  • It has very long battery life
  • Zigbee has a mesh network topology with low cost, multi hope data transmission and is power effective
  • It is less complex than Bluetooth
  • It is easy to install
  • Zigbee support a large number of nodes 
  • Zigbee is more reliable 
  • It is a short working period result in power saving and power consumption of communication
Disadvantages:
  • Zigbee disadvantages mainly include short-range
  • Low complexity, and low data speed
  • Its high maintenance cost, lack of total solution, and slow materialization,
  • Low transmission, as well as low network stability, are also some of its disadvantages that takes it a step back as compared to others
  • Replacement with Zigbee compliant appliances can be costly 
  • Zigbee is not secure like WiFi-base secure system
  • It does not have end devices available yet

Creating a multiplication Skill in Alexa using python

Written By Jayanta Chakraborty

RELATED POSTS

What is Blockchain? How it can enhance IoT features?

What is Blockchain? How it can enhance IoT features?

In this article, we will learn about the “What is blockchain? How it can enhance IOT features?”. Before getting into the topic, lets brush up with basics about IOT and Blockchain. Blockchain refers to an encrypted, distributed, decentralized computer filing system...

IoT in the Education Sector

IoT in the Education Sector

Education in a literal sense means the process of receiving or giving systematic instruction, especially at a school or university, and with IoT, it is a more fun process. In simpler terms, it is an enlightening experience. Although traditional teaching may not have...

How to use a GSM/GPRS Module as an IoT device?

How to use a GSM/GPRS Module as an IoT device?

The convergence of physical objects and the digital world is known as IoT. IoT stands for the Internet of Things. It has been a trending field in the world of technology. In addition, the IoT describes the network of physical objects known as “things” that are...

Longwave Wireless Communication

Longwave Wireless Communication

Longwave wireless communication acts as a foundation for a Low power Wide Area Network. Mostly low energy is consumed in these types of networks. The reason is that most sensors are used for extracting data. These data are used for transmitting in long-range...

Importance of Cybersecurity in IoT

Importance of Cybersecurity in IoT

The Internet of Things mainly refers to the everyday devices that have an internet connection and can communicate independently with the network and other devices. To improve our life, business, or the environment, we can use the information that is provided by these...

Deep Learning and the Internet of Things

Deep Learning and the Internet of Things

Introduction Deep learning consists of supervised or unsupervised learning techniques. IoT is utilizing a broad range of sophisticated technologies, from embedded devices and communication technologies to data analytics. The number of IoT devices is increasing day by...

Self Driving Cars and IoT

Self Driving Cars and IoT

A self driving car, Everyone wants that, right ? A car that can drive automatically in which we don't need any driver, sounds cool ? In this article, I will walk you through the introduction of self driving cars and the role of IoT in it. A self-driving car, also...

VIDEOS – FOLLOW US ON YOUTUBE

EXPLORE OUR IOT PROJECTS

IoT Smart Gardening System – ESP8266, MQTT, Adafruit IO

Gardening is always a very calming pastime. However, our gardens' plants may not always receive the care they require due to our active lifestyles. What if we could remotely keep an eye on their health and provide them with the attention they require? In this article,...

How to Simulate IoT projects using Cisco Packet Tracer

In this tutorial, let's learn how to simulate the IoT project using the Cisco packet tracer. As an example, we shall build a simple Home Automation project to control and monitor devices. Introduction Firstly, let's quickly look at the overview of the software. Packet...

All you need to know about integrating NodeMCU with Ubidots over MQTT

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

All you need to know about integrating NodeMCU with Ubidots over Https

In this tutorial, let's discuss Integrating NodeMCU and Ubidots IoT platform. As an illustration, we shall interface the DHT11 sensor to monitor temperature and Humidity. Additionally, an led bulb is controlled using the dashboard. Besides, the implementation will be...

How to design a Wireless Blind Stick using nRF24L01 Module?

Introduction Let's learn to design a low-cost wireless blind stick using the nRF24L01 transceiver module. So the complete project is divided into the transmitter part and receiver part. Thus, the Transmitter part consists of an Arduino Nano microcontroller, ultrasonic...

Sending Temperature data to ThingSpeak Cloud and Visualize

In this article, we are going to learn “How to send temperature data to ThingSpeak Cloud?”. We can then visualize the temperature data uploaded to ThingSpeak Cloud anywhere in the world. But "What is ThingSpeak?” ThingSpeak is an open-source IoT platform that allows...

Amaze your friend with latest tricks of Raspberry Pi and Firebase

Introduction to our Raspberry Pi and Firebase trick Let me introduce you to the latest trick of Raspberry Pi and Firebase we'll be using to fool them. It begins with a small circuit to connect a temperature sensor and an Infrared sensor with Raspberry Pi. The circuit...

How to implement Machine Learning on IoT based Data?

Introduction The industrial scope for the convergence of the Internet of Things(IoT) and Machine learning(ML) is wide and informative. IoT renders an enormous amount of data from various sensors. On the other hand, ML opens up insight hidden in the acquired data....

Smart Display Board based on IoT and Google Firebase

Introduction In this tutorial, we are going to build a Smart Display Board based on IoT and Google Firebase by using NodeMCU8266 (or you can even use NodeMCU32) and LCD. Generally, in shops, hotels, offices, railway stations, notice/ display boards are used. They are...

Smart Gardening System – GO GREEN Project

Automation of farm activities can transform agricultural domain from being manual into a dynamic field to yield higher production with less human intervention. The project Green is developed to manage farms using modern information and communication technologies....