Example Projects
Workshops
Announcements
Actuators
Connections
Power
Sensors
Traces

Circuits and Code Wireless

Meet the Materials
Conductive Materials
Non-Conductive Materials
Tools
Techniques
Thinking Out Loud
Circuits and Code
  • Arduino Overview
  • Arduino as Bluetooth HID
  • ATtiny: 7-Segment Display
  • ATtiny: Capacitive Sensing
  • ATtiny: Programming
  • ATtiny Serial & Wireless Boards!
  • ATtiny: Soft Serial
  • ATtiny: Sound
  • ATtiny: Soft Fade
  • Bits and Bytes Binary numbers
  • Multiplexed Matrix
  • Controlling EL Panel and EL Wire
  • EL panel/wire inverter hack
  • EMF amplifier
  • Heat Controlling Circuit
  • LED with Light Sensor
  • Lilypad XBee Shield
  • My First Arduino Connection Check
  • pressure matrix code + circuit
  • Pull-up Resistors
  • Rabbit Control Client on Bela
  • RabbitControl on Bela
  • RGB Colour Fade
  • simple heat circuit
  • Solar Powered Motor Circuit
  • Sound Amplifying Circuits
  • Graphing and Drawing Sensor Values
  • Teensy as HID Device
  • Transistor Switch
  • Volume Detection
  • Visualization: 2x2 Matrix
  • Visualization: Drawing
  • Visualization: Graph
  • Visualization: Pressure Sensor Matrix
  • Visualization: Touchpad
  • Voltage Divider
  • Voltage Divider with Arduino
  • What is Variables?
  • Support the creation of content on this website through PATREON!
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • E-Textile Shopping

  • SEARCH
    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
    Circuits and Code

    ATtiny Serial & Wireless Boards!

    For projects with few i/o pins, using an ATtiny is a great alternative to Arduino boards. Using software serial allows you to send and receive data over the serial port via an FTDI board, and connecting to one of Sparkfun’s Bluetooth mate boards makes for a pretty streightforward wireless option. (You could also connect it to xBee.) The following ATtiny board design incorporates a 6-pin header that can be used both for programming (ISP) and serial communication (FTDI, Bluetooth).

    ATtiny45/85 have 5 programmable i/o pins. Depending on your project, you might only need to send or receive data so you could only use one of these pins as either rx (receive) or tx (transmit) and have 4 i/o pins left to either read analog or digital input or write digital or PWM output. If you need to both send and receive data (rx, tx) then you still have 3 i/o pins left for in/output.

    ATtiny44/84 have 11 programmable i/o pins!!! And 8 of them can read analog input!

    The following examples show various uses of ATtiny with software serial and a Bluetooth mate module to send or receive data wirelessly between the ATtiny and a Processing sketch.

    Software Serial Code

    Capacitive Ball Sensor

    Uses: Tiny45, 4 digital input pins for capacitive sensing, 1 pin for sending capacitive serial data (tx).
    Processing sketch reads in senor values and visualizes them as well as plays sound.

    Arduino Code >>
    Processing Code >>
    Eagle board design >>




    Videos

    Demo of the flex ATtiny Board:

    First prototype:

    Resistive Ball Sensor

    Uses: Tiny44, 6 analog input pins for resistive stretch sensor sensing, both rx and tx pins are connected, though only tx is used for sending snesor data.
    Processing sketch visualizes sensor values and uses sensor values to manipulate sound.

    Arduino Code >>
    Processing Code >>
    Eagle board design >>

    Photos:

    Videos

    Spider Board

    Similar to perforated strip-board circuit described bellow. This is an Eagle layout for a PCB that has not been made.

    Arduino Code >>
    Processing Code >>
    Eagle board design >>

    Perforated Strip-Board Circuit

    Uses: Tiny45, 3 i/o pins, both rx and tx pins are connected. This board is soldered on perforated strip-board and the i/o connections are broken out to snaps on a fabric paw.
    Depending on how the pins are configured a Processing sketch either visualizes sensor values or can trigger outputs.

    Circuit design:

    Photos:


    Cat’s Paw Snap Extension

    Making contact to the 3 i/o pins by sewing from the circuit board to snaps on a piece of fabric that are arranged in the shape of a cat paw. Two versions of this board, one with magnets (magnets on the paw want to stick together so it becomes a bit tedious to work with), and one with metal press snaps (poppers).

    Photos:

    First Prototype

    Uses: ATtiny45 with 3 i/o pins and both rx and tx for software serial communication. Sewn with solderable conductive thread on fabric and components soldered on.


    ISP Programming Adaptor


    1 Comment so far

    1. James on April 26th, 2015

      you have a typo on this page, when describing the first attiny’s you said the 45/84 had 5 i/o pins. that should be 45/85.

    Leave a comment