3 XBees connection

Xbee projects like the adapter, xbee tutorials, tweetawatt/wattcher, etc. purchased at Adafruit

Moderators: adafruit_support_bill, adafruit

3 XBees connection

Postby Orand » Sat Feb 23, 2013 6:17 am

Dear Forum members,

I have been trying to connect 3 XBees series 1 for the last few days with no success.
I tried line passing method with 2 XBees and it worked but not for 3 XBees. Let me describe what I am trying to do.
I have three sensors (touch, tilt and force). The touch sensor is connected to XBee 1 and an Arduino Duemilanove and the other two sensors (tilt and force) are connected to XBee 2 and one more Arduino Duemilanove. I am trying to send signal from these two XBees to XBee 3 connected to a computer which is acting as an end receiver . The three sensors status will be either ON or OFF.

For the tilt and force sensors, I can have 'a', 'b', 'c' and 'd' based on the truth table shown below.

Force | Tilt | Output XBee 2
---------------------------------------
0 | 0 | a
0 | 1 | b
1 | 0 | c
1 | 1 | d


I am thinking to send the four characters (a, b, c, and d) from XBee 2 to XBee 1 connected to touch sensor to make this truth table.

Touch | Output XBee 2 | Output XBee 1
------------------------------------------------
0 | a | no output
0 | b | move motor
0 | c | move motor
0 | d | move motor
1 | a | no output
1 | b | no output
1 | c | no output
1 | d | no output


Then, I wish to send the output of XBee 1 to XBee 3.

Question: How can I connect these three XBees? Should I make XBee 1 to talk just to XBee 2 and XBee 2 to just talk to XBee 3?

I would appreciate any feedback and assistance very much. Thank you very much.
Orand
 
Posts: 2
Joined: Wed Mar 21, 2012 7:25 am

Re: 3 XBees connection

Postby adafruit_support_rick » Sat Feb 23, 2013 10:07 am

Sounds like you might need a mesh topology? You might have better luck with this question over at the Digi XBee forum
User avatar
adafruit_support_rick
 
Posts: 2895
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY


Return to XBee products from Adafruit

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]