Society of Robots - Robot Forum

Software => Software => Topic started by: Cornelam on October 21, 2008, 08:32:34 AM

Title: XBEE question
Post by: Cornelam on October 21, 2008, 08:32:34 AM
I've just bought two Xbee Series 2  modules and what i'm supposed to do next?
Can i simply connect one module to the microcontroller (TX,RX,VCC,GND) and the other to the other microcontroller the same way, and everything will work??
Thanks in advance!
Title: Re: XBEE question
Post by: ArcMan on October 22, 2008, 07:51:25 AM
I haven't built the circuit yet, but I've studied the XBEE modules and purchased them...

Yes.  It's as simple as that.  The one consideration is the signal levels.  The XBEE runs at 3.3V.  If your micro is 5V, you'll need to do some level shifting.  I believe Sparkfun has the circuit documented.  I bought my carrier boards from them.
Title: Re: XBEE question
Post by: Cornelam on October 23, 2008, 07:05:34 AM
I read somewhere that you can use 5v uart with the xbee with no problems, is that wright?
And also you must command the xbee to use a specific network which both of them should be using so it's a bit more complicated then simply turning on the modules and everything will work.
Title: Re: XBEE question
Post by: ArcMan on October 23, 2008, 07:44:58 AM
Good to know.

This information should reduce my frustration level when I actually try it.  :)
Title: Re: XBEE question
Post by: Admin on October 27, 2008, 07:54:57 AM
Quote
I read somewhere that you can use 5v uart with the xbee with no problems, is that wright?
datasheets:
http://www.societyofrobots.com/robot_faq.shtml#read_datasheet

 ;D