I’m hoping someone here can help me out. I have a Seeed Relay Shield and an XBee Series 2. I’ve looked all over the internet and this forum to try to figure out how to operate the Xbee on the relay shield. I would like to control the relay shield with an xbee on it, by using another xbee connected to a computer and without the use of an arduino.
The wiki shows that you can do this, but if you go to the code that is provided, it is arduino code. This doesn’t make any sense to have arduino code if you are trying to operate two xbees without the use of an arduino.
Here’s what I have: I have two Xbees communicating through the X-CTU terminal. One is the coordinator the other is a router. They are in AT mode. I can change the settings of the digital IO pins for each Xbee independently without any problems.
What I don’t know is how to change the state of a digital IO pin through the coordinater using my computer to be able to turn one of the relays on. I looked through the code for the arduino that is provided in the wiki, but I don’t see exactly how it is sending the message to tell the relay to turn on.
In a nut shell, how can I use my computer to operate the coordinator and tell the router attached to the Relay Shield to turn the relays on and off?