Fabric Bend Sensor

by Plusea in Circuits > Wearables

91681 Views, 249 Favorites, 0 Comments

Fabric Bend Sensor

2748708015_5c5cdb1f76.jpg
2746933877_07bd912387.jpg
2746936281_f3021682f0.jpg
2756957847_586595a587.jpg
2787192275_7cd9a4982f.jpg
2787192345_1d7339b9d0.jpg
Using conductive thread, Velostat and neoprene, sew your own fabric bend sensor.

This bend sensor actually reacts (decreases in resistance) to pressure, not specifically to bend. But because it is sandwiched between two layers of neoprene (rather sturdy fabric), pressure is exerted while bending, thus allowing one to measure bend (angle) via pressure. Make sense? Watch below:



So basically you could use most any pressure sensor to measure bend, but this one I find gives me the best results (sensitivity) for measuring the bend of human joints when attached to the body. It is sensitive enough to register even slight bend and has a large enough range to still get information when the limbs are fully bent.

The resistance range of this bend sensor depends a lot on the initial pressure. Ideally you have above 2M ohm resistance between both contacts when the sensor is lying flat and unattached. But this can vary, depending on how the sensor is sewn and how big the overlap of the adjacent conductive surfaces are. This is why i choose to sew the contacts as diagonal stitches of conductive thread - to minimize the overlap of conductive surface. But only the slightest bend or touch of the finger will generally bring the resistance down to a few Kilo ohm and, when fully pressured, it goes down to about 200 ohm. The sensor still detects a difference, right down to about as hard as you can press with your fingers. The range is non-linear and gets smaller as the resistance decreases.

This sensor is really very simple, easy to make and cheap compared to buying one. I've also found it to be reliable enough for my needs.

I am also selling these handmade fabric bend sensors via Etsy. Although it is much cheaper to make your own, purchasing one will help me support my prototyping and development costs >>
http://www.etsy.com/shop.php?user_id=5178109

This neoprene bend sensor is also featured on the CNMAT resource site, among other great possibilities for making your own bend sensors >>
http://cnmat.berkeley.edu/category/subjects/bend_sensor

To see this sensor in action have a look at the following video. The dancer has fabric bend sensors (the same as this Instructable shows) attached to her: Underarms, elbows, wrists, shoulders, hips and feet.



There is a Bluetooth module on the dancer's back that is transmitting all of the sensor information to a computer that is then triggering instruments (LEMUR's musical robots) to play. For more info visit:
http://kobakant.at/index.php?menu=2&project=4

There is another video at the end of this Instructable that shows you it in wearable action!

Materials and Tools

2747762902_20a7938475.jpg
MATERIALS:
The materials used for the sensor are basically cheap and off-the-shelf. There are other places that sell conductive fabrics and Velostat, but LessEMF is a convenient option for both, especially for shipping within North America.

Velostat is the brand name for the plastic bags in which sensitive electronic components are packaged in. Also called anti-static, ex-static, carbon based plastic. (So you can also cut up one of these black plastic bags if you have one at hand. But caution! Not all of them work!)

To make the sensor fully fabric one can use EeonTex conductive textile (www.eeonyx.com) instead of the plastic Velostat. Eeonyx normally only manufacture and sells its coated fabrics in minimum amounts of 100yds, but 7x10 inch (17.8x25.4 cm) samples are available free of charge and larger samples of 1 to 5 yards for a minimum fee per yard.

The exact neoprene i used for the bend sensor is:
quality: HS
thickness: 1,5 mm
both sides: nylon- / polyesterjersey (standard)
one side: grey, other side: neon green
but you can defiantly try and experiment with different qualities and thicknesses!
also with different materials. i can imagine that foam rubber and similar will work.
one good thing about the neoprene is that it has jersey fused to either side which gives it a nice feel against the skin but also makes sewing easier, as stitches otherwise rip through the plain neoprene.

- Conductive thread from www.sparkfun.com
also see http://cnmat.berkeley.edu/resource/conductive_thread
- Neoprene from www.sedochemicals.com
- Stretch conductive fabric from www.lessemf.com
also see http://cnmat.berkeley.edu/resource/stretch_conductive_fabric
- Fusible interfacing from local fabric store
- Regular sewing thread from local fabric store
- Velostat by 3M from www.lessemf.com
also see http://cnmat.berkeley.edu/resource/velostat_resistive_plastic
- Machine poppers/snaps from local fabric store

TOOLS:
- Pen and paper
- Ruler
- Fabric and paper scissors
- Iron
- Sewing needle
- Popper/snap machine (handheld or hammer and simple version)
- Possibly pliers for undoing poppers

For connecting to your computer:
I'm not going to go into detail here, because this Instructable is really more about the sensor itself and less about this connection. But if you have question just send me message.
- Arduino physical computing platform from www.sparkfun.com
- Arduino software free from www.arduino.cc
- Processing programming environment free from www.processing.org
- Crocodile clips from www.radioshack.com
- A pullup or pulldown to the ground of your Arduino, with a 10-20 K Ohm resistor
- Some wire and solder and stuff

Make a Stencil

2747671712_6d46abf9bc.jpg
Because we are making a bend sensor it makes sense to make it long so that it can be easily attached to where bending should be measured.
You do not have to follow the shape and size for this sensor exactly. I've kept it simple to communicate the idea.
Create a stencil that includes marking for stitches that should run diagonally. It is good to leave at least 5mm space between the stitches and the edge of the neoprene. Leave 1cm space between the stitches. It is about NOT creating a too conductive surface, so that the sensor stays sensitive. 4-7 diagonal stitches (depending on the length of your sensor) are normally fine. Also, they do not need to be long. 1,5cm max. For this version you'll want to leave about 1-2 cm space at each end of the sensor so that you can attach a popper, which will be useful for connecting it into a fabric circuit later on.

Preparing Materials

2746839885_dfcffed3a5.jpg
2747674952_78a7ae5e20.jpg
2746845463_27da0f1e16.jpg
2746847663_271fc719d1.jpg
2747685278_064034c006.jpg
2747688272_e1d4748b7f.jpg
Once you've created the stencil, trace it onto the neoprene so that you have two IDENTICAL (not mirrored) pieces.
Using interfacing, fuse a small piece of stretch conductive fabric (see photos) to the end of each piece of neoprene. On once piece it should be on the green side (inside) and on the other on the gray side (outside). This is so that later on, once the sensor is sewn together, the conductive fabric only faces one side (this is more for aesthetic reasons, so it will still work no matter which side you fuse the conductive fabric to).

Sewing

2747694324_2e4d2f47f7.jpg
2747696666_8d94b3db1b.jpg
2747704366_e25712ebca.jpg
2747706956_9f6c2c3d87.jpg
2746877047_35170f6408.jpg
2747711696_af7c88d661.jpg
2747714274_3a08e6f059.jpg
2746885029_e821351557.jpg
Now that both sides of your sensor are prepared, thread a needle with a good amount of conductive thread. You can take it double or single. I prefer to take it single.
Sew into the neoprene from the back/outside (in this case grey side). Start at the end furthest away from the patch of conductive fabric. Stitch back and forth as shown in the photos. When you reach the end, sew the thread to the conductive fabric. Make at least 6 stitches to connect the two.
Do this sewing for both pieces of neoprene, with the exception that in once case the conductive fabric is on the other side of the conductive stitches. Still you want to attach the conductive thread to the conductive fabric patch with at least 6 stitches.

The reason the stitching on both sides must be identical is so that when they lie on top of each other (facing each other) the stitches crisscross and overlap in one point. This has two advantages. First that it is unlikely that the stitches will not line up and not make any overlapping connection. And secondly that the surface of connection is not too big. I’ve found that if the conductive surfaces are too big that the sensitivity of the sensor is no longer good for what I want.

Closing the Sensor

2747719908_331df667e0.jpg
2747719476_f575885161.jpg
2746888419_6a99a6d5b4.jpg
2747722568_a785f06479.jpg
2746894109_93b3aa566c.jpg
2747727942_4bdb7eed2d.jpg
2747730166_01b548e00f.jpg
2747730532_01778e121c.jpg
2746907167_44215635e5.jpg
Before closing the sensor you will want to cut out a piece of Velostat that is just a little bit smaller than your pieces of neoprene. This piece of Velostat will go in between your two conductive stitches. And this is what creates the pressure sensitive change in resistance. The Velostat lets more electricity through, the harder you press the two conductive layers together, with the Velostat in between. I'm not really sure exactly why this is, but I imagine it's because there are carbon particle in the Velostat that conduct electricity and the more pressure on them the closer they come together and the better they conduct or something similar (???).

So, place the piece of Velostat in between and sew the sensor together as shown in the pictures. Don't sew too tightly, otherwise you'll have an initial pressure which will make your sensor less sensitive.

Poppers

2747759034_2482142f06.jpg
2746927811_ac6209863e.jpg
2746929723_34016eee4e.jpg
2746936281_f3021682f0.jpg
2746933877_07bd912387.jpg
Read the instructions that came with your popper machine. I have attached two different poppers (female and male) to either side of my sensor, but this is up to you. I have attached the front part of each popper (the popper part) to the side with the patch of conductive fabric, so that both poppers attach at the same side.

If you happen to make a mistake with the poppers, the best tool to undo them is a pair of pliers and to squeeze together the weaker part, which is normally the back part (often just a ring). And then fiddle until it comes loose. This often ruins the fabric though.

Multimeter Test

2746944553_c6545a0f41.jpg
2746946757_7e79ea9f47.jpg
2747782280_6c691e98bc.jpg
2746949007_a072e97825.jpg
Now your sensor is finished!
Hook either end up to a multimeter and set it to measure resistance. Each sensor will have a different range of resistance but as long as it is not too small and works for your purposes, all is good.

The sensor I made had following ranges:
Lying flat: 240 K Ohm
Pressing with finger: 1 K Ohm
Lying on side: 400 K Ohm
Bent: 1,5 K Ohm

Software Visualization

2746957077_5134ed617b.jpg
2746954699_4629382ecc.jpg
2747784490_d722c8ec90.jpg
2746959393_721c9d978f.jpg
2746937563_7b1daec21a.jpg
2747770024_ccafe8b0d6.jpg
2747771158_443a803d28.jpg
2746941125_c696766aa6.jpg
2747773566_c47a77ec2f.jpg
2747792260_2aa62b2edd.jpg
2746963183_2b96e552c0.jpg
2756957847_586595a587.jpg
To visualize the change in resistance in the bend sensor you just made you can also hook it up to your computer via a microcontroller (Arduino) and use a little bit of code (Processing) to visualize it.


For Arduino microcontroller code and Processing visualization code please look here >> http://www.kobakant.at/DIY/?cat=347

See the orange bar in the pictures. How it is on the right of the computer screen when the wrist is bent. And at the very left when the wrist is straight!!

Have fun and thanks for reading. Let me know what you think.