Servo Switch

Posted on Sep 20, 2017

Pen Switch

My first switch was very simple, I wanted to incorporate elements outside of the traditional breadboard circuit so I used the metal part of a pen to connect two circuit elements and complete a circuit and light up an LED. 

Servo Switch

I really wanted to get my hands into programming the arduino so I next made a switch that involves stringing a resistor into the arm of a small servo motor and using the arduino to control the movements of the motor so that it completes a circuit and lights up an LED. It’s a really bad switch on its own because it just cycles on and off so I added a button that lets you stop the motion of the servo motor when it is pressed (kind of jankily by mixing up the ground and the communication signals the arduino is sending to the servo). It starts moving again as soon as you unpress the button so if you want the LED to stay lit you have to keep your finger on the button. To move the servo I just used the SERVO_SWEEP_INO example code in the arduino IDE.