Show Posts
Pages: 1 ... 24 25 [26] 27 28 ... 35
376  Using Arduino / Networking, Protocols, and Devices / Re: Multiple Arduino Unos communicating via Xbee on: July 01, 2012, 04:15:39 pm
What board is the XBee plugged into?  According to the comments on the Sparkfun product page, there seems to be a problem with Sparkfun's shield and the UNO.
http://www.sparkfun.com/products/9976
377  Using Arduino / Networking, Protocols, and Devices / Re: Multiple Arduino Unos communicating via Xbee on: July 01, 2012, 01:36:53 pm
I didn't realize you were using series 2. I've never used those, so I doubt my sketch will work.  Sorry.
378  Using Arduino / Networking, Protocols, and Devices / Re: Multiple Arduino Unos communicating via Xbee on: July 01, 2012, 01:24:09 pm
I've never tried 64-bit addressing, but I have my XBees Series 1 working with 16-bit addressing.  I've attached two sketches and two X-CTU profiles.  If you load these profiles on your XBees they should work with the sketches.  In the Rx sketch it tells you the address of the transmitting XBee.  In the Tx sketch, you send data to a particular XBee, based on the MY address, not DL or DH addresses.

I hope this helps.
379  Using Arduino / Networking, Protocols, and Devices / Re: Arduino+XBee communicate with bare XBee? on: July 01, 2012, 12:32:47 pm
sorry, but I'm desperate here

I'll delete that post since is getting on your nerves obviously...chill out

I'm just trying to make it easier for everyone.  You're more likely to get a good answer by putting up a new post anyway. Also, Digi has pretty good support, you can actually get tech support on the phone if you want.  Here's Digi's support email address: rf-experts@digi.com

I don't really have any suggestions for your problem, but have you thought about just using 16-bit addressing instead of 64-bit.  It's a bit simpler.
380  Using Arduino / Networking, Protocols, and Devices / Re: Arduino+XBee communicate with bare XBee? on: July 01, 2012, 12:21:55 pm
I'd strongly recommend that you acquire "Wireless Sensor Networks" by Rob Faludi. It is an excellent resource for using XBees in AT or API mode, and configuring them to read I/O pins, etc.

The book applies specifically to Series 2 radios, but most of the examples and exercises work equally well with Series 1 radios.

I'd heard about that book, but I didn't get it because it's mostly about Series 2 XBees.  But if a lot of the Series 2 examples apply to Series 1, I think it's worth getting a copy.
381  Using Arduino / Networking, Protocols, and Devices / Re: Arduino+XBee communicate with bare XBee? on: July 01, 2012, 12:17:14 pm
bakenzilo,

Since your questions is a lot different then the topic of this thread, It would be better if you started a new post instead of hijacking this one.  It just makes it confusing.
382  Using Arduino / Networking, Protocols, and Devices / Re: Leonardo + Ethernet R3 - need ICSP connector? on: June 30, 2012, 10:14:04 pm
Thanks for the link to the proto shield. 
383  Using Arduino / Networking, Protocols, and Devices / Re: Arduino+XBee communicate with bare XBee? on: June 30, 2012, 10:11:08 pm
I want to connect some sensors to the input pins on the 3rd XBee (the one without an Arduino).  From my other XBee which is on an Arduino, I want to read the values of the input pins on the 3rd XBee.
384  Using Arduino / Networking, Protocols, and Devices / Re: Arduino+XBee communicate with bare XBee? on: June 30, 2012, 08:29:52 pm
I didn't mean to imply that I wanted xhee.h running on the 3rd XBee, I understand that doesn't make sense since it's not connected to an Arduino.  What functions in the xbee.h library would let me read the input values on the 3rd XBee?
385  Using Arduino / Networking, Protocols, and Devices / Re: Leonardo + Ethernet R3 - need ICSP connector? on: June 30, 2012, 10:39:28 am
I read that, but I wasn't sure if the Arduino can use the digital I/O pins to communicate with the Ethernet shield.  On the Ethernet shield page it says:
Quote
Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 11, 12, and 13 on the Duemilanove and pins 50, 51, and 52 on the Mega.

I found this a bit confusing.  I wasn't sure if the Leonardo can communicate on pins 11-13 or not.  I just took a look at the Ethernet shield schematic and it doesn't look like pins 11-13 are connected to anything, so I guess you have to use the ICSP header only to communicate with the Ethernet shield.
386  Using Arduino / Networking, Protocols, and Devices / Arduino+XBee communicate with bare XBee? on: June 30, 2012, 10:12:56 am
I've got two XBees Series 1 (API mode) each connected to an Arduino and I can get them to communicate using xbee.h library.  I'd like to add a 3rd XBee to the mix that is not connected to an Arduino and it has some sensors connected to it's inputs.  Is this possible?  Are there functions in the xbee.h library that would let me read the inputs on the 3rd XBee?
387  Using Arduino / Networking, Protocols, and Devices / Leonardo + Ethernet R3 - need ICSP connector? on: June 30, 2012, 10:07:45 am
I have a Leonardo board I'm using with an Ethernet shield R3.  They work fine together, but if I put a proto shield in-between them it doesn't work.  I'm guessing that it doesn't work because the ICSP connector on the Ethernet shield doesn't plug into anything in this configuration.  Would the ICSP connector cause this problem?  If so, how do I get the shield to work without using the ICSP connector?
388  Using Arduino / Networking, Protocols, and Devices / Re: xBee.h doesn't compile with leonardo - Serial problem on: June 26, 2012, 06:37:24 am
That worked, thanks!
389  Using Arduino / Networking, Protocols, and Devices / Re: xbee Coordinator - is this Tx or Rx on: June 25, 2012, 09:15:10 pm
I just did some more testing and realized it doesn't matter, either XBee and transmit and receive. 
390  Using Arduino / Networking, Protocols, and Devices / Re: xBee.h doesn't compile with leonardo - Serial problem on: June 25, 2012, 08:02:32 pm
I made the change and made sure I closed then re-opened the Arduino IDE, but my sketch didn't compile when I selected the Leonardo board.  I got this error:

/Volumes/srg/Arduino Sketches/libraries/XBee/XBee.cpp: In constructor 'XBee::XBee()':
/Volumes/srg/Arduino Sketches/libraries/XBee/XBee.cpp:774: error: cannot convert 'Serial_*' to 'HardwareSerial*' in assignment
Pages: 1 ... 24 25 [26] 27 28 ... 35