Pages: [1]   Go Down
Author Topic: Multiple XBee 802.15.4 Communication.  (Read 1506 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am trying to send two potentiometer values connected to two arduinos to a laptop.
So i am using Xbee 802.15.4 (Series 1) modules for the purpose.

My setup is as follows:

Transmitter:
ArduinoTx (Pin3 NewSoftSerial) ===> XbeeDin     //Using NewSoftSerial to avoid conflicts with USB as i am not using the Xbee Shield
Arduino3V3 ===> XbeeVDD
ArduinoGND ===> XbeeGND
Arduino Powered using Laptop's USB port

Laptop:
Xbee connected to FT232 Xbee Adapter Board

My Xbee Configurations:

Quote
ArduinoXBEE
(XB24, 802.15.4, 10E8)
ID = 9898
DH = 0
DL = 1
MY = 2
BD = 5 (38400)

LaptopXBEE
(XB24, 802.15.4, 10E8)
ID = 9898
DH = 0
DL = 0
MY = 1
CE = 1 (Cordinator Enable)
BD = 5 (38400)

It worked for the first time. But when i powered off both arduino and laptop's xbee, it does not work.
I tested the same setup with my other Series 2 modules and it works.

Is my above Xbee configuration correct ?

Any help will be appreciated.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The MY address on one XBee must match the DL address on the other XBee. So, no, your configuration is not correct.

Change the laptop's XBee's DL value to 2.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Paul. I have re-configured the laptop's XBee by changing the DL value to 2.
But unluckily it does not work.

I Google-d about this issue and found the following project:

http://www.kobakant.at/DIY/?p=270

The configuration is pretty same as of mine, unlike i am using XBee's in transparent mode.

Any more suggestions ?

Regards,
Aadeesh
Logged

Hamburg, Germany
Offline Offline
Sr. Member
****
Karma: 6
Posts: 291
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i haven't used any series 1 xbees but why is on the one module low address (DL) =1 and on the other 0?

markbee
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@markbee
It is because Xbee with DL=0 (Coordinator) should listen to multiple End Devices in range.
Logged

Pages: [1]   Go Up
Jump to: