Professional Documents
Culture Documents
-18CP010
What is Zigbee?
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?
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
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