Are the ZigBee APIs still AT commands? - zigbee

I'm attempting to get some ZigBee equipment to communicate with each other. I've had some success with the XBee USB, but I have had to switch to Telegesis recently. This piece appears to have a specific AT command set. Will it be compatible with ZigBee sensors made by other companies?
Also - I've run across a few APIs for ZigBee. Are they all just AT commands at the core?

AT commands are just used to configure the Telegesis ZigBee module. It's a SoC and can work in any mode (coordinator/router/zed). On the other side, it talks the ZigBee language and can communicate with any ZigBee certified device. So it can be used to create a ZigBee network or can be included in any ZigBee network.

All ZigBee radios should interoperate -- you just need to make sure they are configured to join to each other. With XBee modules, be sure to set ATZS to 2 so the radios form and try to join a true ZigBee network. The default setting of 0 is for non-ZigBee networks.
To have modules join to each other, you'll need to know the PAN ID and possibly link key used to secure the network.
Once you start communicating via ZigBee, expect to use these modules in an API frame mode, where you need to set address information (destination node, source/destination endpoint, cluster) in the headers.

Related

Zigbee sniffing using killerbee channel detecting error

I configured two Digi xbee s1 module with same channel and PAN ID and both as end device. Communication happens perfectly between these modules.
Problem is when i use rzusbstick with killerbee firmware to look for all the available PAN ID and channel.
using zbstumbler it didnt detect any PANID on my channel.
when enabled verbose i get
"Received frame is not a beacon (FCF=6188).
Received frame."
I tried with different channel, PANID and Destination/MY address. Still the same.
Is it a problem with the module or the configuration or something else?
XBee Series 1 modules are 802.15.4 only, and don't implement the ZigBee protocol. Make sure you're sniffing tools are only looking at 802.15.4 frames, and not assuming they're ZigBee. It's even possible that the XBee modules are using a proprietary protocol on top of 802.15.4 for their features like Remote AT Commands and Transparent Serial Data.

I want to connect the Telegesis USB stick to this silabs kit over zigbee home automation profile.

I want to connect the Telegesis USB stick to this silabs kit over zigbee home automation profile. And i had convert it into home automation profile in Telegesis Terminal and both behave as coordinator into their configuration and can’t connect the network into ember Desktop. Anyone had done before,please help me.
A coordinator is a device that creates a personal area network (PAN) and may permit other devices to join that network. When you make both devices behave as coordinator, they are forming separate networks and therefore can not communicate with each other. Even if you gave them the same PAN ID, ZigBee has some anti-collision mechanisms built into the protocol so that they will "know" the networks are distinct and not allow any crossover.
What you should do is configure one of the two as a router or end device. These device types join the network created by the coordinator. The coordinator may need to be in a pairing or "permit joining" mode to allow this. This would be standard commissioning for the Home Automation profile that you want to use.

Can Xbee communicate with Probee?

I have two Zigbee modules:
Probee ZU10
https://www.tigal.com/product/2093
Xbee Series 2
http://www.digikey.com/product-detail/en/XB24-Z7WIT-004/602-1098-ND/1942304
I want to communicate with these two Zigbee modules. Is this possible?
Yes, it should be possible if they are both configured for the same ZigBee network. Note that you'll need to set ATZS to 2 on the XBee modules since you're going to use the ZigBee standard instead of a running a proprietary XBee network. You won't be able to send Remote AT commands, or use the XBee module's "Transparent Serial" cluster. You'll need to have a host library for the XBee that supports ZDO and ZCL protocol layers of the ZigBee standard.
If you're using C, you can make use of this Open Source library on GitHub that includes ZDO and ZCL.

Mesh Network using Zigbee and Microcontrollers

I would like establish a mesh network using Zigbee modules and ATmega8.
I need some basic c routines for establishing the network. My Controller is running with ATmega32. and end nodes will be on ATmega8.
I want plug and play wireless connection between Controller unit and nodes.
Please help me.
The Digi XBee series of RF modules is popular for plug and play wireless. In it's simplest configuration, a pair of modules operates as a serial cable replacement, with bytes going in on one module coming out on the other.
If you want to have a multi-node network, you'll have to use the radios in API mode, where frames include a header with addressing information and checksum in the footer. Digi has released an ANSI C XBee Host Library as Open Source on GitHub that could be a good starting point for that since you mention using C. It looks like there's even a fork of the library targeting the AVR platform.
#user2031622, zigbee nowdays has builtin microcontroller such as CC2530 provided by TI stack (Texas instruments).CC2530 has a inbuilt 8051 microcontroller which supports mesh networking.

microcontroller based sensor project: ZIGBEE vs GSM

My application will be having many microcontrollers with sensors monitoring a large area. The application requires all these microcontrollers to send the data to the master microcontroller. From the master microcontroller the data must go to desktop PC via serial connection and to a mobile application. Which one (Zigbee/GSM) will be suitable?
This completely depends on what you mean by "Wide Area." A few hundred square meters? A few hundred square kilometers? Zigbee is more cost effective and simpler to implement if you're within range. You could even mesh your nodes together to extend the collective reach of your network. Otherwise, well, you have no choice but to use something like GSM.
RF Line-of-sight range on readily available XBee Modules can be up to 2 miles. Higher power models can be had with 40 mile LOS range.
If you are within range, I would recommend ZigBee as that saves you the cost from having a sim-card in each device.
Buy zigbee modules that have SDK and HW ability for mesh networking. That will give you ability to talk to far nodes via routing nodes. Unfortunately zigbee can not do adhoc mesh networking so you need to know in advance what your routers will be, or to program your nodes routing your self. Another 802.15.4 module (by Synapse) can solve all this since it supports ad hoc mesh networking for you via SNAP protocol. It is not zigbee compatible, but Synapse modules are already adopted by big players like Garmin so this should not bother you. They also run much longer on batteries then zigbee modules. They can also give onboard analog and digital IO accessible without need for additional MCU (although you can connect it and give control to it if you wish). There is also USB stick that will enable your PC to talk to these modules.

Resources