Jump to content

Launchpad with Xbee

Recommended Posts

I am new to Launchpad and Xbee. My goal is to create a sensor network. Right now, I am stuck at trying to get an xbee pro S3B attached to a Launchpad communicating to another xbee pro S3B in X-CTU on the computer. The second xbee is attached to the computer using Sparkfun's Xbee Explorer USB. 


X-CTU: the xbee connected to the computer is configured as a Non-Routing Coordinator on Network ID AAA. The Launchpad xbee is configured as a Standard Router with the High and Low Destination Addresses set to the high and low addresses on the Non-Routing Coordinator. The Network ID is also set to AAA. All other parameters are left to the default settings.


The Launchpad connected xbee has pin 1 connected to an external 3.3 volt source. Pin 2 (data out) is connected to the Launchpad P1.1 pin. Pin 3 (data in) is connected to the Launchpad P1.2 pin. Pin 10 is connected to ground. Both the xbee and Launchpad are powered by the external 3.3 volt source with the same common ground. 


Also to note, the UART RX and TX pin jumpers have been rotated 90 degrees. 


The launchpad is loaded with the energia program:


void setup() {
void loop() {


In the serial monitor program, it displays "Hello" every second when the baud rate is set to 4800 baud. At 9600 it prints funky symbols.


When I open X-CTU and start the range test I receive the "Timeout waiting for data" message. I also receive nothing in the Terminal tab. 





Share this post

Link to post
Share on other sites

little late to the game, but seeing that I'm working on this very same project with the same hardware, I might be able to chime in.


It seems like you have the wrong baud rate set if you get chars at 4800 baud but not 9600 baud.  I think you need to sort this out first...maybe ask on the energia forum.  Out of the box, the xbee radios are set to work with 9600 baud.


As for the range test in X-CTL...it assumes that the remote radio is in loop back mode.  So to run a successful range test, the remote radio needs to have DI and DO bridged.

Share this post

Link to post
Share on other sites

hello all !!


how i can see if the CC2530 Zigbee module are comunicated ? i need some examples for that. 
I try with anaren's temperature code example (in CCS v6) but in Energia v17 (copy-paste), NO RESULTS. !!!

how i can do this ? please.  

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now