Circuit

Here is the circuit to use to connect your soft switch to an Arduino. These swatches use the button sketch in the examples.

BUTTON

Momentary switches (aka push buttons) stay open as long as you hold them by pressing conductive materials into contact.

Demo

Construction

STROKE SENSOR

Close the circuit by pressing conductive materials into contact.

Demo

TOGGLE

Press, zip, slide, etc two pieces of conductive material together. These stay open in one position and closed in the other.

SNAP

Demo

Construction

ZIPPER

Demo

Construction