I have this application where I want to send commands from the PC to an Arduino, remotely, and receive an answer back.
The hardware configuration I'm using to achieve that is the following:
PC <--> Arduino with an Xbee <--> Another Arduino with another Xbee
It's just half-duplex communication. Everything seems easy, but there is a problem.
Each Arduino has an Xbee Shield with an Xbee module connected to it. Reading the documentation of the ArduinoXbeeShield, an excerpt caught my eye:
"With the jumpers in the Xbee position (i.e. on the two pins towards theinterior of the board), the DOUT pin of the Xbee module is connected to the RX pin of the microcontroller; and DIN is connected to TX. Note that the RX and TX pins of the microcontroller are still connected to the TX and RX pins (respectively) of the FTDI chip - data sent from the microcontroller will be transmitted to the computer via USB as well as being sent wirelessly by the Xbee module. The microcontroller, however, will only be able to receive data from the Xbee module, not over USB from the computer.
With the jumpers in the USB position (i.e. on the two pins nearest the edge of the board), the DOUT pin the Xbee module is connected to the RX pin of the FTDI chip, and DIN on the Xbee module is connected to the TX pin of the FTDI chip. This means that the Xbee module can communicate directly with the computer - however, this only works if the microcontroller has been removed from the Arduino board. If the microcontroller is left in the Arduino board, it will be able to talk to the computer normally via USB, but neither the computer nor the microcontroller will be able to talk to the Xbee module."
That means I will not be able to build what I want with this configuration? I already tried, but didn't work.