03/04 Self-made Flex Sensor

Self-make Flex Sensor

03/04/16

  • Second exercise on making motion sensors
  • Materials: Conductive fabric/thread, Fabric, Resistance Plastic
  • Concept: The resistance plastic will change resistance value through the bending motion.

 

  • Button Making:

IMG_4643

Key point: the two pieces of conductive fabric should not be touching whenever position and motion the sensor is in. Otherwise the circuit will cause a short.

 

  • Button Testing:

IMG_4642

Using the build in Example of AnalogReadSerial to get the mapping value of the sensor. The result is 750 low and 1050 high.

  • Serial Reading Code:
  • LED track test:
  • Connect the LED and the flex sensor:

IMG_4648

  • Led Color change code:
  • Lightening test: