Example Projects

Circuits and Code Wireless

Meet the Materials
Conductive Materials
Non-Conductive Materials
Thinking Out Loud
  • BLE (Bluetooth Low Energy)
  • Bluetooth Mate
  • Data Logging
  • Embroidered LilyBLE Module
  • MQTT Brokers and Clients
  • MQTT client
  • Wireless Communication 101
  • Xbee
  • Xbee Direct (Xbee-Xbee)
  • Xbee Direct (Multiple Xbee - Xbee- comp)
  • Xbee Direct (Sensor-Xbee-Comp)
  • Xbee dongle
  • Xbee FirmwareUpdate
  • Xbee lilypad shield PCB
  • Xbee Serial Communication
  • Support the creation of content on this website through PATREON!
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • E-Textile Shopping

    Content by Mika Satomi and Hannah Perner-Wilson
    E-Textile Tailor Shop by KOBAKANT
    The following institutions have funded our research and supported our work:

    Since 2020, Hannah is guest professor of the Spiel&&Objekt Master's program at the University of Performing Arts Ernst Busch in Berlin

    From 2013-2015 Mika was a guest professor at the eLab at Kunsthochschule Berlin-Weissensee

    From July - December 2013 Hannah was a researcher at the UdK's Design Research Lab

    From 2010-2012 Mika was a guest researcher in the Smart Textiles Design Lab at The Swedish School of Textiles

    From 2009 - 2011 Hannah was a graduate student in the MIT Media Lab's High-Low Tech research group led by Leah Buechley

    In 2009 Hannah and Mika were both research fellows at the Distance Lab

    Between 2003 - 2009 Hannah and Mika were both students at Interface Cultures
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition

    Xbee Direct (Multiple Xbee – Xbee- comp)

    This post explores how to establish a communication between multiple Xbee that are connected with sensors to one receiving Xbee that is connected with computer. Xbee 802.15.4 with chip antenna is used in this example.

    For reading the Xbee input, I am using XBee API Library for Processing from Rob Faludi and Dan Shiftman

    This example is applied to WIRELESS JOYSLIPPERS. For detail of the physical construction, please see the Wireless Joyslippers post.

    This example involves two Xbees sending sensor (pressure sensor) inputs to one Xbee that is connected to a computer with USB dongle.

    Here is how the AT command is setup for each Xbee.

    The Sender1 and Sender2 Xbee’s IR rate is different. This is because I experienced data colliding when the rate is set to same. With this current setup, the collusion problem is reduced, though, data is still a bit jumpy time to time and I need a better solution to avoid the data collusion. I will keep updated with coming improvements.

    Here is how the sensor Xbees are set up on breadboard. It is same as XBEE DIRECT (SENSOR-XBEE-COMP)

    JOYSLIPPERS have two pressure sensors on each slipper. We are using one Xbee on each slipper to wirelessly send sensor data to a computer via receiver Xbee connected with USB dongle. 

    Here is the processing sketch for receiving 4 sensor data from JOYSLIPPER, that is a simple modification of XbeeApiExample.

    insert video here

    3 Comments so far

    1. changhun lee on June 3rd, 2010

      Your document is really helpful to me.
      But I have trouble with connecting xbees.
      I want to connect like this.
      (sensor-xbee)~[communication]~(xbee: act as data bridge)~[communication]~(xbee-com)
      But I have trouble with xbee setting.
      Could you help me to setting the AT command?

    2. James on November 5th, 2011

      Your document is really helpful to me.
      But should the last AT command NR be RN (Random Delay Slot) instead?

    3. daniel puig on May 1st, 2013

      regarding the IR rate, have you tried using prime numbers, like 11 and 13 or 17 and 19, if possible. even 13 and 15 might help. just an idea…

    Leave a comment