Looking for programming help. I have 3 XBee pro S2C (lets call them G, H1, and H2 just for labeling) modules. I am looking for 1 input on “G” to be an output on the other 2 “H1, H2”. Also I would like 1 input on the 2 to be and output on the 1. Here is what I am using.
I am using the sparkfun USB Explorer Board for each and the Beefcake Relay to be what needs to be switched on each.
XBEE “G” I have a button on PIN 11 (DI4) to ground (Input). I also have the Relay control on PIN 20 (DO 0).
Programming I have them on 802.15.4 TH Pro. Everything is default except. D0 is set to DO Low. D4 is set to DI. IC set to 10 (D4 Change detect).
XBEE “H1 and H2” I have wired the same. Button on PIN 20 (DI0) and Relay on PIN 11 (DO4). Programming I have them on 802.15.4 TH Pro. Everything is default except. D0 is set to DI. D4 is set to DO Low. IC set to 1 (D0 Change detect).
I have set G as coordinator and the other 2 as end points. I have set them all to end points. I Have even tried to just get G to connect to H1 by setting the destination on each and eliminating the H2 just to start. when I press the button I am getting an RSSI light on the receiving xbee. It is not activating the Relay though.
I have also set the DO to High and that manually turns the Relay on but it will not change the state.
Anyone have any advice for my stuck project and where I have messed up getting the output to change state?