Useless Machine Instructions
![GIF.gif](/proxy/?url=https://content.instructables.com/FNW/BCPF/IPY0R9HZ/FNWBCPFIPY0R9HZ.gif&filename=GIF.gif)
The Useless Machine is a variation on Marvin Minsky's "Ultimate Machine," which is basically a machine whose ultimate goal is to turn itself off. After building it, you will be amazed how a machine consisting of two switches and a motor and does nothing but disable itself seems to have so much personality. While it does not have much purpose, it always seems to bring smiles to people's faces.
To learn more about switches, check out my Electronics Class. You could also learn more about motors in my Robotics Class.
Lesson Materials
![1A.jpg](/proxy/?url=https://content.instructables.com/F68/6C0Y/IPFPAFCJ/F686C0YIPFPAFCJ.jpg&filename=1A.jpg)
For the Useless Machine you will need:
(x1) Continuous rotation servo motor
(x1) DPDT toggle switch
(x1) SPDT lever switch
(x1) 3 x AA battery holder
(x1) Small hinged wooden box
(x1) Wooden letter ('C' or 'J' tends to work well)
(x1) 1" wood cube
(x1) Wood glue
How It Works
At the heart of the machine there is a DPDT toggle switch wired to reverse polarity to a motor. This means that the direction electricity is flowing through the motor changes when the switch is toggled. This is important because the direction a motor rotates is dependent on which direction electricity flows through it. So, to put it simply, when power and ground get reversed, the direction of the motor changes.
There is also a lever switch inside the case which disconnects power to the motor, but only when it is pressed and the power is reversed.
Thus, when the toggle switch is pressed, the power is no longer reversed and the machine is once again turned on. The arm is then free to rotate up out of the box and hit the switch. This in turn reverses the arm, which rotates back into the box, where it hits the lever switch, and turns itself off once more.
This project demonstrates how a lot can be achieved by cleverly routing electricity through a few simple switches.
Modify the Servo
![resized_FSKZ0VDIPY0RB63.jpg](/proxy/?url=https://content.instructables.com/FQX/73CE/IRXT3PS9/FQX73CEIRXT3PS9.jpg&filename=resized_FSKZ0VDIPY0RB63.jpg)
First things first, we need to convert a servo motor, which is a circuit board controlled motor into a basic gear motor. The reason for this is because servos are reliable, easy to work with, and have gearboxes with a lot of torque, which is necessary for pressing the switch.
All this entails is removing the circuit board attached to the motor and attaching two wires instead. It's not as scary as it sounds, and gives us a chance to practice desoldering.
Remove the four screws to find the servo's circuit board and locate the two large solder terminals connected to the motor.
Carefully use desoldering braid to remove the solder from the two terminals connecting the circuit board to the motor.
Remove the circuit board from the case.
Solder a red wire to the positive terminal of the motor. This is typically marked with a red dot. Then, solder a black wire to the other terminal. If you mess this up or they are not marked, don't sweat it. It will just mean your motor might spin backwards when power is connected. If this is the case, just rewire it with the wires reversed.
Trim away any excess wire leads from the terminal. This will make it easier to get the lid back on.
Tie the red and black wire together in a knot such that the knot itself extends past the outside of the motor enclosure. Then, place the knot on the inside of the motor enclosure. This will prevent anything from placing strain on the wire and it getting pulled free.
Close the case back up and you are done.
Drill and Trim the Servo Horn
![resized_FOXVFVDIPY0RCKI.jpg](/proxy/?url=https://content.instructables.com/FT8/C2AL/IRXT3OGM/FT8C2ALIRXT3OGM.jpg&filename=resized_FOXVFVDIPY0RCKI.jpg)
![2B.jpg](/proxy/?url=https://content.instructables.com/F90/OL5L/IPFPALD2/F90OL5LIPFPALD2.jpg&filename=2B.jpg)
![2C.jpg](/proxy/?url=https://content.instructables.com/FZH/91N5/IPFPALGI/FZH91N5IPFPALGI.jpg&filename=2C.jpg)
![2D.jpg](/proxy/?url=https://content.instructables.com/F88/CK6N/IPFPALGM/F88CK6NIPFPALGM.jpg&filename=2D.jpg)
![2E.jpg](/proxy/?url=https://content.instructables.com/FAM/2UTI/IPFPALHZ/FAM2UTIIPFPALHZ.jpg&filename=2E.jpg)
The gear-looking thing attached to the servo is called its horn.
On one of its arms, widen the innermost and outermost holes using a 1/8" drill bit. This is so they are large enough that we can pass a zip tie through them later.
Then, use diagonal cutters to cut away all of the remaining arms so that they will not later get in the way of the box lid opening and closing.
Shape Your Letter
![resized_F5E43DUIPFPAPDU.jpg](/proxy/?url=https://content.instructables.com/F95/F2LM/IRXT0P6E/F95F2LMIRXT0P6E.jpg&filename=resized_F5E43DUIPFPAPDU.jpg)
![3B.jpg](/proxy/?url=https://content.instructables.com/FCJ/8DD4/IPFPAPFI/FCJ8DD4IPFPAPFI.jpg&filename=3B.jpg)
Place the servo on top of the box and get your wooden letter. I found that the "C" worked exceptionally well.
The goal is to mark it so that it forms a hook which will be small enough to rotate fully into the box, but be large enough that it will rotate far enough out of the box to press the switch.
This might take some trial and error. Fortunately, wooden letters are cheap and easy to work with.
Cut to Size
![resized_FGEANELIPFPAVPY.jpg](/proxy/?url=https://content.instructables.com/FLP/WQPO/IRXSZK8R/FLPWQPOIRXSZK8R.jpg&filename=resized_FGEANELIPFPAVPY.jpg)
![4B.jpg](/proxy/?url=https://content.instructables.com/F3X/CURP/IPFPAVR8/F3XCURPIPFPAVR8.jpg&filename=4B.jpg)
![4C.jpg](/proxy/?url=https://content.instructables.com/FAI/U4KW/IPFPAVRI/FAIU4KWIPFPAVRI.jpg&filename=4C.jpg)
![4D.jpg](/proxy/?url=https://content.instructables.com/F3M/QZGN/IPFPAVRR/F3MQZGNIPFPAVRR.jpg&filename=4D.jpg)
![4E.jpg](/proxy/?url=https://content.instructables.com/FTY/3FGG/IPFPAVRS/FTY3FGGIPFPAVRS.jpg&filename=4E.jpg)
Cut the wooden letter into a hook shape using the markings you made in the last step.
Smooth out any rough edges with sandpaper.
Trim the Lid
![resized_FLOKC4PIPFPB634.jpg](/proxy/?url=https://content.instructables.com/F29/6CA3/IRXSZKJ7/F296CA3IRXSZKJ7.jpg&filename=resized_FLOKC4PIPFPB634.jpg)
![5B.jpg](/proxy/?url=https://content.instructables.com/F1E/M0SI/IPFPB63D/F1EM0SIIPFPB63D.jpg&filename=5B.jpg)
![5C.jpg](/proxy/?url=https://content.instructables.com/F4R/MVKS/IPFPB63E/F4RMVKSIPFPB63E.jpg&filename=5C.jpg)
![5D.jpg](/proxy/?url=https://content.instructables.com/FQ5/6WZL/IPFPB63H/FQ56WZLIPFPB63H.jpg&filename=5D.jpg)
Place the motor atop the lid on the far edge from the hinges. Position the motor to figure out just how much of the lid is necessary to keep in order to mount the motor such that the servo horn is just clear of the lid.
Once you have figured this out, draw a cut line across the box.
Also make a cut line on the side of the lid angled slightly towards the edge with the hinges.
Cut the lid into two sections at an angle by following the cut line.
When you are done, the part of the lid connected to the hinges should have a slight overhang.
Glue
![resized_FABXQ2HIPFPBCG1.jpg](/proxy/?url=https://content.instructables.com/F3L/XO8X/IRXT0PBM/F3LXO8XIRXT0PBM.jpg&filename=resized_FABXQ2HIPFPBCG1.jpg)
![6B.jpg](/proxy/?url=https://content.instructables.com/FDX/3EBA/IPFPBCG2/FDX3EBAIPFPBCG2.jpg&filename=6B.jpg)
![6C.jpg](/proxy/?url=https://content.instructables.com/F8C/9Z7R/IPFPBCH4/F8C9Z7RIPFPBCH4.jpg&filename=6C.jpg)
![6D.jpg](/proxy/?url=https://content.instructables.com/F54/FAF6/IPFPBCI5/F54FAF6IPFPBCI5.jpg&filename=6D.jpg)
![6E.jpg](/proxy/?url=https://content.instructables.com/FCT/10PF/IPFPBCI6/FCT10PFIPFPBCI6.jpg&filename=6E.jpg)
Using wood glue, permanently attach the part of the lid without the hinges to the box.
Wire the Circuit
![resized_FZSR0MRIS0EZCXB.png](/proxy/?url=https://content.instructables.com/FBH/SUW3/IV0AHJ1M/FBHSUW3IV0AHJ1M.png&filename=resized_FZSR0MRIS0EZCXB.png)
Let's wire together the circuit as outlined in the wiring diagram above.
To begin, attach the motor to the center terminals on the switch.
Then, attach the battery back to the outer terminals on the switch, keeping an eye to line up power and ground connections. If the switch were to be thrown now, power will either be connected or disconnected, and the motor should spin clockwise.
Since we want the motor to get disconnected when it spins counter clockwise and presses the lever switch, we then connect wires to its common and normally closed pins. In this way, the switch is normally closed to allow electricity to flow, but the connection is opened (or 'broken') when it is pressed.
Finally, the outer terminals of the switch are crisscrossed to allow the motor to be powered backwards when the switch is toggled. For ground we simply use a short wire. However, for power we use the wires from the lever switch such that it can be toggled on and off.
Drill Mounting Holes
![resized_FCHIXGDIPTJKCZU.jpg](/proxy/?url=https://content.instructables.com/FAR/D6H3/IRXT0PH4/FARD6H3IRXT0PH4.jpg&filename=resized_FCHIXGDIPTJKCZU.jpg)
![8B.jpg](/proxy/?url=https://content.instructables.com/FFO/8OL3/IPTJKD1J/FFO8OL3IPTJKD1J.jpg&filename=8B.jpg)
![8C.jpg](/proxy/?url=https://content.instructables.com/FMU/FDMY/IPTJKD35/FMUFDMYIPTJKD35.jpg&filename=8C.jpg)
Align the servo's lever with the base of the wooden arm, and use the servo's mounting holes to make two drill guides on the arm.
Drill these marks with a 1/8" drill bit.
Fasten the Arm
![resized_FYUSV3RIPTJKDDE.jpg](/proxy/?url=https://content.instructables.com/FWO/14BO/IRXSZMH5/FWO14BOIRXSZMH5.jpg&filename=resized_FYUSV3RIPTJKDDE.jpg)
![9B.jpg](/proxy/?url=https://content.instructables.com/FR2/DSR9/IPTJKDDF/FR2DSR9IPTJKDDF.jpg&filename=9B.jpg)
![9C.jpg](/proxy/?url=https://content.instructables.com/F6Y/GB6Z/IPTJKDF3/F6YGB6ZIPTJKDF3.jpg&filename=9C.jpg)
Fasten the arm to the servo's lever using a small zip tie.
Trim the excess zip tie tail when done to prevent it from catching and getting in the way.
Epoxy the Servo
![resized_FFBMHJAIPY0NNAX.jpg](/proxy/?url=https://content.instructables.com/F27/GXQO/IRXT3KOU/F27GXQOIRXT3KOU.jpg&filename=resized_FFBMHJAIPY0NNAX.jpg)
![10B.jpg](/proxy/?url=https://content.instructables.com/FTY/C1GE/IPY0NNBZ/FTYC1GEIPY0NNBZ.jpg&filename=10B.jpg)
![10C.jpg](/proxy/?url=https://content.instructables.com/F63/ZQKN/IPY0NNE0/F63ZQKNIPY0NNE0.jpg&filename=10C.jpg)
![10D.jpg](/proxy/?url=https://content.instructables.com/F9G/DYOF/IPY0NNF3/F9GDYOFIPY0NNF3.jpg&filename=10D.jpg)
![10E.jpg](/proxy/?url=https://content.instructables.com/F3F/H1R1/IPY0NNIK/F3FH1R1IPY0NNIK.jpg&filename=10E.jpg)
Mix together 2-part 5-minute epoxy and glue the servo to the inside of the lid such that lever arm will sit roughly centered in the box. Also, make sure that it will be able to rotate upwards over the box lip without immediately catching.
Once you are certain on the positioning, turn the box over, and wait 30 minutes for the epoxy to fully set.
Drill a Hole
![resized_FSLQ8KAIPY0NRXZ.jpg](/proxy/?url=https://content.instructables.com/F1U/S1CD/IRXT3PW8/F1US1CDIRXT3PW8.jpg&filename=resized_FSLQ8KAIPY0NRXZ.jpg)
![11B.jpg](/proxy/?url=https://content.instructables.com/F51/PBYN/IPY0NRZW/F51PBYNIPY0NRZW.jpg&filename=11B.jpg)
![11C.jpg](/proxy/?url=https://content.instructables.com/FI1/HANX/IPY0NS2M/FI1HANXIPY0NS2M.jpg&filename=11C.jpg)
![11D.jpg](/proxy/?url=https://content.instructables.com/F4X/V9TX/IPY0NS5G/F4XV9TXIPY0NS5G.jpg&filename=11D.jpg)
Drill a 1/4" hole centered along the edge of the box. This is for the switch. Thus, the hole should be positioned in a spot where the lever arm can rotate up and past the hole. This will ensure that the arm will always be able to hit the toggle switch and push it far enough to activate it.
Install the Switch
![resized_FQELOVWIPY0OBEI.jpg](/proxy/?url=https://content.instructables.com/F1R/0QAP/IRXT0QB7/F1R0QAPIRXT0QB7.jpg&filename=resized_FQELOVWIPY0OBEI.jpg)
![12B.jpg](/proxy/?url=https://content.instructables.com/FD2/TCV4/IPY0OBHO/FD2TCV4IPY0OBHO.jpg&filename=12B.jpg)
![12C.jpg](/proxy/?url=https://content.instructables.com/F4U/7DOB/IPY0OBIK/F4U7DOBIPY0OBIK.jpg&filename=12C.jpg)
Using the switch's mounting nut, install it in place.
Drill
![resized_F0QOMH4IPY0OSXH.jpg](/proxy/?url=https://content.instructables.com/FSG/F8MD/IRXT3FYO/FSGF8MDIRXT3FYO.jpg&filename=resized_F0QOMH4IPY0OSXH.jpg)
![13B.jpg](/proxy/?url=https://content.instructables.com/FMN/9JT8/IPY0OT5B/FMN9JT8IPY0OT5B.jpg&filename=13B.jpg)
![13C.jpg](/proxy/?url=https://content.instructables.com/FLL/MDLH/IPY0OTC9/FLLMDLHIPY0OTC9.jpg&filename=13C.jpg)
![13D.jpg](/proxy/?url=https://content.instructables.com/FDG/5K81/IPY0OTDR/FDG5K81IPY0OTDR.jpg&filename=13D.jpg)
Position the lever switch centered along one edge of the cube such that the body of the switch is level with the top of the cube and the lever extends up above it.
Mark the switch's mounting holes with a pencil, and then drill these markings with a 1/8" drill bit.
Zip Tie the Switch
![resized_FXYYYWNIPY0P1NK.jpg](/proxy/?url=https://content.instructables.com/F4A/Q2SP/IRXSZMDP/F4AQ2SPIRXSZMDP.jpg&filename=resized_FXYYYWNIPY0P1NK.jpg)
![14B.jpg](/proxy/?url=https://content.instructables.com/F39/TXJT/IPY0P1RJ/F39TXJTIPY0P1RJ.jpg&filename=14B.jpg)
![14C.jpg](/proxy/?url=https://content.instructables.com/FZ6/C9FL/IPY0P1UE/FZ6C9FLIPY0P1UE.jpg&filename=14C.jpg)
![14D.jpg](/proxy/?url=https://content.instructables.com/FIG/2IZ6/IPY0P1YL/FIG2IZ6IPY0P1YL.jpg&filename=14D.jpg)
Zip tie the switch to the 1" wooden cube in such a manner that the lever is extending up past the top of the cube.
Glue the Battery Holder
![resized_FW9CT36IPY0PCB5.jpg](/proxy/?url=https://content.instructables.com/F0Z/RXWA/IRXSZM2F/F0ZRXWAIRXSZM2F.jpg&filename=resized_FW9CT36IPY0PCB5.jpg)
![15B.jpg](/proxy/?url=https://content.instructables.com/FBW/2JMP/IPY0PCB6/FBW2JMPIPY0PCB6.jpg&filename=15B.jpg)
![15C.jpg](/proxy/?url=https://content.instructables.com/F65/W3D0/IPY0PCDR/F65W3D0IPY0PCDR.jpg&filename=15C.jpg)
![15D.jpg](/proxy/?url=https://content.instructables.com/FNQ/DX8C/IPY0PCHS/FNQDX8CIPY0PCHS.jpg&filename=15D.jpg)
Use 5-minute epoxy and attach the battery holder into the bottom corner of the case below the servo. This will ensure it is out of the way.
Glue the Block
![resized_FDTUGX5IPY0Q3BF.jpg](/proxy/?url=https://content.instructables.com/FER/84PE/IRXT3KDK/FER84PEIRXT3KDK.jpg&filename=resized_FDTUGX5IPY0Q3BF.jpg)
![16B.jpg](/proxy/?url=https://content.instructables.com/FBN/425I/IPY0Q3E3/FBN425IIPY0Q3E3.jpg&filename=16B.jpg)
![16C.jpg](/proxy/?url=https://content.instructables.com/F99/JSEU/IPY0Q3FO/F99JSEUIPY0Q3FO.jpg&filename=16C.jpg)
Glue the wooden block into the box such that when the arm rotates inward, it ultimately presses down firmly upon the lever switch.
Insert Batteries
![resized_FCEFI49IPY0R5LY.jpg](/proxy/?url=https://content.instructables.com/FQ1/TPF8/IRXSZK7G/FQ1TPF8IRXSZK7G.jpg&filename=resized_FCEFI49IPY0R5LY.jpg)
Insert batteries into the battery holder.
The arm should ultimately rotate into the box, and turn itself off.
If it does not do this, quickly remove the batteries, and then check to see if your DPDT switch was installed backwards into the box. This is a common mistake and should typically fix things when the battery is re-inserted.
If it is still not working after you try this, again remove the batteries quickly and double check all of your wiring. Something is not right.
Likely, you might have messed up the polarity on the motor wiring. However, you should check everything carefully before switching any wiring.
Close the Lid
![resized_F2PEOUWIPY0R5YU.jpg](/proxy/?url=https://content.instructables.com/F9T/TNI7/IRXT0P1P/F9TTNI7IRXT0P1P.jpg&filename=resized_F2PEOUWIPY0R5YU.jpg)
Once the arm has rotated into the box, and turned itself off, close the lid to the box.
Congratulations!
![resized_FWXBSTAIP8M8GQH.jpg](/proxy/?url=https://content.instructables.com/FW7/B895/IRXT3SHD/FW7B895IRXT3SHD.jpg&filename=resized_FWXBSTAIP8M8GQH.jpg)
You now have a machine which does nothing. Share it with your friends and family.