Make an Arduino circuit that responds to a switch by changing the behavior of at east two LED’s. Connect your switch to a digital pin on the Arduino. Use the DigitalRead function to detect whether the switch is open or closed. Use at least two LED’s to respond to the state of the switch. You can refer to the Arduino button tutorial.
Document your project on the class blog under the “Arduino Switch” 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. Your project must incorporate an organic material. You can also try using creative materials for a switch (conductive dough, saline solution, tin foil), embedding your circuit in a physical object (e.g., a food item, a plant, clothing, a kitchen utensil), or a space that people inhabit.
This assignment is worth 4 points
2 points for creating an Arduino circuit and code where 2 LED’s respond to a switch
1 point for clear documentation that includes a description of how you made your project
1 point if your switch idea includes an organic material and is fun/creative