You are on page 1of 16

Zig bee

-18CP010
What is Zigbee?

 Technological Standard created for control and sensor networks.


 Based on the IEEE 802.15.4 standard.
 802.15.4 is a IEEE standard for low power applications of radio frequency.
 Wireless Personal Area Networks(WPANs).
 High level Communication.
 Frequency band up to 2.4GHz
Zigbee

 Designed for low power consumption


 Allow batteries to essentially last for ever.
 Zigbee makes possible completely network homes where all devices are able to
communicate and be controlled by single unit.
 Provides network, security and application support services operating on the top of IEEE.
 It supports all network topologies like star, tree, and mesh.
 Its transmission distance limited to 10 to 100 meters line of sight.
Continue…

 Transmission distance is depends on power output and environment factors.


 It can use long distance communication using intermediate devices.
 The data is passed through the mesh network of intermediate devices and it reaches the
distance device.
 The devices are secured by 128 bit symmetric encryption keys. so the networking is
secure.
Topologies

 Zigbee mainly support star topology, Tree topology, Mesh Topology.


 star Topology:
 Consists of a coordinator and several end
devices.
 End devices Communicate only with the
coordinator.
Continue…

 2. Tree topology:
 In this topology, the network consists of a
central node (root tree), which is a coordinator,
several routers , and end devices, as shown in figure.
 The function of the router is to extend the network
coverage.
 Each end device is only able to communicate with
its parent (router or coordinator)
Continue…

 3. Mesh Topology:
 Mesh topology, also referred to as a peer-to-peer network,
consists of one coordinator, several routers, and end devices.
 A mesh topology is a multihop network; packets pass
through multiple hops to reach their destination.
How Zigbee Technology Works?

 Zigbee use serial port to send and receive data.


 It can interface with Arduino Uno R3,any type of microcontroller and computer.
 Communication with other Zigbee.
 Used for create Local Area Network(LAN).
Interfacing of Zigbee and Arduino.

 Two ZigBee module can talk with each other if they are of same type.
 For communicating of two modules , connect one module to Arduino and other module to
either sensor or any microcontroller or computer.
 Following figure shows the diagram of connection of Arduino to zigbee module.
Interfacing Zigbee with Arduino
Interfacing Zigbee with Arduino

 Tx and Rx pin of Zigbee and Arduino is connected with each other.


 Arduino send instructions to Zigbee and according to instruction Zigbee will respond.
 One Zigbee receives instructions or data from other Zigbee.
 After receiving instruction or data from other Zigbee it will send data to Arduino through
serial pins as shown in connection.
Code for connection of ZigBee and Arduino

 Sender side:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("H"); //turn on the LED
delay(2000);
Serial.println("L"); //turn off the LED
delay(2000);
}
Continue…

 Receiver Program:
char msg = ‘ ‘;//Contains the message from Arduino sender
const int led = 13; //led at pin 13
void setup(){
Serial.begin(9600);
pinMode(led,OUTPUT);
}
Continue…
 Void loop(){
while(Serail. available()>0){
msg=Serial.read();
if(msg == ‘H’){
digitalWrite(led,HIGH); //turn on led
}
if(msg == ‘L’){
digitalWrite(led,LOW); //turn off led
}
msg = ‘’;
delay(1000);
}
Application of Zigbee.

 Wireless Communication.
 Remote monitoring system
 Wireless home automation system
 Wireless temperature sensor
 Wirelessly controlled robot
 And many others…
Thank You

You might also like