Using one of the techniques we learned in class, create an analog sensor. For instance, you might create a sliding potentiometer using conductive yarn and beads, a rotary potentiometer out of conductive fabric and felt, or a pressure sensor out of conductive thread and fabric. You can refer to the Handcrafting Sensors guide for more ideas.
Connect your sensor to an analog pin on the Arduino and use the AnalogRead function to process the input. As an output for your sensor, use the AnalogWrite function to control an LED or buzzer with PWM. For instance, your circuit might respond to pressure, tilting, or stretching with variable brightness or sound. If you use light as your output, you must use a LilyPad LED (not the basic ones we’ve been using in class).
Document your project on the class blog under the “analog sensing” category. Include a photo or video, a diagram, and a brief description (2-3 sentences).
To receive full credit for this assignment, you must go beyond what we did in class. You must use an organic material in your project.
This assignment is worth 4 points
2 points for creating an Arduino circuit and code for processing input from an analog sensor and a PWM-controlled output (sound or light)
1 point for clear documentation that includes a description of how you made your project
1 point if your project includes an organic material and is fun/creative