Get Started With the Bend Sensor

by cecilise in Circuits > Arduino

46444 Views, 486 Favorites, 0 Comments

Get Started With the Bend Sensor

IMG_9903.jpg

We started by looking at how the Bend Sensor is buildt up, and how it works.

We then looked at different areas we can see it beeing used in.

Finally we made a lamp were you can change colour of the light, and also the brightness of a LED.

You will find the steps of how to make your own lamp, including code and fritzing wireing at the end.

Helpful Links With Facts About the Bend Sensor

Curious Components | Ep 3 - Flex Sensor

Bend Sensor Build Up

The Bend Sensor consists of small conductive particles. When the sensor is straight (at rest) they are close together and provide 30 k ohms, nominal resistance value.

When bent, the conductive particles go further apart and the resistance value is incresed.

The more its bent the further apart the particles move, and the higher resistance it gives.

If bent the opposite direction, nothing happens to the particles. This means that the sensor only works in one direction. (The side with the stripes).

Basic Bend Sensor

fritzing_basic_kobling_1bend_bb.png

Get started with the Bend Sensor

Set up in fritzing

Basic code Arduino

IN USE

bilde.JPG

It does not matter if you bend just the tip or if you bend the whole sensor, it is the angle of bend that count.

It works up to 90 degrees. If you bend it further you risk braking it.

(The sensor only works in one direction, if you want both ways, you can add an extra sensor at the back of an other.)

Tip: If you add steel wire to your sensor you can keep it in place as you bend it, to avoid it bouncing back.

Securing

IMG_8808.JPG
IMG_8807.JPG

The Bend Sensor has two small legs that can easily break. We recommend that you secure it by having something steady around the foot of it when you bend it, (fex lego).

If you use it in a product, try two have the foot secured and hidden inside the product.

If soldering wires, be sure to protect the legs from breaking.

If you break it, it is fixable with some conductive ink, be aware that the readings may not be as good.

Calibration

07 Serial Monitor

Each time you connect it to your computer you need two map it again.
We found that I does not matter if you have the same code, board etc, you still need to map it again.

The way you do this is to look in the serial monitor, check the value you get when straight, type this in to your mapping, then bend to max and type in that number. Then you can map those values to your preffered values.

Be aware that the next time you connect it, you may have to do this process again.

Bend Sensor and Piezo

Bend Sound
Bend_Sensor_Piezo_bb.png
Physical Computing Mid-term Project - Music Controller Glove
Flex sensor piezo music

Testing a bend sensor and a piezo.

Fritzing sketch and Arduino code.

A quick and basic set up.

Worked out okay, need to check that the mapping is according to your readings to get the best tone results.

IDEA: One of our thoughts was to make an instrument out of the bend sensor.

Another idea was to make a phone speaker, that is attached to your phone. As you bend it you can turn up or down the volume, or even shuffle songs randomly.

Bend Sensor and Servo

Bend_Servo.gif
Bend_Servo_2.gif
Bend_Sensor_Servo_bb.png

Connecting the Bend Sensor to a servo.

A good way to visualize the sensor output. Accurate readings.

IDEA: We were inspired by all the robotic hands out on the web. We made our own mechanical finger out of lego and some thread, using the code as provided here.

Bend Sensor Glove Links

DIY flex sensor gloves for possible VR or video game control
Sensor Glove Driven Robot Hand

Bend Sensor and RGB LED

Bend_rgb_lamp.gif
temp-200-88357087.gif
Bend_Sensor_RGBLed_bb.png

Changing the colour of an RGB LED by using the bend sensor.

IDEA: Using the bend sensor and an RGB LED in a lamp, having the lampshade as the controller.

Bend Sensor and LCD

2014-10-02 12.32.12.jpg
fritzing_basic_kobling_medskjerm copy_bb.png

Connecting the bend sensor to a LCD screen.

Good for reading the sensor values on the screen.

IDEA: Our idea was to use this for a game that measures how strong you are. Putting the bend sensor onto something like a metal board, and giving each contestent the ability to show off how strong they are. While the LCD would write "superman!" to the winner or "chicken..." to the looser.

Bend Sensor and LED

Turning the LED off using the bend sensor.

IDEA: Using the bend sensor and a LED in a lamp, using the sensor as a switch.

Bend Sensor and LED

Bend_led_lamp.gif
Bend_led.gif
Bend_Sensor_LED_bb.png

Using a Bend Sensor to fade a LED.

IDEA: Using the bend sensor and an LED in a lamp, having the lampshade as the controller to fade og brighten the LED.

Multiple Bend Sensors

back2back_Bend_Sensor_bb.png

The Bend sensors reads from 0-90 degrees. If you want 180 degrees, it is possible to have two bend sensors, back to back. We tried taping them together, using A0 and A1 on the Arduino UNO board.

You can combine multiple sensors to cover a larger area/ two axes.
The one not doing the reading will have some small output that might interfare, this could be solved by mapping the numbers out of your feedback.

With two sensors you will be able to read e.g. a finger movement with one joint.

IDEA: Using multiple bend sensors in e.g. a glove gives more accurate readings of the different joints.

Bend Sensor As Wearables

Bend_Arm.gif
Bend_Knee.gif


One of the advantages with the bend sensor is that its flexible. This makes it a good sensor to use in products related to the human body.

IDEA: Our idea was to use the sensor as part of a physiotherapy program. Where the sensor provides feedback on whether you have done your exersise correctly or not.

Links:

https://www.instructables.com/id/Squat-Sense/

https://www.instructables.com/id/Arm-Flex-Sensor-Sl...

http://www.kobakant.at/DIY/?cat=179

Bend Sensor DIY

Flexie

IMG_9903.jpg
Flexie Bend Lamp
IMG_9868.jpg
IMG_9866.jpg
IMG_9865.jpg
IMG_9870.jpg
IMG_9871.jpg
IMG_9869.jpg
IMG_9873.jpg
IMG_9872.jpg
IMG_9875.jpg
IMG_9874.jpg
IMG_9876.jpg
IMG_9877.jpg
IMG_9878.jpg
IMG_9879.jpg
IMG_9907.jpg
IMG_9909.jpg
IMG_9906.jpg
IMG_9898.jpg
IMG_9902.jpg
IMG_9899.jpg
IMG_9897.jpg
IMG_9895.jpg
IMG_9894.jpg
IMG_9891.jpg
IMG_9890.jpg
IMG_9889.jpg
IMG_9888.jpg
IMG_9918.jpg
lampe_bb.png

To sum up our findings on the bend sensor, it seems like it is most adaptable to organic shapes because it is so flexible. At this stage in our prosess our sensors were a bit worn out (readings jumping all over the place), so we chose to work with light.

Light does not need the readings to be as accurate to show changes.

By following the pictures you can make your own Flexie lamp.

One bend sensor control the LED, adjusting brightness.

The other sensor controls the RGB, changing colors.

By bending the lamp shade you can control the light output from the lamp.