- Switch connecting to Arduino:
I used a switch to turn on/off a LED.
2. Sensor for Arduino:
I created a pressure sensor to dim up/down the LED connected.
And here is the code for the sensor:
3. Midterm idea:
For my final project, I want to create a 3D paper bird lamp, so when you pull its tail up, the light would turn on, and then when the tail is down, the light will turn off.
Here is a paper prototype of it without a tail. And here is the design plan for the tail and how it is going to integrate with the circuit: