Introduction: Computerized Spinning Button
Step 1:
Take a 20 inch long piece of 1 1/2 inch OD acrylic tubing along with an HS-311 servo motor, Arduino Uno, and 9 volt battery with holder and integrated battery switch. Add a printed button, string, end pieces and servo motor holder.
Printed parts and design files can be found at:
http://www.thingiverse.com/thing:123939
Printed parts and design files can be found at:
http://www.thingiverse.com/thing:123939
Step 2:
Insert the end pieces into the tube.
Step 3:
Add the servo motor holder.
Step 4:
Drill out the end of the servo horn so that a piece of string will fit.
Step 5:
Insert the servo motor and servo motor cover.
Step 6:
Run string through the button and both ends. Cut and tie.
Step 7:
Wire according to the schematic.
Program the Arduino with the following complex code:
Program the Arduino with the following complex code:
#include <Servo.h>
Servo button;
void setup()
{
button.attach(7);
}
void loop()
{button.write(30);
delay(500);
button.write(105);
delay(500);
}
Step 8:
Wind the button up and turn on the switch.
Now, your days of tedious button spinning are over!
Now, your days of tedious button spinning are over!