[ Log In ]
Flex Sensor - Sensing Bending and Displacement

55.37mm (2.18 Inch) Flex Sensor

$8.50
Qty:
Type K Thermocouple Temperature Sensor

Type K Thermocouple - Temperature Sensor

$4.95
Qty:
Ultrasonic Distance Measuring Range Finder

Ultrasonic Range Finder - Distance Measuring Transducer Sensor

$4.95
Qty:
PIR sensor on dark background

PIR Sensor - Pyroelectric Motion Sensor

$9.95
Qty:
Newbie Hack Shirt Back
ADXL 345 Accelerometer breakout with headers

ADXL345 Breakout board (I2C/SPI)

$27.95
Qty:
10 DOF IMU (Inertial measurement unit) top view

10 DOF Inertial Measurement Unit

$49.50
Qty:
Triple Axis Magnetometer product view

Magnetometer Triple Axis Compass i2c

$14.89
Qty:
Top view of the temperature humidity sensor

Temp/Humidity Sensor

$9.90
Qty:
Temperature Sensor Probe view from top

Platinum Resistance Temperature Sensor Probe

$3.95
Qty:

Flex Sensor - Senses Bending and Displacement

Flex Sensor - Sensing Bending and Displacement Back side of the flex sensor Voltage divider circuit for the flex sensor
Flex Sensor - Sensing Bending and Displacement Back side of the flex sensor Voltage divider circuit for the flex sensor

Introduction:

Measure bending and flex with this sensor. The more this sensor is bent, the more resistance will be across the leads. 55.37 mm (2.18 inches) in length.

Description:

In its flat position, you can expect 25K ohms of resistance. All resistances will have a 30% tolerance. According to the datasheet, bending the sensor, you can expect a max of 125K ohms of resistance. Check below what my own tests yielded.

You will be able to bend and flex this sensor more than one millions times. The flex sensor can handle a continuous power of .50 watts, but don't exceed 1 watt.

This flex sensor can be applied in so many ways, like robotics, medical devices, gaming haptic feedback, user interface devices for computers, musical instruments, physical therapy, or many other uses. Imagine using this in a glove to sense the fingers being bent or using it to vary pitch in a sound. The possibilities are endless.

To apply this in a scenario for microcontrollers, you will want to use it with the ADC (analog to digital converter). You will need to use this in a voltage dividing circuit.

You can see the voltage divider circuit in the image. Applying this voltage divider, you will notice that R2 cannot be modified to product a full range of voltage from, say 0v to 5v. So you will need to pick a value that will give you the most range for Vout as possible. In my tests, R1, the flex sensor, gave me about 24k to 25k in its straight position and about 70k in its bent position. Now you can apply this to the voltge divider formula. I make quick work to find the widest possible range simply by using Excel and plugged in the voltage divider formula. I found that 42k gave me the best range showing a difference of 1.259. At the 25k (flat position), the Vout would be 3.13V and at 70k (fully bent), the Vout would be 1.875V. At 10-bits of ADC, that would give you a fair amount to play with.

So, what if you didn't need the flex sensor to bend that much. Say, you wanted only a slight bend. Let's make the bend range from 25k to 40k. You would want to select a 32k resistor for R2 which would give you a voltage range of .5847

55.37mm (2.18 Inch) Flex Sensor

$8.50
Qty:

Learn about the Flex Sensor - Senses Bending and Displacement

To have the microcontroller read a pressure sensor, the sensor is connected to the ADC (Analog to Digital Converter). In this case, the sensor is connected to the pin 0 of the ADC (PORT A). AVCC (...
When the pressure sensor is tested to see the raw ADC 10-bit data on the LCD, the actual data did not appear. In the program, the bitwise operation for shifting and setting the ADEN (ADC Enable) to 1...
The LCD shows the results of a raw output from the ADC reading the pressure sensor. A simple test of the pressure sensor was made successfully.
This is a great vacuum pressure sensor that can sense up to about 40 inches of mercury (Hg) which is -115 KPa (Kilopascals). This range is perfect for many industrial uses for vacuum, including pick a...
The LCD library and initialization is established. The interrupts for the ADC is started and a string is sent to the LCD. This is to get ready for the pressure sensor program. A string is sent to t...