Flex Sensor
Flex Sensor
A flex sensor or bend sensor is a low-cost and easy-to-use sensor specifically designed
to measure the amount of deflection or bending.
It became popular in the 90s due to its use in the Nintendo Power Glove as a gaming
interface. Since then people have been using it as a goniometer to determine joint
movement, a door sensor, a bumper switch for wall detection or a pressure sensor on
robotic grippers.
Flex sensors are generally available in two sizes: one is 2.2″ (5.588cm) long and
another is 4.5″ (11.43cm) long.
Construction
A flex sensor consists of a phenolic resin substrate with conductive ink deposited. A
segmented conductor is placed on top to form a flexible potentiometer in which
resistance changes upon deflection.
Directions to Use
Flex sensors are designed to flex in only one direction – away from ink (as shown in
the figure). Bending the sensor in another direction may damage it.
Also take care not to bend the sensor close to the base, because the bottom of the
sensor (where the pins are crimped on) is very fragile and can break when bent over.
When the sensor is straightened again, the resistance returns to its original value. By
measuring the resistance, you can determine how much the sensor is bent.
This way you can create a variable voltage output, which can be read by a Arduino’s
ADC input.
Note that the output voltage you measure is the voltage drop across the pull-down
resistor, not across the flex sensor.
In the shown configuration, the output voltage decreases with increasing bend radius.
For example, with 5V supply and 47K pull-down resistor, when the sensor is flat (0°),
the resistance is relatively low (around 25kΩ). This results in the following output
voltage:
When flexed all the way (90°), the resistance rises to 100KΩ. This results in the
following output voltage: