Flex Sensor
Flex Sensor
FLEX SENSOR
The flex sensor pictured below changes resistance when bent. It will only change resistance
in one direction (out of the screen in relation to the picture below). An unflexed sensor has a
resistance of about 10,000 ohms. As the flex sensor is bent, the resistance increases to 30-40 kohms
at 90 degrees. The sensor measures 1/4 inch wide, 4-1/2 inches long and 0.19 inches thick.
If R2 = 33 kohm, and the input voltage is 5 volts, then the output voltage will be in
the range from 2.8 to 4 volts. The positive power to the op-amp can be 5 volts and the
negative power to the op-amp can be 0 volts.
2.2 Features
All the switches should be connected so that they are “on” when in the “down” position, so that
“down” generates a logic 0 (low) and “up” provides a logic 1 (high). The switches should also be
arranged so that data bit D7 is on the left, and data bit D0 is on the right. In this way, binary
numbers can be entered the right way round. Initially, the contrast control should be adjusted fully
clockwise, so that the contrast control input (Vee) is connected to ground. The initial settings of the
switches are unimportant, but it is suggested that the RS switch (S10) is “up” (set to logic 1), and
the E switch (S9) is left unpressed. The data switches, S1 to S8, can be set to any value at this
stage. All is now prepared to start sending commands and data to the l.c.d. module.
Fig-FLEX SENSORS UNIT