I'm hoping someone can do a sanity check for me as to if what I want is possible, and a big plus if anyone could point me to some examples (I have been unable to find any, but maybe my search terms).
Essentially I want 1 Arduino to control multiple xbee's (S2), I'm just interested in the PWM (any pin example would be fine if available) but want to identity the different xbee's. So a button press on the Arduino would turn on an LED on one xbee only, and another button would turn on the other xbee's LED (another button might do both etc).
I have worked out how this could be possible using serial if I used Arduinos on each point, but feel im just missing something small to do it direct to an xbee node.
Appreciate any suggestions, but even a yes or no on its possibility would be great!
Essentially I want 1 Arduino to control multiple xbee's (S2),
Sending data to multiple XBees is possible. Only digi.com can control what the XBees do with the data.
but feel im just missing something small to do it direct to an xbee node.
What you are missing is not something small.
What you are missing, or not telling is, is how the XBees are configured and what is attached to each XBee.
It is possible to use Andrew Rapp's XBee library to send data, in API mode, to specific XBees, and have them enable specific pins (including PWM pins). Building Wireless Sensor Networks, by Robert Faludi is a good resource.
Thanks I will try and see if I can find that book.
Sorry if it was not clear, the xbees would just have an LED connected (as simple as that) to to the PWM pin. I assume the Arduino connected xbee would be set as coordinator and the others as router.