by aurora » Wed Jan 26, 2011 12:14 am
When you say you bought the XBee, do you mean the XBee OEM or the SKXBee? There are some differences here.
The Xbee comes with default setting, basically all comes with identical setting, which also means they are not pair. To pair it, yes, you can do the configuration via PIC UART, or any form of UART.
But, best to use the XCTU, because as you change the configuration, you get to see the changes made onto the configuration on your screen.
Configure using UART is more troublesome, and people would only do that if they don't have the SKXBee (as the XBee OEM doesn't come with USB). For that case, you would need a COM/Serial converter (aka RS232) or USB/Serial converter (aka UC00A). You can use XCTU if you use either converter.
I won't suggest to use PIC UART, that would be the last choice. By using PIC, you need to develop additional codes, and you will need some form of feedback for verification (which is most troublesome). Without feedback, (i.e. LCD for display) it is extremely difficult to troubleshoot if you screw up.