The other connections are correct. Do be aware that that the XBee module itself is a 3.3V device and is not 5 Volt tolerant. But, the Regulated Explorer board does the 3.3V regulation and has a series diode on the XBee DIN line (the XBee’s internal pull-up must be enabled on the DIN line to receive) for 5V input.
The exact command is dependent on the exact XBee hardware module and the Firmware version, without which I can’t give you the specifics or even what document or page number the info is on.
The Digi Int utility X-CTU can be used is check and change the parameters in the XBee.
If its all connected and configured correctly, yes you should see the test message in the terminal window.
PR = 0xFF should have all the pull-ups enabled including DIN.
The first step in troubleshooting is to remove the XBees from the interface boards and jumper the two boards together, DIN → DOUT, DOUT->DIN & Gnd ->Gnd. This removes all the RF link issues so you can be ensured that the processor code and baud rates are correct. Once this is working then put the XBees back and to sure the XBee’s baud rates are correct.
An O’scope is the best tool to use to see what the serial data lines are doing. However, you can write code to continuously send different values (0x00 or 0xFF) that get close to 100% of a logic low or logic high. Then a Voltmeter can be used to see if the data lines are the correct logic level.
Check this and lets us know what’s not looking correct.
I’d like to share with you some development at my end before i proceed to troubleshoot on your lines.
Whenever I send some data from X-CTU (thru Terminal >> Assemble packet), the power LED (red) on breakout board of my other Xbee (Arduino connected) blinks. Does that mean that it’s receiving data?
It blinks once for each packet i send.
But when I try “Serial.println(recvdByte)”, I don’t get anything.
The red power LED on the XBee Explorer board should never blink, it should on on and steady. If the red power LED is blinking check the power supply voltage.
The Green RSSI LED should come on for a few seconds when the XBee receives an RF packet including an ACK. The Green DIN LED should glow when data is send into DIN on the XBee and the DOUT LED should glow when the XBee receives Data and sends it out of its UART.
As to the Arduino code. By removing the XBees as I suggested in my last post you can ensure that the code is working correctly, or debug it without the complication of the XBees. I don’t write code for the Arduino so I don’t know how the Serial.println() function should work. Since there are a lot of people that do use Arduino there should be info on this.