XBEE2 and XBEE Shield and Communicaiton

Hello,

I’ve been using Arduino for years, however I have never used XBEE. I’m trying to send messages from one Arduino to another Arduino using XBEE. I’m currently using two UNOs, two shields, and two XBEE2s.

Shields: http://wiki.iteadstudio.com/XBee_Shield#Wireless_Arduino_program_upload_by_XBee

XBEEs: https://www.sparkfun.com/products/10414?gclid=Cj0KEQiA0-GxBRDWsePx0pPtp4sBEiQACuTLNvSFGDOm5U1893kJKBx_SXjK14ah9laWss9YrhLjQH4aAn0c8P8HAQ

I’m aware that there are a lot of tutorials, all a little different. I’m just looking for some guidance and pointers to get going in the right direction, because it’s easy to go off track if your not familiar and don’t know the right questions to ask.

Lastly, once I figure it out I’ll post how I did it so others so this can be a guide for others as well.

Regards,

Chris

It would be easier to answer specific questions.

To get two XBees to talk to each other, they need to be configured, despite the horseshit that digi.com puts out that says they don't. The SH and SL values of one are its address. The DH and DL values are those of the device it is to talk to. So, you need to get the SH and SL address of one XBee, and make them the DH and DL value of the other XBee.

Using mesh network models for point to point communication is a waste of money, but it can be done.

Paul,

Thanks for getting back to me. I'm currently trying to configure my Xbees with XCTU like you said. In your opinion what would be a better form of wireless point to point communication between two Arduinos? Since you say mesh network models are a waste of money.

Thanks,

Chris

Depends on the range you want?

But for point to point:
Bluetooth
NRF

Since you say mesh network models are a waste of money.

Digi makes series 2 models that are for forming mesh networks. They also make series 1 models that are for point to point communication. The series 1 models are easier to configure and generally cost less than the series 2 models.

Thanks for all of the advise everyone, I got the communication working.

I used this as a tutorial and for programming the two Arduinos: Xbee communication between two arduinos

These links all helped me configure the XBEE2's in XCTU

Youtube Videos that helped
Configure Series 2 XBEEs using XCTU: Configure Series 2 XBEEs using XCTU - YouTube
XBEE - S2 SENDING DIGITAL DATA WITHIN API FRAME: XBEE - S2 SENDING DIGITAL DATA WITHIN API FRAME - YouTube

Documents
XBee Shield Hookup Guide XBee Shield Hookup Guide - learn.sparkfun.com
Exploring XBees and XCTU RETIRED https://learn.sparkfun.com/tutorials/exploring-xbees-and-xctu-retired