Assignment : Connect one of your paper or fabric switches to an Arduino digital pin and have it turn on an led when the switch is pressed. Use the Arduino Button code find in the Example menu.

This slideshow requires JavaScript.

Push-down with LED & button:



Push-down with LED & soft switch:


Push-down with LED & soft switch using AnalogInput Code (using PMW pin)

soft switch materials:
-fabric
-conductive fabric
-velostat
-alligator clips

button switch code
sourcecode
analogInput switch code (PMW pin)
sourcecode

Advertisements