3 Replies Latest reply on Dec 16, 2016 11:18 AM by Intel Corporation

    Intel edison and Arduino library for communicating with XBee


      Hi. I have an "Intel Edison board for arduino" and I want to connect it to another arduino that controls a humidity sensor, through xbee in API mode.


      The xbee have connected it to the intel edison using an "Arduino xbee shield", but I can not send any information (the arduino xbee shield's leds tx and rx do not light up). In the code I use the arduino xbee library: GitHub - andrewrapp/xbee-arduino: Arduino library for communicating with XBee radios in API mode .


      This is the code:


      #include <Printers.h>

      #include <XBee.h>

      #include "Wire.h"


      XBee xbee = XBee();


      void setup() {




      void loop() {


        uint8_t data[] = {'h','e','l','l','o'};

        XBeeAddress64 addr64 = XBeeAddress64();


        addr64.setMsb(0x0013a200);//XXXXX -> Msb address of router/end node ,

        addr64.setLsb(0x40EC3BF9);//XXXXX -> Lsb address of router/end node


        ZBTxRequest zbTx = ZBTxRequest(addr64, data, sizeof(data));







      Is the arduino xbee library compatible with intel edison? If I connect the ardino xbee shield in an arduino and I put the same code as in the intel edison, I observed that it transmits information.


      I also wanted to ask if the best way to connect xbee to the intel edison is to use "arduino xbee shield" or  a "xbee explorer board" and connect it to the usb port.


      In the latter case, can I communicate with the xbee through a sketch made with the Arduino IDE? Or should I use phyton?


      Thanks for the help.