I'm a high school student and for a class project, I'm making a smart bracelet system using two XBee's with Arduino Uno boards. Each module is programmed to send and receive messages to and from the other module. The problem is, one XBee is accurately sending, receiving, and reacting to messages and the other XBee is sending messages, but not receiving any. Both codes are below: the one that is having issues is XBee 300. Thank you!!
xbee100.ino (4.15 KB)
xbee300.ino (4.15 KB)
Are you downloading identical sketches to both Arduinos?
If not, switch the sketches, and see if the problem follows the sketches or follows the modules.
emmasummer:
The problem is, one XBee is accurately sending, receiving, and reacting to messages and the other XBee is sending messages, but not receiving any. Both codes are below: the one that is having issues is XBee 300. Thank you!!
My guess is that the problem is because the XBee 100 is not actually sending data to the XBee 300.
What happens if you make both programs identical?
Also, when you have wireless problems it is always a good idea to try a very short program - perhaps just send "hello" in one direction and "world" in the other direction.
...R
Robin2:
My guess is that the problem is because the XBee 100 is not actually sending data to the XBee 300.
What happens if you make both programs identical?
Also, when you have wireless problems it is always a good idea to try a very short program - perhaps just send "hello" in one direction and "world" in the other direction.
...R
The codes are practically identical, except for the required LDR value input, based on the fact that we used 2 different LDR's. It is possible that the XBee 100 isn't actually sending data to the XBee 300, but how could we test that/why would the 300 be able to send to the 100 with no problem?
Thank you so much for your reply!!
what are the xbees you are using ? S1 , S2 or S2C?
emmasummer:
but how could we test that/why would the 300 be able to send to the 100 with no problem?
I suggested a simple test - set them both to 100
...R