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. 





Link to post
Share on other sites
  • 2 weeks later...

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.

Link to post
Share on other sites
  • 1 month later...
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...