SOFT SENSORS
week seven
For the soft sensors we used semi conductive antistatic foam and conductive fabric. At the beginning we put the fabric on each side of the foam and sewed them together so they won’t slip away. Then we put a aligator clip on each side of the fabric and measured the resistance unsing a multimeter in a calm condition (no pressure) and then we measured the resistence while pressing the fabric. The harder you press the material the less resistance it has and it means that voltage is increasing.
Next, connect the foam and fabric to the Arduino and use a resistor, so there is not to much voltage. We used the resistor which is equal to the resistence we measured in the calm condition.
Connect the restistance to one of the aligator clips which is connected to the GRD. The other side of this aligator clip goes to A0 and the second aligator clip should be connected to V5.
open Arduino on your computer and go to File/Examples/Analog/AnalogInOutSerial and change the pins to those you are using.
Connect the Arduino to the computer and check the Board and the Port, the upload your code.
In the right top corner you can find an icon of Serial monitor. If you press on it, a new window will be opened in which you can see in real time parameters from your sensor.