Introduction: The Cheapest (20 Cents) Flex Sensor
Hello everybody, this is a project made in order to build a robotic hand for an open day in university, to give visibility to a student association of which I belong, that engaged in promoting free and open source software.
I was searching for cheap flex sensor, I'm a student and I wouldn't spend too much to build the hand. I found the solution realizing flex sensor with a photoresistor and a led, adding the resistor that the led and the photoresistor need directly in the sensor, in order to have a plug-and-play sensor with 3 wires to be connected: one for power supply, one for ground and the last for the data.
I hope that you'll appreciate my work, enjoy it and make your own flex sensor almost without money! :-)
...and, if you like it, vote it in some contest, thanks! :-D
Step 1: How It Works?
It's a simple "trick"; we will use the photoresistor as the provider of the flexion of our device: there will be a straw between our led and the photoresistor, so, when the led will produce light, the intensity of it will be read by the photoresistor; modifying the position of the straw, it will arrive more or less light to the photoresistor, depending on the position of the straw. The photoresistor will read this value and convert it into an analog value, so we could use it as we prefer to analize the bending of our device, and all we possibly want to associate with it.
Let's see what we need to build it!
Step 2: Ingredients
The cost for one sensor is made by (prices found on aliexpress.com):
- 1 led (I used a white one): <0,10$;
- 1 470 ohm resistor: <0,01$;
- 1 10 Kohm resistor: <0,02$;
- 1 photoresistor: <0,04$;
- 30cm of copper wire, approximately, for excess: <0,01$;
- 20cm of insulating tape, approximately: <0,01$;
- 1 plastic straw: <0,02$;
I think that is an affordable price also for a poor university student! :-)
The other tools required to make you own sensor are:
- a tin welder, with some tin;
- a glue gun with glue (optional).
Here we are, go make it!
Step 3: Where to Start?
We have to build the connections indicated in the scheme picture.
We can start connecting the resistor and making longer connection, adding pieces of copper wires.
On the other side of the copper wire, we can add the led, and then connect the "extended led" to the 470 ohm resistor on the anode (the longer part), and the other will go to the ground.
We can add the photoresistor, unifying one side with the led ground (it's indifferent which side to take for the photoresistor), and then splitting the other side between the power supply wire and another wire that will be the data that the photoresistor will provide to our microcontroller.
You could see that I use female attachment on the connection side of the copper wire, but it's only a comfort choise, based on the fact that the wires have been taken from an old computer case, so... there where included in the price! ;-)
Bend the led as shown in the photo, and put the light into one end of the straw; on the other side we will insert the head of the photoresistor, in the best way that allow receive light from the led.
Step 4: Fixing All the Connections
It's a good idea to fix every our connection first with tin welder, and then assure them with glue gun. Alternatively, we can isolate connections with some insulating tape. You could use what you have, but insulating tape will be stronger to block any connection changes.
Step 5: Insulating Tape, Insulating Tape Everywhere!
At the end of our work, we can cover our home-made sensor with the insulating tape, always our friend when there are home-made hardware project to make! :-)
Step 6: Home-made, and Proud of It!
At the end, we will have something like what shown in the photo.
Hoping that you'll appreciate it, remember to vote me in some contest, if you want! :-)
Runner Up in the