Jacob’s capSense pear led

My video

I kept it very simple and used a pear as my organic material to trigger the led.

Here is my code

#include <CapacitiveSensor.h>
CapacitiveSensor   cs_4_8 = CapacitiveSensor(4,8); // 1M resistor between pins 4 & 8, pin 8 is sensor pin, add a wire and or foil
void setup()
{
   cs_4_8.set_CS_AutocaL_Millis(0xFFFFFFFF);// turn off autocalibrate on channel 1 – just as an example
   Serial.begin(9600);
   pinMode(7,OUTPUT);
}
void loop()
{
 long sensor1 =  cs_4_8.capacitiveSensor(50);
    Serial.println(sensor1);  // print sensor output
   if(sensor1 >= 1000)
   {
    digitalWrite(7,HIGH);
   }
   else{
    digitalWrite(7,LOW);
   }
}

Jake Sully’s Hand Crafted Analog Sensor

The first idea I had for this project was a salt water mixture that I could add more salt to decrease the resistance. A few failed attempts later and I shifted gears to a slide sensor. I first took Conductive tape and connected those in a series so that I could slide one taped surface against the other. Due to how well the conductive tape conducts I was not able to vary the resistance by sliding away from the contact point. It was suggested to try conductive yarn so I used a combination of yarn and tape.

 

Sullivan’s Soft Switch

16176270_10154271075278034_2055020857_nFor this project I kept it simple by using the blink code provided in the Arduino library.

I choose to do the paper circuit reading assignment, as a result I combined the reading assignment with this switch assignment. I used conductive tape as my switch and created paper clip and alligator clip wires to attach