Go Down

Topic: Lilypad Xbee Hookup? (Read 2249 times) previous topic - next topic


May 24, 2009, 04:27 am Last Edit: May 24, 2009, 09:16 pm by jezuz Reason: 1
Does anyone know how one has to hook up an lilypad xbee shield to an lilypad module to only send serial messages (something like the physical pixel modification described here: http://arduino.cc/en/Guide/ArduinoXbeeShield)

i found a site that tells you to hook up all the wires (i think), but its sort of confusing, and I don't want to mess with that much sewing... so really my question is if it is alright to only hookup the tx/rx pins from the lilypad itself to the lilypad xbee shield, or do i need all the pins hooked up?


Ok, so apparently no one has ever answered this question in the recent history of this forum (ive checked, im not the first to not get a response), so let me ask this in other words - is it possible to send messages between to arduino 2009's using xbee's hooked up only by their +, -, tx and rx pins?


Absolutely. Power, ground, tx and rx are all you need for serial communication.


Yes - for a basic serial connection between the Arduino and XBee Lilypads, the 4 connections are:



This is assuming you have a 3.3V power source connected to the 3.3V pin on the Lilypad XBee OR a larger, unregulated voltage connected to the + pin on the Lilypad XBee.



I'm having trouble with the same problem.  All my components are Lilypad and I'm trying to get the most basic of communication flowing at the moment, but nothing's happening.

The sending circuit is set up as follows: main board tx to xbee rx, main board rx to xbee tx, main board power (+) and ground (-) to power supply power and ground, and xbee power (NOT the 3.3v pin) and ground to main board power and ground.

The receiving circuit is set up in the same manner.  The coding on both are from the Physical Pixel example: http://arduino.cc/en/Guide/ArduinoXbeeShield.  What am I doing wrong if it's not working at all?

If it helps, I've got series 1 and 2 xbees, with the series 2 configured to one as a coordinator and the other and an end device.  I've tried both without any luck.  Which one is more suitable for this example?

I've seen so many example showing xbee's being used but there is always a module connected to a computer.  For my actual project, I need one soft circuit sending data to another soft circuit where the data is interpreted.  Are there any particular requirements for this?



What power supply system are you using? The XBee needs to get enough current from the source, something that too small a supply and/or resistance from conductive thread may be preventing.

Properly configured Series 1 or Series 2 hardware will work fine with the XBee Lilypad.


My power supply is the Lilypad power supply for a AAA battery (http://www.sparkfun.com/commerce/product_info.php?products_id=8466).  

The conductive thread that I have and will eventually be using is 234/34 4ply (http://www.sparkfun.com/commerce/product_info.php?products_id=8549).  Will this be ok?

Properly configured Series 1 or Series 2 hardware will work fine with the XBee Lilypad.

The configurations I have on each set both bounce letters back when I send something through x-ctu terminal and have the tx/rx pins shorted.  Would this be considered as "properly configured"?  Is there anything else that needs to be done for them to work more effectively?



Try with wires (alligator clips work well to temporarily jumper the connection) and see if that helps. Not sure what bouncing back letters means....


I have been connecting them with alligator clips at the moment.  Don't want to use any of the conductive thread until I have it all working.

Not sure what bouncing back letters means....

I have the coordinator xbee connected to a PC running x-ctu and the end device xbee set up on a lilypad breakout board with power and ground connected to the lilypad power supply and the tx/rx pins shorted.  From this setup, when I type something the in x-ctu terminal, the same thing comes back.  I have the post on my current design blog (http://sdat8455.livejournal.com/) if it will make it clearer.  Images are provided too.

Could there be anything else that I'm overlooking?


In general, what you describe should be working. I'm assuming that you have code on one Arduino that is bringing a pin high and low when it *receives* "H" and "L" over the serial port. And code on the other Arduino that sends an "H" and "L" to the first one. That's right?

By the way, noticed this on your blog:
The Xbee configuration has proven to be a challenge, especially as there aren't that many good tutorials on setting up the series 2 Xbee's.

As it happens, I'm writing a book about Building Wireless Sensor Networks that's focused on the XBee Series 2 hardware. Early chapters are available now on O'Reilly Rough Cuts: http://oreilly.com/catalog/9780596807740


I'm assuming that you have code on one Arduino that is bringing a pin high and low when it *receives* "H" and "L" over the serial port. And code on the other Arduino that sends an "H" and "L" to the first one. That's right?

Yes, that's what I've got.  As I would prefer to use my series 2's (the series 1's are on loan from my university faculty), I have the LP-Arduino with the coordinator xbee sending the H and L and the other LP-Arduino loaded with the receiving code and connected to the end device xbee.  Is this set up correct (i.e. the coordinator at the sending end and the end device being at the receiving end)?

Also, if you got a chance to see the video tutorial of setting up series 2 xbee's on my design blog, could you please confirm if that setup is "properly configured"?

Thank you so much for your help!  I really appreciate it.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131