I'm not new to Atmel AVR micros, but so far I haven't looked at the wireless products.
First a bit of information, what I'm trying to achive: I would like to build a small home automation network, preferably with Zigbee protocoll, because I have already PCBs with xBee (but not the programmable type) on it, but I need also programmable nodes on my network(so just one cpu, smaller pcb, longer battery life). Since I'm familiar with AVR, and I also have the tools, it seems to be a good idea to go with Atmel based modules.
I have a few questions related to it:
- BitCloud seems to be an implementation of ZigBee stack, but only for limited combination of cpu+radio IC (and of course rtmcu). Is there any support from the Atmel side (or any other opensource solution) to get a working ZigBee on an STM32 + Atmel radio chip for example? ( I suspect no, since I haven't found any evidence, but maybe I'm missing something )
- I see there is a MAC stack, which is the very basis of communication between two nodes - but it supposed to be compatible with xBee's S1 line (non Zigbee) modules. Am I right?
Is the source code provided for this?
- There's also a LWMesh Stack - but it won't work with other Zigbee? Since I guess this uses some proprietary protocol?
- So far what I have found the BitCloud would be the best soulution for me. I would like to use the wireless modules as a standalone solution (not as a serial-to-wireless module). Doing my own program on top of BitCloud.
Since the modules I'm looking at (from an-solution.de) have different hardware(for different antenna, and transmit power) inside: one is coming wiht a ATmega1281 and AT86RF230, the other one is coming with a single chip - ATmega128RFA1.
How easy is to port the code between these two one?
- And the last question. Digging around on the net I found this on Avian's Blog:
However I have been investigating one important issue for around two months now and I'm confident that there is something seriously wrong with these modules. I strongly suspect there is a race condition somewhere in Atmel's (proprietary and closed-source, of course) code that causes some kind of buffer corruption when a packet is received over the radio at the same time as the module receives a command over the serial line. This will cause the module to lose bytes on the serial line, making it impossible to reliably decode the communications protocol.
Read the full story
Did anyone experience such problems with BitCloud?
Thanks for the answers,