capsense and organic materials · 6.10.2014 · capacitance • the ability to store electrical...
TRANSCRIPT
-
CapSense and organic materials
Interactive materialsspring 2016
Stacey [email protected]
-
Schedule• Monday (today)
– Review transistors / last week’s challenge– capSense– Paper presentations
• Wednesday (Feb 24)– Max MSP Lecture (interfacing Arduino w Sound)
• Monday (Feb 29)– Qualitative research methods– Practice fieldwork methods– Prepare for Wednesday
• Wednesday (March 2)– Midterm!
-
Capacitive sensing• Low or no force sensing• Detect touch through insulating material (plastic,
wood, ceramics)• Detect proximity to conductive material (fruit,
tin foil, metal)• A thin layer of insulator (tape or paper) can
create a pressure sensor
-
Capacitive sensing
-
Capacitive sensing Send Pin Receive Pin
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin eventually gets HIGH value
-
Capacitive sensing• A measure of time• How long it takes for the sense pin to change
state• Time = R * C
R = resistor
C = capacitance at the receive pin, plus any other capacitance (e.g. human body interaction) present at the sensor (receive) pin
-
Capacitance• The ability to store electrical charge• Everything can store charge!
-
Capacitor
-
Capacitor
-
Capacitor
electroly9c dielectric
-
Capacitor • Capacitance: how much charge it can store • One farad (F) is the capacity to store one unit of
energy (coulombs) per every one volt
-
Capacitor • Capacitance: how much charge it can store
-
Capacitor
-
Capacitor
-
Capacitor
-
Decoupling/bypass capacitor • Make your circuit more stable
– If there is a temporary drop in power, caps can supply voltage
– Caps “bypass” the drops in “big” power supply • Filter certain frequencies and noise
– Store or smooth power ripples – Advanced signal processing (filter out low
frequencies, allow high frequencies)
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin eventually gets HIGH value
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin eventually gets HIGH value
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin eventually gets HIGH value
This is sort of like a capacitor
-
Capacitive sensing Send Pin sends “HIGH”
Receive Pin eventually gets HIGH value
This is sort of like a capacitor
This is actually a capacitor 4 2
-
hAp://playground.arduino.cc/Main/Capaci9veSensor?from=Main.CapSense
-
hAp://playground.arduino.cc/Main/Capaci9veSensor?from=Main.CapSense
-
Include capSense library
-
Declare what pins capSense is hooked up to
-
Experiment with autocalibrate
-
Get capSense values
-
Print a bunch of Debug stuff
-
What is this number 30?
Cart 61 – 90
-
Pin 2 is the sense pin
Pin 4 is the send pin
-
Capacitive sensing Receive Pin
Pin 2 Pin 4 Send Pin
-
Capacitive sensing Receive Pin
Pin 2 Pin 4 Send Pin
I need a resistor here
-
Cool, but what value should I use??
-
hAp://playground.arduino.cc/Main/Capaci9veSensor?from=Main.CapSense
-
Maybe I will start with 5 megaohm…
-
Am I done??
-
Am I done??
-
Am I done??
-
Am I done??
-
Am I done??
-
Capacitive sensing Receive Pin
Pin 2 Pin 4 Send Pin
A capacitor will make this circuit more stable
-
Cool, but what value should I use??
-
hAp://playground.arduino.cc/Main/Capaci9veSensor?from=Main.CapSense
-
hAp://playground.arduino.cc/Main/Capaci9veSensor?from=Main.CapSense
-
Maybe I’ll start with 200pF