Hi all, I was searching around the internet/ forums and was wondering how to communicate between two arduinos (mega, and duemilanove) with xbee. I was not able to find anything except how to do it between a computer and an arduino, but not arduino to arduino... This is a follow up from here:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1291601530/5#5, but back then I only had one. I have a few questions: How would I go about doing this? What type of xbee would I use? (I only need to communicate across my house) Im very new to Xbee so what code for the arduino and the xbee (if it uses code) would I need? Im trying to send the information of one SHT15 (which uses I2c) to another arduino.
Sorry if this is confusing, I haven't written much on these forums..
On the transmitter: Wire up volts and ground to arduino's 5V and GND. Data pin to digital pins, ant. blank. Simply output what you want to broadcast on the data pin.
On receiver: same thing. Just note that there are duplicates of the data, gnd, and volts pins. and an antenna if you like.
MAKE SURE YOU BUY THE RIGHT FREQ. (must be the same).
Lazy companies. It's probably cheaper to have multiple pins that YOU tie together than they tie together. Remember, they are trying to sell the cheapest product. An extra centimeter of traces may raise the price by a fraction of a cent, which, for millions of parts, and thousands of workers, costs them a lot. Just ignore it. you can probably even leave it unconnected.
Read the comments for each one and find the one that everyone seemed to like best. I know that some of them have lots of noise if they don't receive a transmission. Others are out of stock. So find on you like. Frequency probably wont matter much, unless you have internet or some other wireless oerating on the same freq. (probably not, but check anyway.
Baud rate is the speed, so a high baud rate is faster.