• Over 40,000
• Access to over
• Quotation team,
send us your
quotes for quick
F EE C RaEloE CaaFtR talog!!
call toll free
wrefwer wto.omr vcismit inone. com/magazine
Source Code: NVM37
oping your own Zigbee application.
The command protocol discussed
here is not designed to be either robust
or efficient. There are many ways optimizations could be implemented, for
example, make each command specific:
the request for accelerometer data
need only be four bytes long “**A%” or
the ‘P’ command could set both motors
at the same time, etc. Also, as it stands,
if a command is for some reason not
recognized, or not complete, it is
simply thrown away, which is fine for
this experimental project and most
likely for many hobbyist applications.
Enhancements are for the reader to
experiment and play with.
Next month, we will tackle more
advanced Zigbee topologies and
hopefully we will have multiple robots
running at the same time. NV