Thanks! My last question about the xbee then is this from what I have found the series 1 is for point-to-point ie(2 xbees communicating) and the series 2 is for multiple xbees communicating. Would it be possible to connect 2 xbees to one mega. I want to use an xbee for a wireless controller similar to the arbotix wireless controller () but I am also planning on a xbee wireless serial connection to recieve inputs from a computer hooked too a laptop. Therefore I onlt need 2 xbees commuicating to each other.
Yes this is entirely possible. The Arduino mega board has 3 built in sets of serial communication pins if I remember correctly. You can have the first set of pins for uploading code, the 2nd set for 1 xbee and the last set for the 2nd xbee.
If this isn't possible would I then need to get the series 2 so that all can talk to each other and the laptop and controller xbees will just ignore each other based on tags but on the signals? Thanks for all the help too I really appreciate it. I have been planning this project for a long time now and since the budget isnt huge I am trying to avoid unnessecary spending by getting components I am sure will be able to work together.
You might want to look into the Xbee documentation as there is a good amount of information on fine-tuning Xbee configurations to better suit your needs. Using XCTU you should be able to configure the xbees as such:
laptop xbee with [MY:1/DL:2]
arduino xbee [MY:2/DL:1]
pc xbee [MY:1/DL:2]
This would allow your arduino xbee to receive commands from both the laptop and pc and send to both the laptop and pc but the laptop and pc would only communicate with the arduino.