I'm working with my Signals HW V1. I tried to use the Xbee modules to send the data of sensors but the modules of xbee are not working. I tried a basic exemple( light lamp of arduino ) to verify if they are ok or not but no result. The 2 modules could not send or receive data. When i used other Xbee modules they work fine. Does that mean my Xbee modules are defective ? Have you got any solutions to solve this problem ?

To verify if my Xbee modules work or not i used two arduino board without Mysignals shield (a transmitter and a receiver) but no result, no data transmitted. I changed the role of the 2 modules (the transmitter become the receiver and the receiver become the transmitter ) but no result also. Is the problem with the Xbee modules ? Are they defective ?

I tried to follow the tutorial to configure the XBees. I uploaded the Communication | Physical Pixel sketch to one of the boards. I have tested it by connecting to the board with the Arduino serial monitor typing an H, and pressing enter. The LED turn on, Sending an L the LED turn off.( the both jumpers on the shield are in the "USB" setting ) (I used an arduino M0 board and a Multiprotocol Radio Shield v2.0)

Then i uploaded the other sketch to the other board (jumpers are in the USB setting) and it's working. (I used an arduino Due board and a Multiprotocol Radio Shield v2.0)

Now i Switch the jumpers to the XBee setting on the two boards. I connect both boards to the computer. But the LED on the first board doesn't turn on and off.

You said If you want to use the XBee modules, you need to use tge Libelium expansion board that allows your MySignals board to communicate wirelessly using Xbee.What should i do to start the module? Should i work with MySignals.expanderState of The 3G (expansion board) ?? What is the code to use to send data from the Xbee in MySignals board to the other Xbee which will receive data?

The receiver Xbee is connected to the arduino with a Xbee_adp ( not usb adapter so i can't do the configuration with XCTU) and i have not an ArduinoXBee shield.

2) If i want to send data from the shield to Xbee should i use this code ?: String toSend="abc";int len =toSend.length();String lengt=String(len);String cmd="AT+CIPSEND=";cmd+=lengt; sendATcommand(cmd,"OK",20000); sendATcommand(toSend,"OK",20000);

3) Can i pair the 2 Xbee with using AT command by defining the XBee DestinationAddress on the first Xbee and by defining The the same ID and CH parameter for both xbee?

// this loop waits for the answer do { if (Serial.available() != 0) { // if there are data in the UART input buffer, reads it and checks for the asnwer response[x] = Serial.read(); x++; // check if the desired answer is in the response of the module if (strstr(response, expected_answer) != NULL) { answer = 1; } } } // Waits for the asnwer with time out while ((answer == 0) && ((millis() - previous) < timeout));

// this loop waits for the answer do { if (Serial.available() != 0) { // if there are data in the UART input buffer, reads it and checks for the asnwer response[x] = Serial.read(); x++; // check if the desired answer is in the response of the module if (strstr(response, "OK") != NULL) { answer = 1; } } } // Waits for the asnwer with time out while ((answer == 0) && ((millis() - previous) < timeout));