Go Down

Topic: Basic XBee tutorial? (Read 587 times) previous topic - next topic

jbuchacher

Jan 02, 2012, 09:05 am Last Edit: Jan 02, 2012, 07:39 pm by jbuchacher Reason: 1
Hey guys. I just bought two XBees (series 1), and have had success with extremely basic serial
communication between the two, using arduino in between. I was reading a pseudo tutorial that shows you can actually communicate through only the XBees, without using an arduino. What I'd like to do as a learning experience is have a momentary switch wired to one xbee, and an LED on the same pin on the other xbee. When the button is pressed on the first xbee, it would light up the LED on the other xbee. I wired everything up and didn't seem to see anything happening. I haven't had a chance to troubleshoot it more, but I wanted to reach out and see if anybody knows of any really basic tutorials for something similar to what I'm trying to do.

Thanks in advance

PaulS

Quote
I just bought two XBees,

What kind?

Quote
What I'd like to do as a learning experience is have a momentary switch wired to one xbee, and an LED on the same pin on the other xbee. When the button is pressed on the first xbee, it would light up the LED on the other xbee. I wired everything up and didn't seem to see anything happening.

The appropriate pins need to be configured as input and output pins. How have you configured the XBees?

jbuchacher

Updated my question. Series 1.

The XBee config mirrors the config in this tutorial, http://www.faludi.com/classes/xbee1workshop/Light_Switch_XBee_Example_Project-Series_1.pdf

So I've got a breadboard with a momentary push button wired up, and that follows the same XBee config as the light switch in that tutorial. Then I've got a mini breadboard with an LED between AD0 and GND, following the same XBee config as the receiver in the tutorial. Attached are images of the switch breadboard, I honestly might just be thinking of the circuit improperly.


jbuchacher

Ouch, one of my breakout boards for my XBees is not functioning. I used my xbee explorer in place of the breakout board and it worked properly. Does anybody have a good picture of their soldered breakout board for XBee from spark fun?

http://www.sparkfun.com/products/8276


PaulS

Quote
Does anybody have a good picture of their soldered breakout board for XBee from spark fun?

I'd post a picture of mine, but, then I'd look like an idiot, since I soldered the pins on upside down. It still works, though, since there are no traces that run from one side of the board to the other.

Examine all of your solder joints under good light (and a magnifying glass if your eyes are as old as mine). Correct any that don't look perfect.

Quote
I used my xbee explorer in place of the breakout board and it worked properly.

Excellent!

jbuchacher

I had an extra XBee breakout board and was able to just solder a new one and get it and working properly. I feel dumb that it was just the board, but I am grateful because I learn so much more from troubleshooting every single aspect of the project until I realize it's the most fundamental part. Here's a really simple video showing what I was working with. An extremely basic XBee to XBee network without using an arduino (except as a power supply because I'm lazy). Thanks for the suggestions regardless!


Go Up