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 Serial Communication

    The simple thing Xbee can do is to replace the serial connection wirelessly.
    You can do this pretty much out of the box.
    It is like replacing the USB cable of Arduino (serial communication) to invisible cable (wireless).

    Here is an example of how to set up serial wireless communication:

    On Arduino side, the connection is following. Basically you need to connect power (3.3v) , GND and TX, RX connection. “Serial.print();” output from the Arduino goes through Xbee wireless connection to your computer.
    In this example potentiometer (sensor) is connected to Analog 0 input. Arduino is programed to read Analog inputs data and send it as Serial.print

    If you are supplying power bigger than 3.3V such as 9V battery or three AA batteries, or Arduino that gives only 5V, you need to use 3.3v voltage regulator to supply 3.3V. Here is how to set up 3.3v regulator.

    You can also check  SEWABLE 3.3V REGULATOR post. 

    For receiving side, it can be Xbee-Arduino or Xbee-computer setup.
    If  you are making Xbee-Arduino setup, connect the same way without potentiometer, and the data can be received as Serial.read command. 

    If  you are making Xbee-computer setup, connect Xbee via USB dongle. (see USB dongle post for detial)
    The data is received through serial communication. Here are example codes for sending Analog 0-5 inputs from Arduino and receiving with Processing or max/msp.

    4 Comments so far

    1. […] NYU ITP Xbee Basic Page Artist Collective working extensively with Xbees (Has good references overall) ashleyhughesarduino Site (Very good explanation on CoolTerm […]

    2. pratima on July 12th, 2012

      i have problem in writting a code to transfer data from pc to xbee serially so plz someone post the code either in c or matlab

    3. Back at Xbee again | dvlang.com on February 20th, 2013

      […] don’t need a shield to get started.  I can use this: http://www.kobakant.at/DIY/?p=772 Category: Projects […]

    4. nital on November 22nd, 2013

      i wanted the coding of these in arduino…

    Leave a comment