Xbee Configuration

Hi,

I've been doing a lot of reading on Xbee and I was wondering if it is possible to program a pair of Xbees to operate as mirrors of each other. What I mean by this is can I have a local Xbee mirror the remote Xbee's digital, pwm or analog pin readings or states? Ideally, I would have an Xbee shield on my 2560 and when I read A0 for example, I would see the value of A0 on the remote Xbee. I'm trying to avoid using the API mode and having to decode data.

Maybe someone can point me to some examples or reading.

Thanks...Jon

I'm trying to avoid using the API mode and having to decode data.

Use Andrew Rapp's XBee library, then.

Ideally, I would have an Xbee shield on my 2560 and when I read A0

A0 on the XBee or A0 on the Mega?

I would see the value of A0 on the remote Xbee.

See it how, where, doing what?

Maybe someone can point me to some examples or reading.

Rob Faludi has a good book - Wireless Sensor Networks. All about XBee, even telling what kind to use,, unlike you...

Okay, let me try to ask this in simpler terms. Forget the arduino, can I program a pair of Xbee's so that the pin states on one will be mirrored on the other?

Jon

can I program a pair of Xbee's so that the pin states on one will be mirrored on the other?

Yes.

That's good news! Can you provide any specific assistance, links or other information I might use to learn how?

Can you provide any specific assistance, links or other information I might use to learn how?

Yeah. Rob Faludi's book belongs on your bookshelf.

API mode is a significantly better approach. Invest the time to learn it and you'll thank yourself later. Andrew Rapp's library, as Paul mentioned, makes it easier.