Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Sending data from remote arduino to PC

Status
Not open for further replies.

coolrox86

Junior Member level 1
Junior Member level 1
Joined
Apr 8, 2010
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,430
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).

These are all steps that I've done but I couldn't get the signal on "Terminal" and "Serial Monitor". There is certainly no error on my program as I could get the signal from Arduino if I connect it (with jumpers inwards) back to the PC.

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

Added after 28 minutes:

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?
 

i have the same problem plz help me if you find any solution :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top