Flex Sensor | Code | Circuit | Pin configuration

Flex sensor

A Flex sensor is an electronic device. Flex Sensor is also called  Bend sensor as it is used to measure the amount of deflection or amount of bending angle. Flex sensor has bending nature. Based on the bending angle, the internal resistance of the sensor will vary. The bending angle is directly proportional to the internal resistance, if it straightens the resistance will be in a normal state, and if you try to bend the sensor the resistance will start increasing, simply that it is the type of variable resistor.


Model number: FS-L-0095-103-ST

FS-Series (Flex sensor)

L-model (Linear)

0095-Active length (95.25mm)

103-10k ohm

ST-Connectors (Solder tab)

Other names: Bend sensor, Flex sensor.

Other Related Devices : SEN-10264,FS-L-005,FS-L-0112



Pin configuration

It has two pins, it does not have any polarities, so we can connect in any way like a general resistor.



  • Default linear to the surface
  • Bending nature
  • Available sizes: 2.2, 4.5 inch


 Technical specifications

  • Operating voltage:3v to 5v
  • Flat resistance: 10k ohm
  • Bend resistance: 60-110k ohms
  • Life cycle: >1 million
  • Operating temperature:  -35 ̊̊C to 80  ̊C


Where to use Flex sensor

Applications like identify the  Flat surface or level anything

  • Example-1: To check the fallen rooftops in underground mining, when the rooftop ready to fall flex sensor gives an alert indication.
  • Example-2: Dumb people can communicate only with their fingers(sign-language), we observe that if we arrange flex sensors to their fingers, microcontrollers, speakers then we can generate an audible voice with their sign-language.
  • Like this user has to check whether it is applicable in your applications or not

How Flex sensor work

In the normal state, the resistance may be roughly 10k ohm, if it bends resistance increased further to reach up to 90k ohm. Flex sensor has no polarities like a general resister you can interface in any direction. The bending nature of the flex sensor will increase its resistance, when it is bent up to 45  ̊ bends the angle resistance will increase as twice as before, and for 90  ̊bend angles the resistance four-time It's normal resistance.

Flex Sensor

 How to use Flex sensor | Arduino with Flex sensor

Flex sensor has two pins and its output voltage depend on the internal resistance, this internal resistance is changed by bending nature, first, we have to interface with the microcontroller-ADC channel, after that simply we can read the data at ADC-channel.


Circuit diagram



Arduino code

Circuit explanation

Flex sensor is connected to ADC-channel(A0), we will get the voltage variations at A0 pin by using the function “analogRead(flex_value) “ .so we can easily get the flex sensor bend values data and print those values using “Serial.print(analogRead(flex_value))” function.






  • Angle Displacement Measurement ends and Flexes physically with the motion device
  • Possible Uses
  • Robotics
  • Gaming (Virtual Motion)
  • Medical Devices
  • Computer Peripherals
  • Musical Instruments
  • Physical Therapy


Other articles


RGB-Color sensor

PIR Sensor.

Post a Comment