Need help connecting DIDI XBEE SE PRO S2 T with arduino UNO's and shield!

Discussion in 'Embedded Systems and Microcontrollers' started by michaelkm8, Apr 4, 2016.

  1. michaelkm8

    Thread Starter New Member

    Apr 30, 2014
    20160404_112737.jpg 20160404_112748.jpg 20160404_112737.jpg 20160404_112748.jpg Hello all,
    I can't for the life of me figure out how to connect this setup. I have four XBEE SE PRO S2 T's, two Arduino Uno's, and two Arduino shields. I have XCTU and programmed one as the coordinator and the others as one router and two end points. Now the problem is the end devices go unresponsive as soon as I upload the firmware in XCTU, but the coordinator and router stay on just fine. I have changed the sleep setting to the max and they still do the same thing. I also maxed out the baud rate and still no luck. All I want to do is turn on an LED... Such a big problem for such a simple task. Anyways any help would be very much appreciated. I have attached the code and the hardware so you can see what i'm working with. Thanks! 20160404_112737.jpg 20160404_112748.jpg 20160404_112737.jpg 20160404_112748.jpg

    Code (Text):
    1. void setup()
    2. {
    3.   Serial.begin(9600);
    4.   pinMode(7,OUTPUT);
    5. }
    7. void loop()
    8. {
    9. int data =;
    11. switch(data)
    12. {
    13.   case '0':
    14.   digitalWrite(7, HIGH);
    15.   Serial.println("LED turned on");
    16.   break;
    18.   case '1':
    19.   digitalWrite(7, LOW);
    20.   Serial.println("LED turned off");
    21.   break;
    22. }
    23. }
  2. michaelkm8

    Thread Starter New Member

    Apr 30, 2014
    Sorry for the duplicate photos. I'm not sure how to get rid of them now.