Soft Sensors
Circuit
Here is the voltage divider circuit to use to connect your soft switch to an Arduino. If you want to learn more about voltage dividers, check out this post by Sparkfun or this post by Kobakant.
Code
Here are links to different Arduino sketches you can use with these sensors:
- Fabric Sensors. This combines smoothing, constrain, and mapping. It will work with bend, stretch, and pressure. You just need to adjust the numbers where specified in the sketch.
- Analog Tilt Potentiometer
- Reading Sensor Values with Mapping
- Constrain
- Smoothing
- Calibration
- Calibration with Serial
- Calibration with Smoothing
Sensors
PRESSURE
When pressed, the resistance decreases allowing more electricity to flow through the circuit. Use this to track pressure/weight on an interface or object.
VELOSTAT
Demo
//coming soon!
Construction
Code
Diagrams:
EEONTEX
Demo
Construction
Code
Diagrams:
BEND
Resistance decreases as bent and more contact is made. Very similar to a pressure sensor, but better for measuring joint movement.
Demo
Construction
Code
Diagrams:
POTENTIOMETER
Adjust resistance by connecting conductive and resistive material through a wiper at different points in the circuit. The farther away, the more resistance.
KNIT CIRCULAR POTENTIOMETER
Demo
Construction
Code
Diagrams:
FABRIC LINEAR POTENTIOMETER
Demo
Construction
Code
Diagrams:
ANALOG TILT SENSOR
Demo
Construction
Code
Diagrams:
STRETCH
The more a resistive material is stretched, the more its resistance will increase because it has more surface area to cover.
FABRIC
Demo
Construction
Code
Diagrams:
KNIT
Demo
Construction
Code
Diagrams: