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?

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?

What functions in the xbee.h library would let me read the input values on the 3rd XBee?

Perhaps the issue is that you need to re-word this question. You can't do anything ON the 3rd XBee, since you can't change the programming on the microcontroller on the XBee.

If the 3rd XBee is operating in API mode, the packets that it sends can be read using the XBee library, and packets that the XBee library formats, that the Arduino sends, can be understood by that XBee.

I want to connect some sensors to the input pins on the 3rd XBee (the one without an Arduino).

OK. Go right ahead.

Quote

From my other XBee which is on an Arduino, I want to read the values of the input pins on the 3rd XBee.

It doesn't work that way. The 3rd XBee needs to read the values of the pins, and broadcast them. One or the other of the other XBees receives the packets sent by the 3rd XBee and needs to decode them to determine what the 3rd XBee found the pin states to be.

This is almost entirely a configure-the-XBees-correctly issue.

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'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.