XBee 5V/3.3V Adapter Board REV B + arduino mega + xbee zb doesn´t work?????
Juci
Posts: 3
Hello,
I am tried a basic project, which I need to control a led remotly. I have 2 xbee AT modules, 1 arduino mega 2560 and a led to do it. I liked the D18 and D19 ports of the arduino to DIN and DOUT of the xbee router respectvly. I have tested just the arduino without xbees and it works., I have tested the communication of the two xbee modules by X CTU and it is fine. However, when I try to command by XBEE coordenator a order to arduino by XBEE router , it doesn´t work. Have I used a wrong adapter? Or somebody have a solution?
Thank you,
I am tried a basic project, which I need to control a led remotly. I have 2 xbee AT modules, 1 arduino mega 2560 and a led to do it. I liked the D18 and D19 ports of the arduino to DIN and DOUT of the xbee router respectvly. I have tested just the arduino without xbees and it works., I have tested the communication of the two xbee modules by X CTU and it is fine. However, when I try to command by XBEE coordenator a order to arduino by XBEE router , it doesn´t work. Have I used a wrong adapter? Or somebody have a solution?
Thank you,
Comments
You are using Serial1, so try using Serial3 which is 15 for RX and 14 for TX.
Pin 15 is on the list for RX.
https://www.arduino.cc/en/Reference/SoftwareSerial