Connect a soft switch to Arduino
Demo video IMG_0783
I used a switch from the swatch exchange and uploaded the “Blink” example to control the LED.
Connect a sensor to Arduino
Demo video IMG_0777
Step 1: Set up the LED
Step 2: Build the pressure sensor
Step 3: Connect to Arduino
I added one if/else and set two thresholds – 450 and 900. When the sensor value is between 450 and 900, the LED will blink slowly. When the sensor value is larger than 900, the blinking will be much faster.
For my midterm project, I would like to combine the open-weave pendant style with LED and create a lamp.