What are We Trying to Do??
Our goal is to assemble a two-node PAN (Personal
Area Network) that is, in reality, a HAN (Home
Automation Network). Our PAN will consist of a single
FFD (Full Function Device) node that will be under the
control of a PAN Coordinator. Once we get the PAN
online, the next step will be to contact the Coordinator via
an Internet-routed Telnet connection. This particular
“home-based” PAN will be logically considered “remote”
as we will only access the PAN via an Internet connection.
If all works as designed, we will be able to query and
control the devices attached to the remote FFD node. We
will also be able to interact in a remote manner with the
The HAN FFD
The FFD HA device you see in Photo 1 is hosted by a
Telegesis ETRX357 ZigBee radio module that is loaded
with a ZigBee PRO stack and custom HA firmware. This
custom firmware was seeded from the ZigBee Home
Automation Public Profile. Access to the HA profile is
provided by Hayes-like AT commands which result in
easier HA application development. The AT command set
is universally recognized and easy to use. In this case, the
AT commands provide a simple user and application
interface to the complexities of the ZigBee stack.
Telegesis Five-In-One firmware is loaded on the FFD
data radio. The FFD endpoint firmware has the capability
of servicing a maximum of five monitor and control
functions using a single ETRX357 radio. As you can see in
THE DESIGN CYCLE
Building a ZigBee HAN
■ BY FRED EADY
60 October 2014
■ Photo 1. This piece of hardware is part of the Telegesis HA
evaluation kit. It is equipped with a temperature sensor, a light
sensor, some LEDs, and a buzzer. Our goal is to access all of
these goodies from a Telnet session running over the Internet.
■ Figure 1. The devices native to the Five-In-One HA
device you see in Photo 1 can be accessed using these
Endpoint and Device ID combinations.
ZigBee was originally designed as a
lightweight network. The idea was to be
able to send small packets of data over
limited distances. Thus, ZigBee was
aimed at low data rate sensor networks
and industrial control applications. It
seems that everything these days that
finds its way to the Internet and ZigBee
is no exception. Today, remote ZigBee
networks can be easily monitored and
administered via an Internet connection.
In this installment of Design Cycle, we
will explore the use of the Internet to
propagate ZigBee monitor and control
data. Instead of focusing on relatively
complex industrial sensor applications,
we will go "home" and perform some
home automation-based data exchanges
over the Internet.