3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

The Most Useless Machine EVER!

Step 2How Does It Work?

How Does It Work?
«
  • Cherry switch.jpg
  • guts.jpg
Inside the box is an geared motor powered by double A batteries and two switches: a toggle switch on the top of the box and a micro-switch inside. That's it.

The switches are positioned to be limit switches for the motorized arm. The toggle causes the motor to reverse, while a micro-switch powers down the circuit when the arm finishes retracting back into the box.

When idle, the circuitry is fully powered down. The toggle is “Reverse” direction, and the micro-switch is being held in the off position by the servo arm.

Keep in mind the micro-switch is wired up so that it works completely opposite from a normal switch like you would find in a doorbell. By using the common pin and the normally closed pin the micro switch is “OFF” when it’s button is being pushed.

When a person turns the toggle switch to the forward position, it also provides power to the motor causing it to rotate the arm towards the toggle switch.

As the arm moves away from it's off position it releases the micro-switch providing the backup power needed for the motor to retract after the toggle switch is turned off.

When the toggle gets switched “OFF” it actually reverses the motor’s direction. The arm reverses direction returning towards it's 'OFF' position. When the arm runs into the micro-switch it stops.

The toggle switch needed is a Dual Pole, Dual Throw (DPDT) toggle switch. This type of switch is actually a pair of switches which operate together (Dual Pole) and both are On-On (Dual Throw).

« Previous StepDownload PDFView All StepsNext Step »
27 comments
Jul 18, 2011. 9:14 AMlukeD says:
what if you are faster than the robot, and turn it off by yourself?
Jul 11, 2010. 10:25 PMsirfag says:
thanks mate it works great exept i need a box
Jul 11, 2011. 6:13 PMHack/Slash says:
I just bought a nice little box over at Lowes. It's a kids "build it yourself" Jewelry Box. It only cost $8. It's precut pieces that you just tack together. May be a little tight with all the wires.....
Jul 12, 2010. 4:40 PMPierce 93 says:
I just finished mine, and I have to say the box was the hardest part, well making it look good was hard anyway. (I made mine from scratch.) I think going SaskView's route might be better.
Mar 29, 2010. 10:55 AMKenCan says:
Awesome!
How about:
- a rubber finger or glove to cover  the wooden arm?
- a doll's arm lashed to a shortened wooden arm?
- a dime store rabbit's foot?

please try and then post, somebody! I'm creeped out already
Mar 28, 2010. 8:19 AMTroyboyd says:
 made me laugh so hard xD
Feb 27, 2010. 4:58 PMmuskogee says:
can i do this with a continuous rotation servo? i have one frome my boe bot
Feb 23, 2010. 1:56 PMFootball viking boy says:
I thought this was soooooooo funny!
Jan 29, 2010. 10:04 PMjudobrian says:
Is there a secret to getting the geometry of the push arm down?  Its the last thing Im stuck on and my project is complete.  I've been creating 1/3 circles off my servo 'arm' but it never seems to quite do the job....  The one in the images above seem to be more of an "L" shape...  Thx
Jan 30, 2010. 8:35 PMTheMONKEY says:
I messed with it for awhile till I figured out it was a resister to make my servo go down farther After that my first arm worked great
Jan 5, 2010. 8:43 AMcompukidmike says:
Great instructable! I just built one for myself yesterday! I would like to point out for those of you who don't want to build the electronics portion or don't have the parts, it can be completely eliminated. I modified the servo for continuous rotation (by removing the internal stop) and then soldered the red and black wires directly to the motor inside the servo, bypassing the electronics inside. Now it's just a motor with a gearbox. This allows you to use just the two switches to make the motor change direction and stop. I attached a schematic of how I hooked it up(the resistor represents the motor).

Overall, great instructable! And thanks for the idea!
Jan 7, 2010. 11:09 PMcompukidmike says:
For those that have asked, here's a pic of the inside of the one I built. I also attached a video of it in action. The lid of my box is very thick, so It wouldn't open easily the way SaskView's did, so I left it opening the way it came. It still works just fine, as seen in the video.
Jan 17, 2010. 1:26 PMjudobrian says:
What degree of rotation does your servo get?  I notice when I run mine (not in the box yet, but just the circuit by hand) I only get ~90 degrees of travel.  Is this normal?
Jan 18, 2010. 9:32 PMtww1fa says:
 90 degrees is considered the "standard" servo movement with control pulses between 1 and 2ms. However, most servos will actually handle about 120 degrees without a problem by going out of the 1-2ms range for the control pulses.
Jan 19, 2010. 4:49 PMjudobrian says:
Thanks for the reply!  Looks like my servo is working properly  I have another question, is there a trick to getting the white piece off here?  I'd like to remove it and attach my swing arm but undoing the screw doesn't do much.  Should the metal piece screw out or pull straight out?  I dont want to mess with it without knowing how to do it properly because its the most $$ piece of this project.  OR should I just trim down the white piece?  I need to align it better anyhow....  Thanks in advance

<img src="http://imgur.com/BDOKC.jpg" alt="Hosted by imgur.com" />
Jan 19, 2010. 5:19 PMtww1fa says:
 Followup on my earlier reply - I didn't notice the link to the photo. From what I can see, both the metal bit and the white plastic gear thing should just pull off once you remove the screw in the middle. It might be somewhat tight but nothing else should be holding it in place unless someone glued it. Note that the shaft is probably 3/16" - 1/4" into the white thing, so there might be quite a bit of friction.
Jan 19, 2010. 6:14 PMjudobrian says:
yeah, sorry I didnt post the pic properly and couldnt find a way to edit my comment. 

Ok so if I pull the metal bit and the plastic gear straight out I should be fine.  Thanks!  I just wanted to make sure it wasnt attached to anything on the inside (obviously once I remove the screw holding it in).

Appreciate it!
Jan 19, 2010. 5:15 PMtww1fa says:
 By "white piece" you mean the little arm with holes in it that fits on the servo shaft? To remove it it should be sufficient to remove the screw and pull. I don't know what "metal piece" you're referring to unless you're using a servo with a metal shaft... usually the servo shaft has teeth and the servo arm fits over the shaft and screws in place. You can pull the arm off, turn it a few degrees until the next tooth engages and push it back in. That's how you get coarse adjustment on the arm.
Jan 10, 2010. 4:21 PMpatrickmccb says:
 every thought of making a kit? if not i would love to :D
Jan 10, 2010. 6:55 PMcompukidmike says:
I thought about it, but I don't have the time or resources. Go for it!
Jan 8, 2010. 7:09 PMpatrickmccb says:
Jan 8, 2010. 8:21 PMcompukidmike says:
Very nice! I like how fast it is!
Jan 8, 2010. 9:12 PMpatrickmccb says:
 thanks alot for the picture and schematic of yours. First time i modified a servo but it worked out ok :D.
Jan 7, 2010. 8:32 PMHHL says:
Isn't the third switch more useless than the machine itself?
A power switch for a machine whose sole job is to switch of itself.
Or am I missing something here?

lol
Jan 7, 2010. 10:15 PMcompukidmike says:
There are only two switches. S1 in the schematic is a DPDT(Double Pole Double Throw) so in effect, it is two switches in one, allowing you to switch two things with one lever.

The other switch is so that the servo stops when it retracts.
Jan 7, 2010. 7:06 PMwwslubs says:
Hey, I have good soldering skills but I'm not very smart when it comes down to electronics, especially schematics.  Would you mind explianing where and what I need to solder/connect or provide a link that I can learn how to read this?  
Jan 7, 2010. 10:10 PMcompukidmike says:
Here's a link showing what all the different schematic symbols are...
http://www.kpsec.freeuk.com/symbol.htm

I don't want to just give you a link, so I'll try to explain it. I've attached a photo of the insides of mine showing how I connected everything. Keep in mind that the battery or servo connections may need to be reversed if the servo goes the wrong way when you try it.

If that doesn't help, let me know and I'll try to explain it better.
Jan 17, 2010. 6:21 PMtmcalhoun says:
Hello i have a question on the SPDT switch. Is there a wire going to the middle of it and then to where?
Jan 17, 2010. 7:38 PMcompukidmike says:
I pulled the switch out of something else, so it already had wires attached. The middle wire isn't attached to anything.
Jan 20, 2010. 8:40 AMtmcalhoun says:
Great. I finally received my servo in the mail and put my box together. It works Awesome. Thanks for the easy work around of the electronics. Now what else to do with a servo. I bought 2.
Jan 8, 2010. 5:41 PMpatrickmccb says:
 made it and works :P, thanks for the schematic.
Jan 8, 2010. 1:07 PMwwslubs says:
First, are the lines shown correctly pointing to where you soldered them?  Two, for the dpdt switch does it matter if the switch is reversed, or due I have to solder them to specific pins?  Three, I am modifying a servo for the motor, do I have to resolder the wires directly to the motor and can I just leave them the way they are?  Four, do I just not use the white/yellow wire from the servo after modifying it now?

Thanks for all the help and I hope this helps other people with the same questions.
Jan 8, 2010. 7:01 PMcompukidmike says:
1) The lines are pointing to where I soldered them. 2) Most DPDT switches should have the pins in the same place, so it should work as shown. And yes, it does matter which pins(the only change you could make would be swapping all three wires from right to left side of the switch). The only thing that can go wrong is that the motor goes the wrong way when you flip the switch. The easiest way to fix this is to reverse the connections to the servo, or to the batteries (not both). 3) Yes, resolder the wires directly to the motor and don't hook the white wire to anything. 4) You can even take it out if you want.

I apologize if this still doesn't make sense. I'm not that great at explaining things. If there's anything else I can help with let me know.
Jan 9, 2010. 5:59 PMwwslubs says:
Where should I solder the wires to the motor then? Also will a hitec hs-311 work if i modify it?
Jan 9, 2010. 8:38 PMcompukidmike says:
When you take out the 4 screws, the bottom of the servo will come off, revealing the circuit board. The motor leads are usually soldered directly to the board, and are probably the biggest things on the board. They will normally be on the opposite side of the servo from where the wires come in. You need to solder the wires to these two motor pins.

As for the HS-311, here's a site that shows which hitec servos are easy/difficult to modify... http://www.servocity.com/html/rotation_modification_difficul.html

If I get a chance I will open mine up and take a pic for you. Or if you have already opened yours, you can send me a pic and I will show you where to solder the wires.
Jan 7, 2010. 7:07 PMwwslubs says:

Im using your technique with the modified servo


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
207
Followers
8
Author:Frivolous Engineering(FrivolousEngineering.com)
In December 2009 I published The Most Useless Machine Ever. 2011 formed The Frivolous Engineering Company Inc. in order to supply Useless Machines to the masses.