I have been trying to communicate between 2 Xbee pro Series 1 modules for 3 days. I have tried numerous tutorials with no success. I am beginning to think the problem is with the hardware.
I bought all of the following from here:
2 x Xbee Pro Series one wire antennae
1 x Xbee Explorer Regulator
1 x Xbee Shield
1 x Arduino Pro 328 5V
I have only changed the following parameters from their factory settings wiith XCTU:
Module 1:
ATID=6666
ATMY=1
ATDL=2
Module 2:
ATID=6666
ATMY=2
ATDL=1
I connect the shield to the Arduino pro to its own independent power supply of 9V. The Power LED of the Shield lights up, but the weird thing is that I am able to upload code onto the Arduino with the shield’s switch in UART and DLINE positions. I connect the the explorer Xbee module to the computer via a FTDI cable.
I switch the Shield to UART mode but the DIN and DOUT LEDs on the shield and explorer do not blink when I use a simple code to send serial data between them.
I try to just send Serial.print(“Hello World”) through the Xbees but it doesnt work. When I connect the Arduino pro’s serial directly to the FTDI cable, it works.
What I am trying to figure out is the following:
-
The parts I ordered are not compatible
-
Something is wrong with the parts (Xbee or the Shield)
Any help would be greatly appreciated as I have hit a brick wall.