I am interfacing Zigbee with micro controller which one is easy and reliable. PIC or arduino? Please can someone provide the steps and code if available.
1st - you are mixing two things - PIC is a family of microcontrollers, while arduino is a development board - usually equipped with Atmel's ATmega microcontrollers.
Knowing both, I can say that it is virtually the same easy to connect zigbee fr both platforms. However, I dare to say, that currently there is much more community support for arduino platform.
The other question is why you want to use Zigbee? Are there rely no other options which will serve the same purpose? Contemporary wifi and bluetooth modules provide similar or better specs both in data transmission and power use. In my opinion, the only reason to use zigbee nowadays is to communicate with other 3-rd party devices, which do not offer any other interface protocol.
1st - you are mixing two things - PIC is a family of microcontrollers, while arduino is a development board - usually equipped with Atmel's ATmega microcontrollers.
Knowing both, I can say that it is virtually the same easy to connect zigbee fr both platforms. However, I dare to say, that currently there is much more community support for arduino platform.
The other question is why you want to use Zigbee? Are there rely no other options which will serve the same purpose? Contemporary wifi and bluetooth modules provide similar or better specs both in data transmission and power use. In my opinion, the only reason to use zigbee nowadays is to communicate with other 3-rd party devices, which do not offer any other interface protocol.
You provide only your project flowchart, not even a code draft.. You cannot expect someone to write down all the code from scratch. I can only suggest you to use Arduino, since it is easier for beginners and you will find for sure some one that already did a similar project, so you only have to copy, paste and modify the code..
If you google for these keywords: arduino + zigbee + log + data
the first link you find is a complete tutorial for what you need
mBed is another popular platform. I provide a link to a page with example code. Hopefully by looking at a few examples you will get a feel for what is happening, regardless of the platform or language.
As Michal and Carlo have mentioned- there are plenty of examples available online for a range of platforms: Arduino, Raspberry Pi, mBed, Beaglebone, etc.
As Michal mentioned, Arduino and PIC are two different things. Becase Arduino is a board, it has other important circuitry already implemented. Therefore, it is much easier to deal with if you have little knowledge on electronics. Plus, Arduino comunity is huge, and therefore you can easily find examples of code. Check the links pour colleagues shared above.
I think that Arduino is a good choice and you can deal with it quite easily. However, you can find every think you need to know about establishing connection between Xbee Zigbee and Arduino (which is based on Atmel microcontrollers), codes, and some examples in arduino cookbook/ chapter 14.
I have to say that if you are just starting out you will find it easier to get started with Arduino. There is a larger user community and there are more tutorials and examples to help you get with what a microcontroller does. Arduino is simplified by design. It is easy to do easy things with them.
If you are experienced with microcontrollers, then the Launchpads have a lot more control over the hardware, but require more effort and knowledge to get started and make them work. I recently got their stellaris launchpad and it is quite capable . It offers more control but at a cost of more complexity.
They are both fairly inexpensive compared to the time you will invest, so get both and try them out.