Introduction: 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 >>
This neoprene bend sensor is also featured on the CNMAT resource site, among other great possibilities for making your own bend sensors >>
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:
There is another video at the end of this Instructable that shows you it in wearable action!
Step 1: Materials and Tools
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:
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
- Pen and paper
- Fabric and paper scissors
- 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
Step 2: Make a Stencil
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.
Step 3: Preparing Materials
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).
Step 4: Sewing
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.
Step 5: Closing the Sensor
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.
Step 6: Poppers
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.
Step 7: Multimeter Test
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
Step 8: Software Visualization
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.
Alex Sap made it!