Design Article
ZigBee applications - Part 1: Sending and receiving data
Drew Gislason
7/2/2010 6:23 AM EDT
how individual nodes are addressed, and how to address application objects within a node. Terms such as PAN ID, extended PAN ID, network address, profile ID, cluster, endpoint, attribute, and command will become clear (if I have done my job).
This chapter is filled with plenty of examples. If you're a developer and read only one chapter in this book, read this one.
But first, as usual, the real truth about how ZigBee gained its name.
ZigBee. Zig ...B ee...
Bees. The origin of ZigBee came from the peculiar behavior of bees, first noted in the 1960s by Nobel Prize-winner Karl von Frisch. Bees, after zigging and zagging around in the fields, return to the hive, and perform what some call the Waggle Dance to communicate the distance, direction and type of food to others in the hive. After receiving a WAGGLE-DANCE.indication, bees fly off directly to the source of food.
"We have solved it once and for all," said Professor Joe Riley, team leader at Rothamsted Research, an agricultural research center. The team tracked a group of bees as they flew to a food source. To track bees by radar, the researchers first had to create a transponder small enough and light enough so that a bee could carry it. The transponder weighed approximately 10 to 12 milligrams, a fraction of the pollen load bees are accustomed to carrying.
Opponents to the Frisch theory have suggested that while the bees dance, it s not to convey information. They believe bees are actually guided to the food source by odor conveyed by the scout bee. Von Frisch, on the other hand, claimed that recruits understood the dance and flew directly to the food source. But "the bees take five to 10 minutes, not one minute," said Riley.
To make sure bees were not following a scent, a control group of bees was transported 250 meters after seeing a Waggle Dance. When released, the bees flew off in the direction indicated by the dance, the team at Rothamsted Research found.
The team's results show that bees do decode the dance and fly off immediately in the direction indicated. But, "they very rarely get it absolutely right," said Riley. "The mean error is about 5 to 6 meters." Once the bees get to the end of the flight, they change their flight pattern, and start zigging and zagging, looking for the food they were instructed to find. That takes time, Riley said, sometimes up to 20 minutes.
ZigBee chips do not currently fit onto the back of a Bee, but they do come in 5 × 5 mm packages, and consume so little power they can last longer than the lifetime of a bee on a couple of AAA batteries.


snicolasss
7/6/2010 12:31 PM EDT
Nice Book!
Drew is almost the only one who knows the easy way to explain real ZigBee.
Sign in to Reply
jorgemendez
7/7/2010 10:30 PM EDT
Great info, very very helpful.
Sign in to Reply
Har8951
7/9/2010 11:30 PM EDT
Nice book to start of with zigbee.....
I have been working on this protocol since a month and have few queries
What does it mean by zigbee end devices are in sleep mode most of the time. Is it the the radio is completely shut down or just it is in low power mode like LPM1 in CC2520????
If so if one tries to communicate with the end device and the end device is sleeping acoording to zigbee standard the router or coordinator buffers messages for its child devices but for how long???????? because in this case if one requests data from end device then it will not respond at all and one might require more RAM space and if network is large enough then imagine....
According to beacon enabled networks the end device wakes up at regular interval but what about non beacon mode. Then i have to keep my end device active all the time in non beacon networks which contradicts that zigbee is low power protocol.
I have confusion in this concept.
regards,
har8951
Sign in to Reply
Tim.Gillman
8/30/2010 1:34 AM EDT
To find out more about ZigBee and Wireless Sensor Networking, go to Drew's website: www.sanjuansw.com
Sign in to Reply
uanatol
4/21/2012 8:15 PM EDT
The phrase "A data indication means a node is receiving data from another node" tells
absolutely nothing. What does "indication" means ?
Does it means receiving data by the node ?
If so, where is the "sending data" primitive ?
I think we should avoid using terms that are
not intuitive, even if they were introduced in
OSI model 30 years ago.
Sign in to Reply