A little background as to how this whole idea came about.
Back in 2009, I needed some bend sensors for a sign language translation glove I was making for fun, and the commercial ones that just came out were over my budget considering I needed at least 10.
Then I came across plusea's DIY bend sensors on Instructables.
It was what I was looking for but I had one small problem. Well, a few problems actually. (Not with the 'ible of course)
All the different instructables required the use of neoprene, or at least conductive thread and conductive fabric.
I could get the anti static bags locally, but getting the above items would mean the total bill (after shipping and currency exchange rates and tax) would consist of mostly that, and not the cost of the items.
So I decided to see if I could just experiment with the conductive anti static bag(although in all honesty I tried matching it with a whole bunch of other stuff; like carbon paper). It took 2 weeks of playing around during my free time before I finally had a decent build. (Still works to date! )
So for all of you who has a tight budget or like me, can't get easy access to items in the states, this is for you.
Remove these ads by
Signing UpStep 1: Materials and Tools
Materials
â Anti Static Bags 10x15cm ( I used Vermason Conductive Bags) element14/ farnell order code: 522740
⣠http://sg.element14.com/vermason/bp3eg/bag-conductive-100x150mm/dp/522740?Ntt=522740
â Cable Tie (20 - 25cm is great)
â Masking Tape (We have them in 3 sizes here. But I found the 2.4cm and 1.1cm to be great. We'll need both)
â Jumper Wires (I'm using ones in 20cm length)
⣠http://shop.aiscube.com/Cables-And-Connectors/Jumper-Wires-20cm-Pack-Of-20
Tools
â Pencil. I would not recommend mechanical pencils as it's too sharp and it might damage the material while marking out the border. (true story)
â Pen Knife
â Wire Stripper









































Visit Our Store »
Go Pro Today »




Thanks! =)
Yes, you do. Depending on the arduino you're using, please following the resistor values for a 5V or 3.3V arduino version.
Cheers
Please read through the entire instructable, you'll find helpful schematics on step 5 that states that the sensor is just like a variable resistor, and how you can perform the interfacing.
Hope that helps!
Thanks for your reply. I did read the through the entire instructable and I saw step 5 and the illustration for 5V. As I said I am a newbie so perhaps I'm misunderstanding something (although I've been reading a ton on electronics as well as beginning the MITx class EE). I used the Flex Sensor from Spark Fun and it too needs to be wired through a voltage divider. Your schematic in Step 5 looks like the schematic I used for the wiring of the Spark Fun Flex Sensor. So I thought I knew what I voltage divider was. In the Spark fun Flex sensor there is a lead that goes to VCC and one that goes to GND. My question was which of the leads in your Flex Sensor goes to VCC and which goes to GND ? Maybe it doesn't matter or maybe I'm missing something?
Thanks again!! and great instructable
It's great that you're picking up electronics and programming. I hope you have fun with the many adventures I'm sure you'll have. =) Makes life all the more interesting.
From what you have expressed in your post above, it seems to me (I could be wrong) that perhaps there's been a fundamental misunderstanding of what resistors or maybe just the flex sensors are, and its role in a voltage divider. If I may try to explain as plainly as possible from now on, so hopefully it clears some misunderstandings and make you go AH-HA! or OOOOH! out loud as you're reading.
For that, here's some background references for what I'm about to explain.
Since you're coming from a previous understanding of the Flex Sensor that Sparkfun carries;
âTutorial for the flex sensor I assume you're referring to:
http://www.sparkfun.com/tutorials/270
âThere's a great link on explaining what voltage dividers are here:
http://www.sparkfun.com/tutorials/207
"I used the Flex Sensor from Spark Fun and it too needs to be wired through a voltage divider."
Actually, The reference circuit given in the datasheet uses the sensor as a resistor to form part of the voltage divider. Because the flex sensor is just that. A resistor that varies when it bends. The same concept goes for the DIY Bend Sensor.
"In the Spark fun Flex sensor there is a lead that goes to VCC and one that goes to GND."
Back to my previous point. It's a resistor. Resistors have no polarity. The flex sensor's (carried by Sparkfun) leads are actually interchangeable. You don't actually connect one to VCC and the other to GND. It's used as R1 of a simple voltage divider circuit. So one goes to VCC, and the other lead to another resistor of a chosen value (pre-calculated) that connects to GND. In which case you then take the point in between the 2 resistors, and connect it to an ADC pin. (Refer to the voltage divider equation at this point)
To help visualize and maybe simplify things.. I made an image.
I really hope that helps.
http://www.instructables.com/files/deriv/FFQ/NG9W/H5TUCAFL/FFQNG9WH5TUCAFL.THUMB.jpg
So when you asked this before..
"My question was which of the leads in your Flex Sensor goes to VCC and which goes to GND ?"
Actually... I answered your question.
"the sensor is just like a variable resistor"
I really hope at this point, you've understood.
If you still don't, please point out which part you don't understand, and we'll try again from there.
Cheers.
Totally get it. Not sure where I picked up that Flex Sensors have polarity. Maybe I mistook the brown bit on the right wire in the Spark Fun Flex Sensor as indicating polarity. However, as I am beginning to understand in general, once one grasps these concepts more fundamentally, mistakes like that should be less likely to happen. I already knew that resistors don't have polarity and also how a POT works as a variable resistor creating a voltage divider. Just didn't get that the Flex sensor was essentially the same thing until you explained it. Thanks so much!!!
Glad I could help. And yeah.. gain as much experience as possible while learning. You'll find that doing will let you appreciate all the theory even more. It did for me.
Cheers
I do like your idea of plastic dip. And yes, I agree that better materials will really take this sensor's life time and perhaps performance to the next level. But at that time, I really had to make do with what I had lying around. And this instructable was the result =)
Thank you for the motivation. I really hope to be submitting more instructables very soon.
Perhaps you're referring to the part where I tried bending it further in the middle and the values didn't change. The thing is, there's a sweet spot to this bend sensor and that is where the jumper wire is.
It responds to the bend at that junction the most.
If there really is a fatigue.. I wouldn't be able to hit the max value and that was kinda based on the min and max values I was getting.
I've had some bend sensors that I made 2 years back and it still works with the same program and gives out the same reading. Perhaps there may be chance of fatigue reading on very constant use over a long period of time. But as of yet, I have not had the chance to do a thorough test like that.
Thanks for the keen observations. You made me ponder about the possibility of fatigue over regular use. =)
And thanks for the kind words dude!
That's a nice instructable, congratulations!!, but can you tell me an example where you use this sensor? I have a microcontroller and i'm experimenting with it.
Thank you very much
Thanks for the compliments!
I initially used it for a sign language translation glove. (alphabets) along with an accelerometer for some letters that required motion. (like the letter 'j')
There is an accelerometer on the OLED board that was used so I could just use that. Training (for the alphabet recognition) is stored in integer arrays and downloaded to the onboard Dataflash chip, and then just use the screen and audio as the User Interface. (Results on screen, audio reads out the words) Audio comes with the OLED board too. I used 10 of these in the end so I could have 2 gloves. One for each hand. They're all wired to the BCore100 (it's got 16 ADC channels so it's more than enough).
Does that help???
You could use it for simpler projects. like for gestures. 2 bend sensors is enough. (forward, backward, left, right.) things like that.
I use a NXP,LPC-1768. I'll use the sensor in a simpler project (jaja, i'm leaning now to program) in summer.Thank you for the examples and sorry for the late reply!!!
Ralph
I'll be interested to know what you did with it!
Cheers
Michelle
The concept is really simple actually. These bend sensors are essentially variable resistors. Like potentiometers, they have a range of resistance values.
If you check out the schematic that I did in one of the steps, it should help explain what the sensor really is.
The conductive bags that I used have surface resistance. (Surface Resistivity Max: 0.1Mohm/sq)
If you were to just take a bag, and use a multimeter on resistance measurement mode, try placing the probes with different distances from each other on the bag, you'll notice different resistance values.
The middle piece ( the larger one) that was sandwiched between the 2 thinner ones serve 2 functions.
1: It's only conductive on one side, so I had to fold it to get the total relative resistance of both sides of the sensor. During a bend, there will definitely be a difference in value. (one side bends more than the other)
2: It helps provide the difference in resistance compared to the thin ones, which helps with the overall bend value. I really should be able to explain this point but somehow, I can't. At least not in a way that would make electronic sense. Perhaps someone else would be able to explain it simply.
I hope this helps a little bit.
Cheers
Michelle
Hahhaha yeah. But the BlazingCore is great for writing up the U.I in a jiffy to show the test results.
Again, thanks for reading and for bothering to write something nice. Much appreciated! =)