Where to start? an Introduction
Lets say you one day wake up and feel an urge to build some cool Zigbee things, what do you do? Besides just going back to sleep because it is 6 am in the morning and just forget about the whole thing, you need to do some research, but where do you start? We have over the years followed the Zigbee standard, to be more precise we have read the news and read some articles now and then. But when we started to be more serious about it we realized it is not that easy to understand where to start. We searched around the Internet, downloaded the standard etc and finally started buying a bunch of books. For sure Zigbee is not one of those technologies where you find information everywhere and you know a lot of people that has real practical experience.
In this post we are trying to give all of you who are new to Zigbee, who want to find out more and asks the question “Where to start?” an answer. We have listed some of the resources that we think you should start with.
Online:
Daintree Networks who is “a leading provider of solutions for the development and operation of wireless embedded networks including 802.15.4, ZigBee, ZigBee RF4CE and 6LoWPAN”, but for many they are more known as the guys behind the “Sensor Network Analyzer (SNA)” used to analyze and debug networks. They have put up a good resource page on their site where you find whitepapers, specifications etc. What we recommend you read is the Zigbee Primer they have made, simple, short but to the point.
Daintree Resource page
Daintree Zigbee Primer (PDF)
Forums/Blogs:
One of the best, probably the best blog when it comes to Zigbee, at least we have not found one that is better, is Freaklabs. The site is created by a guy named Chris but his nick on the site is Akiba. He has a couple of blogs, a forum and he is the brain behind the open source Zigbee stack, FreakZ. In his blogs you find a ton of information, and equally good is the the forum. In general once you have decided to start some practical experimentation this site “kicks in”. But before that happens you should read some “Zigbee introduction” posts on his blog that focus on the physical and MAC layer.
Freaklabs Blog
Freaklabs Zigbee Part-1 PHY Layer
Freaklabs Zigbee Part-2 MAC Layer
Freaklabs Zigbee Part-3 MAC Layer
E-learning:
Jennic a semiconductor company that “focus on the IEEE802.15.4 and ZigBee standards” has created a ZigBee e-learning course. This course is surprisingly good and totally free. It will give you all the basic knowledge you need to understand Zigbee without going too deep. The course is split into six “modules” and after every module you have a quiz, which we find is one of the best ways to learn. Highly recommended.
Jennic’s ZigBee e-learning Course
Books:
There are not that many Zigbee books out there and even less that are any good. We have read them all (almost), the one that stands out is “ZigBee Wireless Networks and Transceivers” by Dr Shahin Farahani. He works as a system engineer at Freescale “designing System-on-Chip transceivers for short-range wireless networking”. What we like is that it does not have the typical theoretical approach that many books like this have, it shows that Shahin actually is designing and developing real world solutions. He is not one of those guys who reads the standard, removes some complex algorithms and turn it into a book.
The book covers all parts of Zigbee from RF, physical layer to the application layer. If you are a low level engineer working on firmware or just a “technology enthusiast” the book is for you. It really gives a comprehensive understanding of Zigbee. We really want to emphasize the fact that even if it has the mandatory “high level” descriptions it does deep dive into the lower level protocols as well as the RF part, so no matter how advanced you think you are you will learn something new. We truly enjoyed reading the chapter about “Battery Life Analysis” very few books would take you there, and this is one of the chapters that you truly can see that Shahin has real world experience. As smart as we think we are we did find some very interesting aspects of how to optimize battery life that we had not considered.
In addition the book has a companion web site “Learn Zigbee” where you find a lot of resources and lets you download a spreadsheet allowing you to calculate RF range, do a battery life analysis etc. You can buy the book directly from the site or Amazon both as paperback and for the Kindle.
There is another book written by Drew Gislason, “Zigbee Wireless Networking” that we have seen others recommend besides “ZigBee Wireless Networks and Transceivers” both published by Newnes. We have not read that one yet, but we will.
Learn Zigbee (the companion site)
ZigBee Wireless Networks and Transceivers
ZigBee Wireless Networks and Transceivers Kindle edition
Zigbee Wireless Networking
Zigbee Alliance
Last but not least is the Zigbee Alliance, they have a “learn more” section where you find a multitude of information. However it is not as straight forward to find information, you will find a lot of abstract white papers, power point presentations and “webinars”. In general you find more “technology marketing” documentation, still good but if you are a hard core engineer you may not find what you are looking for under this section.
BUT what you should get from here is the official Zigbee specification, and it can not be more hard core than that.
Direct link to “Learn More”
Direct link to Specification download
Summary:
Maybe know you know where to start, but how do you start?
Our proposed approach is that you start by reading the Daintree Primer and the Zigbee introductions at Freaklabs. If you are still interested do the Jennic E-learning course. Before diving into the specifications at the Zigbee Alliance site read the “ZigBee Wireless Networks and Transceivers” or the ”Zigbee Wireless Networking” or maybe both. Once you get through the book(s) you can start diving into the standard. However a more realistic scenario is that you start ordering some Zigbee kits and start messing around while you read the book, and that is when Freaklabs blog and forum really becomes handy in combination with the vendors support sites and documentation. What dev kits to choose etc, is another story that we save for another post.
Heading back to the books, ZiggyK