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

I am about to get started with trying to make 2 arduino communicate.
I have ordered":

2 of XBee 1mW Chip Antenna
http://www.sparkfun.com/commerce/product_info.php?products_id=8664

2 of XBee Explorer Regulated
http://www.sparkfun.com/commerce/product_info.php?products_id=9132

is it enough it get started?
I have read some article and they seems to used to xbee shield as well as the explorer regulated. Do I need the xbee shield as well?

I have seen some examples with xbee series 2, is it the same as series 1?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 80
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could go that route but if you look close at a photo of the regulated, there are no headers to expose power and i/o, so you'd need to get some and solder them on.  You would also need a breadboard or female/male jumpers to interface the two.

If you are using arduinos (shield compatible), I'd go with xbee shields http://www.nkcelectronics.com/freeduino-arduino-xbee-shield-kit.html (assembly required).  About the same cost and they interface much nicer.  NKC also sells XBees.

You may also want one of these for upgrading xbee firmware http://www.nkcelectronics.com/xbee-explorer-usb.html , which you'll likely want to do as they typically ship with old firmware.

Either series 1 or 2 will work but series 1 are easier to work with and a better choice for point to point.
« Last Edit: November 20, 2009, 11:27:14 pm by rappa » Logged

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

The series 1 and series 2 radios are designed for completely different purposes. To get 2 Arduinos to talk to each other, you want the series 1 radios.

The xbees use odd pin spacing, so you need the shields. Sparkfun has them fully assembled:
http://www.sparkfun.com/commerce/product_info.php?products_id=9063
Logged

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

So if I am working on breadboard, do I still need to do some soldering with XBee Explorer Regulated ?? Or just jumper is enough ??

What did the shield do ?? Does the regulator act similarly to the shield and if I have the regulator do I still need the shield, since I already order them T-T.

Do you have any sample of how to set up two arduino with two xbee to communicate?? And do I need the xbee explorer to do initial setup or something like that??

I am wondering whether I still need to order in some more parts or not.

Thank you for you advice !!!
Logged

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

The shield connects the Xbee to the Arduino. The explorer does not.

By soldering some headers onto the explorer, you make the xbee pins available to be connected to, on a breadboard. Without the headers, there is nothing to attach the jumpers to.

The regulator connects the xbee directly to the serial port on the PC, but provides no way to connect the xbee to the Arduino.

Using the explorer is the easiest way to perform the initial setup of the xbees. They are programmed from the PC. Theoretically, they can be programmed by connecting a xbee to a shield connected to an Arduino board from which the ATmegaXxx chip has been removed.

I'd say that, at a minimum, you will need either some headers and a soldering iron, or the xbee shields.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 80
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't bother with the xbee regulated.  You don't need it.  All you need is 2 XBee shields.  They are available in a kit, or assembled for a bit more.  The shields expose arduino i/o pins, provide 3.3 power, and link serial comm. between arduino and xbee.

The xbee explorer will make it easier to configure the xbee with x-ctu and upgrade firmware. You can configure xbees via arduino sketches, or even unchip an arduino and use it like an xbee explorer.

There's a ton of examples out there.. just use the search button smiley
Logged

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

Unfortunately for me T-T, I have already bought 2 regulated and is now stuck with it. Is it possible for me to upgrade with firmware through it??
Or do I need the explorer for that??If so I might consider buying at least one of the shield and use it as explorer.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 80
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ahh.. didn't realize you bought them already.  don't worry, it'll still work.  As I said before, you need to solder some headers on the regulated to access the xbee pins.  then power the board from arduino 5v and connect rx/tx and ground.

You can use an unchipped arduino to configure the xbee with x-ctu.  Firmware upgrades require rts/cts (which neither arduino or xbee regulated expose), so you really need an xbee explorer, but you are probably ok with the default firmware.

Logged

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

Ahha, cool.
Thank you again for your advice, since I can now wait for them with no worry.  smiley-wink Hope it will be in by next week so I have some time to mess thing up  ;D

This is what I plan to do with it
http://www.damonkohler.com/2008/11/xbee-znet-25-wireless-accelerometer.html
But instead of sending data to PC I will send it to another xbee.
http://www.faludi.com/itp_coursework/meshnetworking/XBee/XBee_example.html
So probably try to just connect them with LED first.


Logged

Pages: [1]   Go Up
Jump to: