Sending data from remote arduino to PC

Hi, I've one Arduino board connected with Xbee Shield and want to send data of Signal "H" and "L" for every 3 seconds to my PC. I've another Xbee on Xbee Adapter Kit connected to the PC. My aim is to transfer the data from the remote Arduino to the PC but I can't get it right. Neither the "Terminal" of X-CTU nor the "Serial Monitor" of arduino software show the signal from my remote Arduino.

My step for setting up the connection is as follow. Please help to correct me if I have done something wrong or left something:

  1. Put both the jumpers on Xbee Shield towards the usb (outwards position). Then attach it on top of Arduino, connect it to PC.
  2. Upload my program to Arduino with Arduino software.
  3. Unplug my Arduino from usb. Change jumpers positon towards the Xbee (inwards position).
  4. Connect the second Xbee serially to the PC via adapter kit.
  5. Configure the setting in X-CTU by changing the ID, DH, DL and BD (Interface Data Rate). Press the "Write" button (it's result is Writing...complete).

for your informaiton my program code on arduino is as follow:

const int ledPin = 13;

void setup()
{
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}

void loop()
{
digitalWrite(ledPin, HIGH);
Serial.print('H');
delay(3000);

digitalWrite(ledPin, LOW);
Serial.print('L');
delay(3000);
}

Do I need to add anything to this code to get the 2 Xbee communicate with each other?

These are all steps that I've done but I couldn't get the signal on "Terminal" and "Serial Monitor".

Hope that you can help to rectify my problem. Thanks!

Hope that you can help to rectify my problem.

There are series 1 XBees and series 2/2.5 XBees. It's important that you tell us which type you have.

I am using Xbee series 1 with power 1mW.

The XBee shield and the Arduino both have LEDs that light when data is sent. Are the LEDs flashing?

The XBee Explorer has an LED that lights when data is received. Is that LED flashing?

After connecting the arduino with 9V battery, LED on Xbee shield is blinking as usual. The LED with symbol L on Arduino board is blinking for every 3 seconds and it's due to the program that I had already uploaded. However the LED symbol TX on arduino is not blinking. I would have expected it to blink so that data can be sent from arduino TX to Xbee DIN.

And what do you mean with Xbee Explorer. I just have a Xbee with adapter connected serially to pc. The LED on the adapter board is always on when connected to USB regardless of whether there is a signal coming in or out.

Any idea of what is the problem? :-/

I just have a Xbee with adapter connected serially to pc.

What kind of adapter? Got a link?

It's an adapter from rabbit semiconductor, see the link:
http://www.rabbit.com/documentation/docs/appkits/ZigBee/ZigBeeGS.pdf
I just put the Xbee series 1 on RF Interface Module and connect it serially to PC.