Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
XBee and Zigbee work the same way. I have used XBees. You have to just write UART code for XBee communication as it uses Serial Communication Protocol. In Proteus You can have two PICs with one XBee connected to each PIC.
Connections is like this
PIC UART Tx to XBee Rx
PIC UART Rx to XBee Tx
In hardware if you are using 5V MCU then UART Tx pin should be connected to voltage divider and the voltage has to be dropped to around 3.)V and connected to XBees Rx pin.
Thanks.can u provide me the code to read values and transmit through zigbee by pic...and other side pic will read that values through zigbee receiver and should display in lcd
Here I am attaching a working project. There are two Proteus files. One uses XBee model. Don't use that because it is not working. Use the other Proteus file. mikroC PRO PIC projects included.
When Send button is pressed it send data to receiver and receiver displays it on its LCD line 2. Press reset button of receiver to clear the LCD and try pressing the Send button again to see the working again.
The file you provided is working fine.But i dont think its xbee implementation .it is direct connection...
For Xbee seperate library exists in proteus,do u know how to program pic to communicate through that module
In the file I posted there are two Proteus files. One uses direct connection and another uses XBee module. The one which uses XBee module doesn't work. I have to check why it doesn't work.
You mean Proteus file which has XBee module model ? If yes, I have already posted it but it is in Proteus 8.3 SP2 format and older versions of Proteus will not open it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.