Touch Me! Open Universal Input Sleeve {OUIS}

by CMoz in Circuits > Wearables

5321 Views, 75 Favorites, 0 Comments

Touch Me! Open Universal Input Sleeve {OUIS}

Open Universal Input Sleeve {OUIS} Project
{OUIS} sleeve working
20220809_144519.jpg
20220808_194309.jpg
20220808_194943.jpg
20220809_171857.jpg
20220809_173231.jpg
20220811_092358.jpg
20220811_091832.jpg
20220811_091638.jpg

I love fabric!

I really love conductive fabric, so if you've never used conductive fabric, I hope you sew and enjoy this Instructable.

Conductive fabric is fabric that conducts electricity. Typically there are metal strands woven into the fabric, or the metal strands might be woven with other fabrics, such as polyester. Making e-textiles, wearables, and soft circuits often use conductive fabrics for a variety of projects.

What are we making?


In this project, we are creating an Open Universal Input Sleeve. This adds touch input capabilities quickly and stylishly to your projects!

Why do you need the sleeve?


Using this sleeve, in any configuration can provide inputs for your electronic projects. You can connect it to any circuit board and - use it for touch input (native on an ESP32 board, for example), adding touch capabilities to any project. If your microprocessor board doesn't have native touch capability, you can use a touch library (ADCTouch, I'll provide a code example at the end of this guide) to add this to an Arduino-based board.

Once you've followed along to create a basic sleeve, you can modify this in infinite ways! Share your creation - what fabrics will you use? How many touch inputs? What shapes and styles will you add?

Steps for the Sleeve

This Instructable will have instructions for:

  1. Creating the sleeve
  2. Using the sleeve as an input device, with code for Circuit Playground / Other

Let's jump in!

Supplies

20220808_165731.jpg
20220809_103732.jpg

The items you need will depend on which parts of the Instructable you would like to follow.

Part 1: Creating the sleeve

To create an Open Universal Input Sleeve you'll only need 4 items:

  1. Fabric for a sleeve, I'm using Neoprene (or scuba) because it shapes really nicely with the body. Size: 370mm x 300mm, your size may vary.
  2. Conductive fabric pieces. (I've got mine from Tinker Tailor.) You can choose all the same conductive fabric for a streamlined look, or different types of conductive fabrics can add a nice effect. I'm going to make 7 inputs, so I'll need 7 different pieces. Note: You can add more conductive places on the sleeve if you want. If you want to turn it into an instrument for example, music has 8 notes in an octive, so you might want to have 8 touch inputs. You can easily add an extra touch area.
  3. Thread and needle for sewing. I'm going to use a sewing machine but you can sew this by hand.
  4. Crocodile clips, to attach to your circuit.

I'm going to add a small clip (lobster clip) to hold all the terminal ends from connector clips I am making for this purpose (see other Instructable on making your own connectors), and this will be attached to the sleeve with elastic. So you'll need a small piece of elastic (1.5cm wide) and the ring clip if you want to add this as well.

Also, you will need scissors, or I prefer to use a circular/rotary cutter for super straight edges. A ruler and cutting mat will also make this easier too.


Part 2: Using the sleeve as an input device, with code for Circuit Playground / Other

For this step you'll need:

  1. Crocodile clips, or the clips made from this Instructable.
  2. An Arduino based microprocessor. I've written a code example for Adafruit Circuit Playground, and Arduino

Creating the Sleeve

20220808_161553.jpg
20220808_161624.jpg

Check Your Material Is Conductive


If you are new to conductive fabrics, you'll want to be able to check that the fabric you have is conductive. If the material is conductive, it will carry the electrical current that our touch generates when we interact with the material. If you haven't used the touch capabilities of an Arduino-based board, or ESP32, this should be exciting! If you have used touch before, you'll know that we can use a huge variety of items that carry our touch, and I've done circuits that use leaves as touch inputs. You only need to use a multimeter to check if what you are choosing is conductive. We can use a multimeter for this.

To measure if your fabric is conductive:

  • Using your multimeter, turn the dial to the symbol that looks like a speaker (see photo)
  • The screen should read OL Open Loop. This means there is no conductivity. If you touch the red and black probe together, it will show a value and not OL. It will also make an alarm sound. this sound tells us that there is a connection, it is conducting electricity.
  • Hold both probes onto your fabric (or material that you want to test for conductivity):
  • If OL remains, it is NOT conductive.
  • If it shows a value, then it IS conductive.


Cut Your Sleeve Pattern

20220801_121819.jpg
20220808_170106.jpg

Using Neoprene fabric will save you some work. Because when we cut this fabric, we don't really need to sew an edge because the finish on it works nicely as our edge. This Instructable works well with felt fabric too. Neoprene and scuba fabric are similar, scuba can be a little thinner and has no center core, and neoprene has a rubber center with fabric covering both sides. This can make it very comfortable as well.

I've put a pdf template you can use for the arm piece (size is to print at A3, or print 2 x A4 and tape together). You can measure your arm and make changes to the template to choose your piece. You can also measure your arm and then cut a piece to suit - be sure to leave some extra fabric for the closing edge.

Downloads

Cut Your Conductive Material

20220808_162450.jpg
20220808_162547.jpg
20220808_165751.jpg
Conductive fabric sleeve for an open universal input...

[The video shows how these pocket areas are made and used so you have oversight of the completed project in mind when you are cutting your fabric pieces and placing them.]

I'm going to have 7 inputs available so I'm cutting 7 pieces.

I've measured my sleeve so I want these pieces to be 40mm wide each.

Make the pieces in your preferred size, I want them to be easy to touch so they are quite large. You also need to be able to fold the end of it about an inch - so add 1 inch to the end of the piece you cut.

I cut:

  • 1 x Thin silver mesh
  • 2 x Soft metallic fabric, nickel, copper, and polyester 40mm wide x 180mm
  • 2 x Silver breathable mesh - these I'm cutting wider so I can fold the edges over when I sew them to prevent them from fraying
  • 2 x Stretchy silver


Sew the Cuff

20220808_170106.jpg
20220808_170331.jpg
20220808_170342.jpg
20220808_171508.jpg
20220808_171512.jpg
20220808_172113.jpg
20220808_172200.jpg
20220808_172445.jpg
20220808_172835.jpg
20220808_173139.jpg
20220808_173611.jpg
20220808_175009.jpg

You'll notice this pattern has a cut in the cuff area of the sleeve. This is the first part we'll sew. This is because when we add the conductive fabric to the sleeve we need to get it perfectly fitting, and so this will need to be sewn beforehand.

If you are adding the lobster clip to hold the ring terminals, we add it in this part too.

  • Place the lobster clip on elastic through this cuff cut

We will sew it into this part so that it will be secure. I'm sewing it high up in the cuff. This is because I don't want to have my wires hanging down too long.

Important - before you begin sewing, if you are using a sewing machine - test on a scrap piece of neoprene first! Neoprene can be a little difficult to sew. Set your stitch length and tension to suit the fabric.

  1. Sew the elastic together (with lobster clip on it) with a few stitches near the end of the elastic
  2. Put the elastic piece with lobster clip into the cuff cut
  3. Sew the cuff area together

I've used a stitch size of 3.5, any smaller and it can pull the neoprene a little too tightly.

I added a zigzag stitch over this cuff area to secure the stitches and elastic in place.

Place to Check the Conductive Fabric Pieces

Using the sleeve as a base, place conductive fabric pieces you cut earlier on the sleeve. Make sure there is the correct spacing between them. Remember - if the pieces touch at all they will conduct - so they will become 1 large piece. So it is VERY important the pieces of conductive fabric do not touch.

Also, the pieces will not touch all the way to the seam area. We will need access to these 'pocket' spaces we are sewing for the crocodile clips.

Add the First Piece of Conductive Fabric

20220808_173233.jpg
20220808_175647.jpg
20220808_180129.jpg
20220808_180252.jpg
20220808_180526.jpg
20220808_182331.jpg

The first piece I'm using is the smallest because it will fit close to the wrist area. I'm using a fine conductive mesh fabric. I folded it so there aren't any edges that are too delicate. I'm using a zigzag stitch - this allows the neoprene to keep its elasticity because the thread will move without breaking. If we did a straight stitch, the thread could break with our body movement. On my machine (Brother) I set zigzag stitch number six, with 6.0mm and 1.4mm settings.

You also need to fold under the bottom of the fabric that you use. This is because it will create a small pocket that we use to attach the crocodile clip to.

  1. Fold the conductive fabric
  2. Pin in place
  3. Start at the bottom lower corner of the fabric
  4. Sew all the way up to the top, across the top, and down the other side
  5. Do not sew along the bottom! Leave this open for the croc clip to be placed when in use.

Remove the pins as you sew.

Place the Second Piece of Conductive Fabric

20220808_182604.jpg
20220808_182627.jpg
20220808_183532.jpg
20220808_183601.jpg
20220808_184139.jpg

Now place the second piece of conductive fabric into place. I'm using a slightly less flexible piece but it will be ok because it's still a small cuff size.

  1. Place near but NOT TOUCHING the other piece of conductive fabric
  2. Fold the end of the fabric underneath, at the bottom near the sleeve edge
  3. Follow the same technique as the previous step:
  4. Start at the bottom lower corner of the fabric
  5. Sew all the way up to the top, across the top, and down the other side
  6. Do not sew along the bottom! Leave this open for the croc clip to be placed when in use

Repeat this sewing again for the third piece of conductive fabric.

Sewing the Mesh Style Conductive Fabric

20220808_184255.jpg
20220808_184317.jpg
20220808_184858.jpg
20220808_184943.jpg
20220808_190937.jpg

For mesh fabric, it can fray, so we cut a larger piece so we can fold the edges under as well.

  1. Fold in the edges of the fabric
  2. Place downwards on the sleeve fabric
  3. Fold the bottom of the fabric underneath again, to form this pocket edge
  4. Pin into place
  5. Sew as per the previous steps - from the bottom corner, up across, and down - and stop there to leave it as a pocket

Silver Stretchy Conductive Fabric

20220808_192438.jpg
20220808_192023.jpg
20220808_193046.jpg

This fabric has very delicate beautiful qualities to it, so I decided not to sew it down the same as the others. For this fabric, I wanted it to be more of a 'cuff' look.

  1. Fold the edge of this into itself - see photos
  2. Place this on the edge of the neoprene
  3. Sew just the edge into place
  4. Do the same with the other end of the fabric

This conductive fabric should now be sewn along both ends of the neoprene and not sewn on the middle section at all. Look at the photos for reference. This was just my styling decision, and if you've used different conductive fabrics, you can sew it into place as we did for the previous pieces.

*phew* we've finished sewing all 7 pieces of conductive fabric into place!

You can add more conductive places on the sleeve if you want. If you want to turn it into an instrument for example, music has 8 notes in an active, so you might want to have 8 touch inputs. You can easily add an extra touch area.

Sewing the Sleeve Together to Wear It

20220808_193157.jpg
20220808_193327.jpg
20220808_193528.jpg
20220808_193548.jpg
20220808_194130.jpg
20220809_171857.jpg

Now that we have finished let's pin the sleeve closed.

  1. Pin the conductive fabric sides to face each other, so the inside of the sleeve is facing the outside
  2. Hold the edge together, and start to pin together into place
  3. Pin all the way up - align the top 2 conductive pieces where we have sewn the edges.
  4. Where these align, pin into place
  5. There will be some 'bunching' of fabric near where your elbow will be
  6. Pin this area so it is flat - press it flat, and you'll see that it bunches out on both sides, pin these into place or use a clip as I have done (see photo)
  7. Sew all the way along this edge after pinning
  8. Inside out your sleeve

Ya! You now have created your own Open Universal Input Sleeve!

You can use it with crocodile clips as an input device - with your touch.

If you want to make project-specific clips you can follow this Instructable on creating connectors. If you're happy with croc clips, you can jump to Using the sleeve as an input device, for sample code.

Using the Sleeve As an Input Device

20220809_144445.jpg
20220808_194953.jpg
20220811_092243.jpg
20220811_091958.jpg
Conductive fabric sleeve for an open universal input...
{OUIS} sleeve working

You might be using crocodile clips, or you may have made purpose build clips for this sleeve. We will now use the clips with the wearable conductive fabric sleeve to look at input with a microcontroller.

Looking at the pockets we created with conductive fabric, attach your crocodile clips to these edges.

You can use this code: https://github.com/cmoz/instructables/blob/main/OpenUniversalInputSleeve.ino with a Circuit Playground board, that has touch-enabled pins.

Upload the code to your Playground board after connecting the crocodile clips to pins

  1. pin 3
  2. pin 2
  3. pin 0
  4. pin 1
  5. pin 12
  6. pin 6
  7. pin 9
  8. and pin 10 if you added an 8th conductive strip

After the code is uploaded, you can now touch the strips and see the effect and hear a sound in response!


Other Arduino boards


If you have another board, you can install a library, ADCTouch. After this library is installed, try one of the example files included in the library, I have uploaded some other example code here: github.com/cmoz/instructables/blob/main/OUIS_ADCTouch.ino. This code is for an example of controlling a servo motor when touches register. If you are newer to Arduino, try this first:

  • Open Arduino
  • Go to Tools > Manage Libraries > search for ADCTouch, by martin2250
  • Install

Open the example file: File > Examples > ADCTouch > Buttons

#include <ADCTouch.h>

int ref0, ref1;     //reference values to remove offset

void setup() 
{
    // No pins to setup, pins can still be used regularly, although it will affect readings
    Serial.begin(9600);
    ref0 = ADCTouch.read(A0, 500);    //create reference values to 
    ref1 = ADCTouch.read(A1, 500);    //account for the capacitance of the pad
} 

void loop() 
{
    int value0 = ADCTouch.read(A0);   //no second parameter
    int value1 = ADCTouch.read(A1);   //   --> 100 samples

    value0 -= ref0;       //remove offset
    value1 -= ref1;

    Serial.print(value0 > 40);    //send (boolean) pressed or not pressed
    Serial.print("\t");           //use if(value > threshold) to get the state of a button

    Serial.print(value1 > 40);
    Serial.print("\t\t");

    Serial.print(value0);             //send actual reading
    Serial.print("\t");
	
    Serial.println(value1);
    delay(100);
}


Upload the code to your Arduino board, be sure to select your Board and Port from the Tools menu. After it is uploaded, with the crocodile clips attached to A0 and A1 of your board, you will be able to touch the conductive fabric and it will register the reading.

You can see the value after you open the Serial Monitor in Arduino.


Finished!

All the videos for {OUIS} Open Universal Input Sleeve system
20220811_092227.jpg
20220811_092358.jpg
20220811_092752.jpg

Finished!


All done! Congratulations you now have your own unique input device and you must be cool :D

I hope you modify this, use it in your own prototypes, change how the conductive fabric is used, or how it looks, alter the number of outputs, and get creative with it. Don't forget you can follow my other Instructable to create your own unique, project-specific connectors too.

The video is explaining the way it works and using it, so I know it is long but just skip through it to see parts of the system if you'd like more info. Thanks for your support if you've made it this far!

To see more of my projects and wearables, visit http://christinefarion.com, follow me on Instagram, and Twitter is great if you have any questions or comments!

Wearable Electronics items purchased from Tinker Tailor.