2 Replies Latest reply on Jun 2, 2017 5:12 PM by Intel Corporation

    Intel Edison + XBee (with Python 2.7)


      Hello everyone,

      I'll try to explain myself:


      I'm trying to connect an XBee (S1) with the Intel Edison, i've already worked with the AT Communication through Serial... but I want to know if I can make it with a Python Script.


      I've found this script (it's like the typical (?) example on the web):


      #! /usr/bin/python

      # Import and init an XBee device

      from xbee import XBee, ZigBee

      import serial


      ser = serial.Serial('/dev/ttyUSB0', 9600)


      # Use an XBee 802.15.4 device

      xbee = XBee(ser)

      # To use with an XBee ZigBee device, replace with:

      #xbee = ZigBee(ser)


      # Set remote DIO pin 2 to low (mode 4)










      But the thing it's the "/dev/ttyUSB0"... I'm working with an Arduino Shield "Bees Shield v2.12" (Seeed Studio) and I want to know if there's a way through Python to manage the GPIOs in this Shield...


      Sorry for my language, i'll be waiting your replys.

      Thanks in Advance.