Sie sind auf Seite 1von 20

Introduction to ZigBee Wireless Sensor Networks

Jinlu Han
Ph.D. Student
Utah State University
CSOIS

Contents
ZigBee

Overview

ZigBee

Protocol

Software
Typical

and Hardware

applications

ZigBee Overview

ZigBee comes from the honeybees. The


honeybees dance in the Zig-Zag pattern,
sharing information such as the location,
distance, and the amount of a discovered
food source to the other fellow members.

ZigBee Overview

ZigBee is a communication technology


for wireless networks looking for
lower cost, reduced protocol
simplification, and higher
communication reliance and quality.
Power are the batteries. The MCU
and the transceiver can go into
hibernate state. Date rate is 250kbps
for 2.4GHz radios.

ZigBee Protocol
ZigBee Alliance organized by Ember,
Emerson, Freescale, Philips, Texas Instruments
and other world famous companies more than
100 totally.
ZigBee Alliance united the company members
together to enable reliable, cost-effective, lowpower, monitoring and control products for the
world.
The ZigBee Specification is set up by the
ZigBee Alliance.

ZigBee Protocol
ZigBee Protocol is divided into
physical layer, media access control
layer, network layer, and application
layer. Physical layer and media access
control layer protocol is set up by IEEE
802.15.4 group formerly.

ZigBee Protocol

Star

Tree

Coordinator
Router
End device
Mesh
ZigBee network type

Software

Software
The nth end device network address is assigned in this way

An Aparent Cnum( S ) R n
1 n (C R), Aparent is the father device address If
the maximum son device for a father device is C=4 the maximum
depth of the networks D=4 the maximum son devices are routers
for a father device R=4 the number of the address assigned by the
father device is Cnum(S)

Depth S

Cnum(S)

21

Thanks to ZigBee Specification

Software
[C n u m (S )= 1 ,A d d r= 2 8 ]

Network address distribution


[C n u m (S )= 5 ,A d d r= 2 2 ]
[C n u m (S )= 1 ,A d d r= 2 3 ]

[C n u m (S )= 5 ,A d d r= 1 ]

[ ]
[C n u m (S )= 2 1 ,A d d r= 0 ]
[C n u m (S )= 1 ,A d d r= 2 ]

[C n u m (S )= 5 ,A d d r= 4 3 ]
[C n u m (S )= 0 ,A d d r= 6 6 ]

[C n u m (S )= 5 ,A d d r= 6 4 ]
[C n u m (S )= 1 ,A d d r= 6 5 ]
[C n u m (S )= 1 ,A d d r= 7 0 ]

Hardware
Most popular ZigBee wireless Sensor
boards are TI Msp430+CC2420,
CC2520, Ember EM2420 EM2520,
and EM2620. Freescale MC13193
+MS9S08GT60, MC13193+ColdFire
MC1320X/1321X serial types. And
Atmel AVR Z-Link, Jennic JN5139 and
RadioPulse MG2455.

Hardware

From http://datasheet.octopart.com/13193EVK-A00-Freescale-Semiconductor-datasheet-98233.pdf

Hardware

6.8nH
3
1

U
3
O
u
t
o
f
I
d
l
e
1
1
C
9
G
P
I
O
1
R
F
I
N
C
R
V
a
i
0
1
8
p
F
2
9
3
8
R
6
C
1
0
G
P
I
O
4
2
3
e
s
2
5
U
4
4
0
.
5
p
F
6
3
2
9
T
X
D
1
5
2
C
1
P
T
A
0
/
K
B
I
1
P
0
P
T
E
0
/
T
X
D
1
G
P
I
O
7
R
F
I
N
+
P
T
A
1
1
0
R
8
1
1
R
4
2
0
3
2
2
I
Q
R
Q
C
3
5
2
1
9
4
P
T
A
3
/
K
B
I
1
P
3
P
T
E
2
/
S
1
C
E
N
6
1
3
8
7
4
4
3
M
O
M
I
S
O
S
M
7
4
7
5
5
4
I
P
T
A
6
3
8
5
1
6
P
T
A
6
/
K
B
I
1
P
6
P
T
E
5
/
S
P
C
K
1
P
C
L
K
7
9
7
7
R
7
4
5
3
V
A
T
N
P
A
O
+
P
T
B
0
2
2
P
T
C
0
1
3
P
T
B
0
/
A
D
1
P
0
P
T
C
0
/
T
X
D
2
R
X
E
1
3
3
1
4
0
K
2
C
1
2
L
1
C
1
3
1
1
R
S
2
4
4
S
D
A
2
2
2
S
A
P
T
B
3
2
5
5
C
L
1
5
2
0
p
F
0
.
5
p
F
P
T
B
3
/
A
D
1
P
3
P
T
C
3
/
C
L
C
L
K
O
tC
O
fR
u
o
IV
lP
d
e
6
6
4
4
P
T
4
aB
i6
7
7
P
T
5
3
V
3
6
5
5
5
V
B
A
T
P
A
O
T
2
8
8
C
6
E
1
2
P
T
B
6
/
A
D
1
P
6
C
6
D
I
N
7
9
V
D
A
7
7
T
P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E
(16)

Hardware
PCB antenna

From http://www.freescale.com/zigbee

Hardware

Typical applications

ZigBee wireless sensor network has


been used to monitor the energy in
daily life, environment in agriculture,
industry, health, military and other
places.

References

1. http://www.freescale.com/zigbee
2. http://www.zigbee.org/
3. MMA7260Q datasheet
4. TPM 175 datasheet
5. ZigBee Specification