The XBee uses Asynchronous serial so must be connected the the UART pins on the Arduino. These are the TX & RX pins of the ‘XBee Explorer Regulated’ board. There may be jumpers on the Arduino board to switch the UART pins from the USB chip on the Arduino board to a header. See the schematic and documents for the Arduino.
waltr:
The XBee uses Asynchronous serial so must be connected the the UART pins on the Arduino. These are the TX & RX pins of the ‘XBee Explorer Regulated’ board. There may be jumpers on the Arduino board to switch the UART pins from the USB chip on the Arduino board to a header. See the schematic and documents for the Arduino.
Ok thanks that makes sens ,but what are those pins on the breakout board, because there are no pins labled RX,TX
I also wanted to know can I just connect the 5v connector the the pin labeled 5v with out frying the whole thing.
On the BoB ‘DIN’ could be called RX and is the serial data input to the XBee. This connects to the Arduino’s serial output.
‘DOUT’ could be called TX and is the serial data output from the XBee. This connects to the Arduino’s serial input.
It just a matter of naming and I use TX/Rx more than Din/Dout.
These are on connector JP4.
The 5V on JP4 is the 5V input to the voltage regulator. You apply ~5V to this pin to power the XBee (could be from the Arduino’s +5V). Be sure to also connect the GND pin to the ground of the Arduino.
waltr:
On the BoB ‘DIN’ could be called RX and is the serial data input to the XBee. This connects to the Arduino’s serial output.
‘DOUT’ could be called TX and is the serial data output from the XBee. This connects to the Arduino’s serial input.
It just a matter of naming and I use TX/Rx more than Din/Dout.
These are on connector JP4.
The 5V on JP4 is the 5V input to the voltage regulator. You apply ~5V to this pin to power the XBee (could be from the Arduino’s +5V). Be sure to also connect the GND pin to the ground of the Arduino.
Thanks for the help I am now sorted out and my code works 100% .