Re: zigbee to 89v51rd2 communication without PC
princepatel9 said:
i want to make communication between different 3 to 4 sensors with 89v51rd2 microcontroller using Zigbee. Can any tell me is that possible and if it is possible can provide block dia or any example and how many zigbee will be required? for each sensor one zigbee will be required ?
Yes one ZigBee node for each sensor, working as a router or an end device (which is the most common in sensors), depending among others on the power supply, if it is battery or not.
Those devices connected to the sensors could be just with a ZigBee module without any side MCU like 89v51rd2 you mentioned, because you can work directly with the ZigBee stack of the module, means a regular C project given by the manufacturer of the module.
It is let's say the firmware of a module. An application layer is given to the user to write the application code.
The low level code (tranceiving, routing etc) are in lower layers of the stack.
If you don't want to mess with this, then you can use a side MCU to communicate via serial protocols with the module.
For example a module can be driven with UART from another MCU, using AT commands.
You didn't specify further, but I guess that a node will collect and process all information from the sensor nodes.
This node could be coordinator (the node that establishes the network), but that is not obligatory.
In this node, a second MCU could be used, if you don't want to write a lot of code in the stack.
The following references could help you to get started, and also a lot of commercial modules are suggested:
https://www.edaboard.com/threads/233387/
https://www.edaboard.com/threads/233767/
https://www.edaboard.com/threads/218648/
https://www.edaboard.com/threads/226991/