A servo that is controlled by a tilt switch.

This is a tilt switch controlled servo motor. Materials Needed

-Arduino -Breadboard -Jumper Cables -Servo Motor -Tilt Switch -10k Resistor

Connect Using the Fritzing Diagram

Basic Idea is that when you tilt your breadboard, the servo motor will spin to a specified angle.

In the program, you can easily change the amount the motor turns. It doesn't have to be 90º all the time.

*code is included