Im working on a project require Xbee communication module. Here is my configuration setting:
1) Xbee starter kit series 1(connect to PC) using X-CTU software provided :
- Channel = C
- PAN ID = 3456
- MY(Source) address = 11
- DL(Destination) address = 22
2) Xbee series 1(Connect to microcontroller PIC18F4550) :
- Data Out(Xbee) connect to RC7(RX) Port C of PIC18F4550
- Data In(Xbee) connect to RC6(TX) Port C of PIC18F4550
- Channel = C
- PAN ID = 3456
- MY(Source) address = 22
- DL (Destination) address = 11
Im using the sample Visual Basic GUI project from the link http://tutorial.cytron.com.my/2011/07/30/gui-control-flexibot-by-using-skxbee-wireless-communicate/ (Xbee starter kit connected to PC) and try to receive the data sent from the Xbee connected to PIC18F4550. Im doing in this way, give external power supply after programmed the PIC18F4550 repeat sending the data using forever loop. For example: while(1){uart_str("1234");}. So that, on the other side (Xbee starter kit connected to PC) will receive the data. Am i doing in the correct way? But, i cant receive any data on the Xbee starter kit connected to PC using the sample Visual Basic GUI program as mentioned above. Of course, i have modified some visual basic coding inside. For example, read the com port and display the data on the message box if the button is clicked. Besides, i have also measure the voltage on the PortC RC7 (RX) and RC6 (TX) from the PIC18F4550. I can see the voltage varying and keep changing from 3.0V~4.95V for RC6(TX) and 0.10~0.15V for RC7(RX). Is it normal? Please do let me know if i have done any mistakes. Thanks.