Simple Bots: Inchworm
![main3.jpg](/proxy/?url=https://content.instructables.com/FR5/ELFM/GXFXNHH8/FR5ELFMGXFXNHH8.jpg&filename=main3.jpg)
![main4.jpg](/proxy/?url=https://content.instructables.com/FNT/N2Z3/GXFXNHID/FNTN2Z3GXFXNHID.jpg&filename=main4.jpg)
![main6.jpg](/proxy/?url=https://content.instructables.com/FW6/IZUH/GXFXNHIG/FW6IZUHGXFXNHIG.jpg&filename=main6.jpg)
If you can count on only one thing, it would be a ruler. Now, don't get me wrong. I am not talking about supreme despots for life, or anything of that sort. The rulers that I am referring to are the measuring kind. After all, how can you not count on something with so many sequential numbers? That is why, when it came to deciding what the armature for Inchworm Bot should be, the only thing I could think of was my good, dependable friend, the ruler. After all, in the grand scheme of things, there is merely inches of similarity between the two.
Check out my book Homemade Robots for more projects! |
Go Get Stuff
![1A.jpg](/proxy/?url=https://content.instructables.com/FPS/CEXD/GXFXNH70/FPSCEXDGXFXNH70.jpg&filename=1A.jpg)
You will need:
(x1) Continuous rotation servo modified for direct drive**
(x1) 4 x AA battery holder
(x1) DPDT lever switch
(x4) AA batteries
(x1) red and black wire
(x1) electrical tape
(x1) 18" aluminum ruler (or longer)
(x2) small plastic container
(x2) 2" fixed casters
(x1) Bic round pen
(x1) comb
(x10) small nuts and bolts
(x4) small washers
(x1) 2" - 3" metal standoff
(x4) zip ties
**Learn how to modify a servo motor for direct drive at this page.
(Note that some of the links on this page are affiliate links. This does not change the price of any of the items for sale. However, I earn a small commission if you click on any of those links and buy anything. I reinvest this money into materials and tools for future projects. However, you are obviously free to source the items as you please.)
Cut the Ruler
![2A.jpg](/proxy/?url=https://content.instructables.com/FTG/486E/GXDWYH3R/FTG486EGXDWYH3R.jpg&filename=2A.jpg)
![2B.jpg](/proxy/?url=https://content.instructables.com/FPV/CUQC/GXDWYH3S/FPVCUQCGXDWYH3S.jpg&filename=2B.jpg)
![2C.jpg](/proxy/?url=https://content.instructables.com/FSL/HP6L/GXFXNH76/FSLHP6LGXFXNH76.jpg&filename=2C.jpg)
![2D.jpg](/proxy/?url=https://content.instructables.com/FOU/U646/GXFXNH77/FOUU646GXFXNH77.jpg&filename=2D.jpg)
![2E.jpg](/proxy/?url=https://content.instructables.com/F3Y/67Q7/GXGHL3Q6/F3Y67Q7GXGHL3Q6.jpg&filename=2E.jpg)
![2F.jpg](/proxy/?url=https://content.instructables.com/FYX/LXQG/GXFXOPBK/FYXLXQGGXFXOPBK.jpg&filename=2F.jpg)
(The convenient thing about cutting a ruler is that it comes pre-measured.)
Fold a Notch
![3A.jpg](/proxy/?url=https://content.instructables.com/F1N/3TO7/GXDWP7GO/F1N3TO7GXDWP7GO.jpg&filename=3A.jpg)
![3B.jpg](/proxy/?url=https://content.instructables.com/FN7/TW3M/GXGHSNH9/FN7TW3MGXGHSNH9.jpg&filename=3B.jpg)
![3C.jpg](/proxy/?url=https://content.instructables.com/F75/QOEY/GXGHL3QJ/F75QOEYGXGHL3QJ.jpg&filename=3C.jpg)
![3D.jpg](/proxy/?url=https://content.instructables.com/FR7/V2N5/GXDWYH3V/FR7V2N5GXDWYH3V.jpg&filename=3D.jpg)
Place the ruler in a bench vice so that the bottom of the cuts are level with the top of the vice.
Hammer the section between the two cuts flat such that it is made perpendicular.
This will be your motor mount.
Drill Holes
![4A.jpg](/proxy/?url=https://content.instructables.com/FUR/B4MY/GXFXNH7J/FURB4MYGXFXNH7J.jpg&filename=4A.jpg)
![4B.jpg](/proxy/?url=https://content.instructables.com/FJI/OT21/GXFXNH7T/FJIOT21GXFXNH7T.jpg&filename=4B.jpg)
![4C.jpg](/proxy/?url=https://content.instructables.com/F91/UVFO/GXDWP7PS/F91UVFOGXDWP7PS.jpg&filename=4C.jpg)
![4D.jpg](/proxy/?url=https://content.instructables.com/FUD/YUXT/GXFXNH80/FUDYUXTGXFXNH80.jpg&filename=4D.jpg)
![4E.jpg](/proxy/?url=https://content.instructables.com/FLZ/A405/GXGHSNHD/FLZA405GXGHSNHD.jpg&filename=4E.jpg)
Remove the motor and drill through your marks with an 1/8" drill bit.
Drill More Holes
![5A.jpg](/proxy/?url=https://content.instructables.com/FAZ/OWY4/GXFXOPCQ/FAZOWY4GXFXOPCQ.jpg&filename=5A.jpg)
![5B.jpg](/proxy/?url=https://content.instructables.com/F50/XGZ8/GXFXNH88/F50XGZ8GXFXNH88.jpg&filename=5B.jpg)
![5C.jpg](/proxy/?url=https://content.instructables.com/FYW/20T4/GXGHSNHF/FYW20T4GXGHSNHF.jpg&filename=5C.jpg)
(Obviously, on the piece that you have already worked on, the hole has to be drilled on the opposite side of the motor mount)
Even More Holes
![6A.jpg](/proxy/?url=https://content.instructables.com/FL8/7SCH/GXGHSNHG/FL87SCHGXGHSNHG.jpg&filename=6A.jpg)
![6B.jpg](/proxy/?url=https://content.instructables.com/F7R/766L/GXFXOPCZ/F7R766LGXFXOPCZ.jpg&filename=6B.jpg)
![6C.jpg](/proxy/?url=https://content.instructables.com/FV0/SN3F/GXGHL3RG/FV0SN3FGXGHL3RG.jpg&filename=6C.jpg)
![6D.jpg](/proxy/?url=https://content.instructables.com/F6G/7JBX/GXFXOPD3/F6G7JBXGXFXOPD3.jpg&filename=6D.jpg)
![6E.jpg](/proxy/?url=https://content.instructables.com/FJD/C3GP/GXFXOPD6/FJDC3GPGXFXOPD6.jpg&filename=6E.jpg)
![6F.jpg](/proxy/?url=https://content.instructables.com/F0Y/RR1T/GXGHL3RJ/F0YRR1TGXGHL3RJ.jpg&filename=6F.jpg)
Use your servo horn as a guide to both mark and drill 1/8" holes through the section of ruler that does not have the motor mount.
These holes should be drilled roughly 1/2" in from the edge of the ruler.
It is preferential if you simultaneously drill the servo horn, as to ensure identical sized holes.
A Few Last Holes.
![7A.jpg](/proxy/?url=https://content.instructables.com/FF6/IE3F/GXGHSNHI/FF6IE3FGXGHSNHI.jpg&filename=7A.jpg)
![7B.jpg](/proxy/?url=https://content.instructables.com/FTH/DS18/GXFXOPDN/FTHDS18GXFXOPDN.jpg&filename=7B.jpg)
![7C.jpg](/proxy/?url=https://content.instructables.com/F7Q/FU31/GXDWP81D/F7QFU31GXDWP81D.jpg&filename=7C.jpg)
![7D.jpg](/proxy/?url=https://content.instructables.com/FMT/83TB/GXDWP823/FMT83TBGXDWP823.jpg&filename=7D.jpg)
Drill a 3/16" hole upon the section with the servo horn mount that is roughly 5" from the edge with the servo horn mount and close to the edge of the ruler. Drill a second larger 1/4" hole that is 4" from the servo horn mount and centered upon the ruler.
Congratulations! You are finally done modding the ruler.
Mount the Motor
![8A.jpg](/proxy/?url=https://content.instructables.com/FNV/D8H4/GXFXOPEL/FNVD8H4GXFXOPEL.jpg&filename=8A.jpg)
![8B.jpg](/proxy/?url=https://content.instructables.com/F7Y/IL45/GXDWP82V/F7YIL45GXDWP82V.jpg&filename=8B.jpg)
![8C.jpg](/proxy/?url=https://content.instructables.com/FZ7/QY9L/GXGHL3SD/FZ7QY9LGXGHL3SD.jpg&filename=8C.jpg)
![8D.jpg](/proxy/?url=https://content.instructables.com/FLG/5989/GXFXNH9P/FLG5989GXFXNH9P.jpg&filename=8D.jpg)
![8E.jpg](/proxy/?url=https://content.instructables.com/FZI/SFLJ/GXDWYH4F/FZISFLJGXDWYH4F.jpg&filename=8E.jpg)
![8F.jpg](/proxy/?url=https://content.instructables.com/FC3/C69T/GXFXOPER/FC3C69TGXFXOPER.jpg&filename=8F.jpg)
![8G.jpg](/proxy/?url=https://content.instructables.com/FVV/TRV7/GXFXNHB1/FVVTRV7GXFXNHB1.jpg&filename=8G.jpg)
![8H.jpg](/proxy/?url=https://content.instructables.com/FFB/J3QR/GXDWYH4G/FFBJ3QRGXDWYH4G.jpg&filename=8H.jpg)
![8I.jpg](/proxy/?url=https://content.instructables.com/FXC/YZJS/GXFXOPEU/FXCYZJSGXFXOPEU.jpg&filename=8I.jpg)
![8J.jpg](/proxy/?url=https://content.instructables.com/F0F/X9K5/GXDWYH4J/F0FX9K5GXDWYH4J.jpg&filename=8J.jpg)
![8K.jpg](/proxy/?url=https://content.instructables.com/FLN/LVLL/GXDWYH4K/FLNLVLLGXDWYH4K.jpg&filename=8K.jpg)
Attach that servo motor's horn, if you have not done so already. Use nuts and bolts to attach the other section of the ruler to the servo horn. Again, the screw heads should be facing inward towards the other set to ensure a low profile.
Modify Your Comb
![9A.jpg](/proxy/?url=https://content.instructables.com/FNN/2UI9/GXGHSNHO/FNN2UI9GXGHSNHO.jpg&filename=9A.jpg)
![9B.jpg](/proxy/?url=https://content.instructables.com/FKX/RBA0/GXGHSNHP/FKXRBA0GXGHSNHP.jpg&filename=9B.jpg)
![9C.jpg](/proxy/?url=https://content.instructables.com/FMB/1ZXM/GXFXOPEW/FMB1ZXMGXFXOPEW.jpg&filename=9C.jpg)
![9D.jpg](/proxy/?url=https://content.instructables.com/FD2/BVLJ/GXGHSNHR/FD2BVLJGXGHSNHR.jpg&filename=9D.jpg)
![9E.jpg](/proxy/?url=https://content.instructables.com/FL8/NWWF/GXGHL3TT/FL8NWWFGXGHL3TT.jpg&filename=9E.jpg)
![9F.jpg](/proxy/?url=https://content.instructables.com/FVO/P5QB/GXDWP84W/FVOP5QBGXDWP84W.jpg&filename=9F.jpg)
When you are done removing teeth, sand that section of the comb smooth.
Lastly, drill an 1/8" hole on the opposite edge.
Attach Your Comb
![10A.jpg](/proxy/?url=https://content.instructables.com/F91/QTS7/GXFXOPF1/F91QTS7GXFXOPF1.jpg&filename=10A.jpg)
![10B.jpg](/proxy/?url=https://content.instructables.com/FU5/QDCX/GXDWYH4O/FU5QDCXGXDWYH4O.jpg&filename=10B.jpg)
![10C.jpg](/proxy/?url=https://content.instructables.com/FP0/ND2F/GXDWYH4P/FP0ND2FGXDWYH4P.jpg&filename=10C.jpg)
![10D.jpg](/proxy/?url=https://content.instructables.com/FHH/WGUU/GXGHL3U8/FHHWGUUGXGHL3U8.jpg&filename=10D.jpg)
![10E.jpg](/proxy/?url=https://content.instructables.com/F8P/KEEV/GXFXNHD5/F8PKEEVGXFXNHD5.jpg&filename=10E.jpg)
Once it is passed through, place 2 - 4 washers on it. The point of these washers is to push the comb towards the other section of ruler (once mounted).
Next, pass the screw through the middle hole, in the section of ruler with the motor, from the inside out. Use your bolt to securely fasten it in place.
Wire Up the Switch
![11A.jpg](/proxy/?url=https://content.instructables.com/FFB/PART/GXGHSNHV/FFBPARTGXGHSNHV.jpg&filename=11A.jpg)
![11B.jpg](/proxy/?url=https://content.instructables.com/F78/2N0U/GXDWP852/F782N0UGXDWP852.jpg&filename=11B.jpg)
![11C.jpg](/proxy/?url=https://content.instructables.com/FFP/U9C3/GXDWYH4R/FFPU9C3GXDWYH4R.jpg&filename=11C.jpg)
![11D.jpg](/proxy/?url=https://content.instructables.com/FAU/YMSC/GXGHSNHY/FAUYMSCGXGHSNHY.jpg&filename=11D.jpg)
![wiringDiagram.jpg](/proxy/?url=https://content.instructables.com/F40/J8SO/GCJ0ZF07/F40J8SOGCJ0ZF07.jpg&filename=wiringDiagram.jpg)
Solder a red wire from the bottom left corner pin to the top right. Solder a black wire from the bottom right, to the top left.
While you're at it solder the red wire from your motor to the pin on the bottom of the switch with the red wire and the black wire from the motor to the pin on the bottom with the black wire.
Lastly, solder a long red wire to the middle pin on the side with the red motor wire and a long black wire to the middle pin on the side with the black motor wire.
If you are confused, just look at the wiring diagram below.
Standoff
![12A.jpg](/proxy/?url=https://content.instructables.com/FQW/3D48/GXDWYH4S/FQW3D48GXDWYH4S.jpg&filename=12A.jpg)
![12B.jpg](/proxy/?url=https://content.instructables.com/FXO/WMMT/GXFXNHDK/FXOWMMTGXFXNHDK.jpg&filename=12B.jpg)
![12C.jpg](/proxy/?url=https://content.instructables.com/FOX/OONR/GXFXNHE7/FOXOONRGXFXNHE7.jpg&filename=12C.jpg)
The comb will rest atop the standoff.
Spacers
![13A.jpg](/proxy/?url=https://content.instructables.com/FD6/GBQK/GXGHSNHZ/FD6GBQKGXGHSNHZ.jpg&filename=13A.jpg)
![13B.jpg](/proxy/?url=https://content.instructables.com/F66/TN1P/GXGHSNI1/F66TN1PGXGHSNI1.jpg&filename=13B.jpg)
![13C.jpg](/proxy/?url=https://content.instructables.com/FK0/5YIN/GXFXNHEA/FK05YINGXFXNHEA.jpg&filename=13C.jpg)
![13D.jpg](/proxy/?url=https://content.instructables.com/FLQ/CF6A/GXGHSNI2/FLQCF6AGXGHSNI2.jpg&filename=13D.jpg)
![13E.jpg](/proxy/?url=https://content.instructables.com/FSB/RKUY/GXDWYH4T/FSBRKUYGXDWYH4T.jpg&filename=13E.jpg)
![13F.jpg](/proxy/?url=https://content.instructables.com/FQX/AKOR/GXFXOPFV/FQXAKORGXFXOPFV.jpg&filename=13F.jpg)
![13G.jpg](/proxy/?url=https://content.instructables.com/FFT/24O3/GXGHSNI6/FFT24O3GXGHSNI6.jpg&filename=13G.jpg)
![13H.jpg](/proxy/?url=https://content.instructables.com/FFV/3SR3/GXGHSNI9/FFV3SR3GXGHSNI9.jpg&filename=13H.jpg)
With a razor blade, cut down on the tube creating two 1" sections.
Take the two sections and cut them in half, creating four 1/2" sections.
Remove the Wheels
![14A.jpg](/proxy/?url=https://content.instructables.com/FTA/P0E4/GXGHSNIA/FTAP0E4GXGHSNIA.jpg&filename=14A.jpg)
![14B.jpg](/proxy/?url=https://content.instructables.com/FCO/NXEM/GXGHSNIB/FCONXEMGXGHSNIB.jpg&filename=14B.jpg)
![14C.jpg](/proxy/?url=https://content.instructables.com/FIF/EOKQ/GXDWP85E/FIFEOKQGXDWP85E.jpg&filename=14C.jpg)
![14D.jpg](/proxy/?url=https://content.instructables.com/FNU/WC9V/GXDWYH4X/FNUWC9VGXDWYH4X.jpg&filename=14D.jpg)
![14E.jpg](/proxy/?url=https://content.instructables.com/F65/SZ6A/GXDWYH4Y/F65SZ6AGXDWYH4Y.jpg&filename=14E.jpg)
Set the wheels aside for some later project.
Pivots
![15A.jpg](/proxy/?url=https://content.instructables.com/F33/UVUY/GXFXNHF5/F33UVUYGXFXNHF5.jpg&filename=15A.jpg)
![15B.jpg](/proxy/?url=https://content.instructables.com/F4C/TQFX/GXDWYH52/F4CTQFXGXDWYH52.jpg&filename=15B.jpg)
![15C.jpg](/proxy/?url=https://content.instructables.com/FI5/LPMI/GXFXNHF6/FI5LPMIGXFXNHF6.jpg&filename=15C.jpg)
![15D.jpg](/proxy/?url=https://content.instructables.com/FHF/2DBM/GXFXNHF7/FHF2DBMGXFXNHF7.jpg&filename=15D.jpg)
![15E.jpg](/proxy/?url=https://content.instructables.com/FXD/XLR5/GXFXOPGA/FXDXLR5GXFXOPGA.jpg&filename=15E.jpg)
![15F.jpg](/proxy/?url=https://content.instructables.com/FHP/O6J4/GXFXNHFC/FHPO6J4GXFXNHFC.jpg&filename=15F.jpg)
![15G.jpg](/proxy/?url=https://content.instructables.com/FMU/SGXQ/GXFXOPGD/FMUSGXQGXFXOPGD.jpg&filename=15G.jpg)
Use the holes in the caster as guides for drilling 1/8" holes in the lid of the container.
Zip tie the caster frame in place to create pivots.
Power Box
![16A.jpg](/proxy/?url=https://content.instructables.com/FT8/JPD1/GXDWP8AJ/FT8JPD1GXDWP8AJ.jpg&filename=16A.jpg)
![16B.jpg](/proxy/?url=https://content.instructables.com/FO8/4LO4/GXGHL3XG/FO84LO4GXGHL3XG.jpg&filename=16B.jpg)
![16C.jpg](/proxy/?url=https://content.instructables.com/F5H/2WH0/GXGHL3XH/F5H2WH0GXGHL3XH.jpg&filename=16C.jpg)
![16D.jpg](/proxy/?url=https://content.instructables.com/FG1/BIQM/GXFXNHGL/FG1BIQMGXFXNHGL.jpg&filename=16D.jpg)
Place the battery holder inside and pass the power wires through the hole.
(I know that it shows batteries in the holder, but I recommend not inserting batteries before you solder.)
Put It All Together
![17A.jpg](/proxy/?url=https://content.instructables.com/FK4/2U0P/GXDWP8K0/FK42U0PGXDWP8K0.jpg&filename=17A.jpg)
![17B.jpg](/proxy/?url=https://content.instructables.com/FQY/UX3C/GXFXNHH5/FQYUX3CGXFXNHH5.jpg&filename=17B.jpg)
![17C.jpg](/proxy/?url=https://content.instructables.com/FVB/PQUR/GXDWYH54/FVBPQURGXDWYH54.jpg&filename=17C.jpg)
![17D.jpg](/proxy/?url=https://content.instructables.com/FAL/JHPJ/GXFXOPGF/FALJHPJGXFXOPGF.jpg&filename=17D.jpg)
![17E.jpg](/proxy/?url=https://content.instructables.com/FUW/3SY9/GXFXOPGG/FUW3SY9GXFXOPGG.jpg&filename=17E.jpg)
![17F.jpg](/proxy/?url=https://content.instructables.com/FO2/6OWY/GXFXOPGH/FO26OWYGXFXOPGH.jpg&filename=17F.jpg)
![17G.jpg](/proxy/?url=https://content.instructables.com/F0I/J47E/GXGHSNIX/F0IJ47EGXGHSNIX.jpg&filename=17G.jpg)
Basically, the ruler should have a pen spacer on each side to hold it in place. If it seems loose or tipsy, insert metal washers between the spacer and the ruler until it is not.
Power Connections
![18A.jpg](/proxy/?url=https://content.instructables.com/FKE/TMF4/GXFXNHH6/FKETMF4GXFXNHH6.jpg&filename=18A.jpg)
![18B.jpg](/proxy/?url=https://content.instructables.com/FKB/C41R/GXGHSNJ6/FKBC41RGXGHSNJ6.jpg&filename=18B.jpg)
![18C.jpg](/proxy/?url=https://content.instructables.com/FRZ/SYW8/GXGHL3XX/FRZSYW8GXGHL3XX.jpg&filename=18C.jpg)
![18D.jpg](/proxy/?url=https://content.instructables.com/FVT/0DEG/GXGHL3XY/FVT0DEGGXGHL3XY.jpg&filename=18D.jpg)
Solder the red wire from the switch to the red wire from the battery holder and cover it with electrical tape.
Solder the black wire from the switch to the black wire from the battery holder and cover it with tape as well.
How It Works
![main5.jpg](/proxy/?url=https://content.instructables.com/F0V/ZYTV/GXFXNHIE/F0VZYTVGXFXNHIE.jpg&filename=main5.jpg)
Basically, it works by reversing the direction of the motor each time the comb hits the switch, which, in turn, forces its "feet" to slide back and forth. Since one side is weighted down with the batteries, it has more forward momentum in one particular direction.
So, as the motor turns, the comb slides to one end and hits the switch. This then causes the comb to slide back to the other end, to hit the switch once more. Rinse. Repeat.
If you find that the motor does not reverse when the switch is pressed and the bot folds itself up into an ugly mess, first REMOVE THE BATTERY! Once you have done that, rotate the switch 180 degrees. Now put the battery back in. When the switch is pressed, it should reverse direction.
![](/proxy/?url=https://content.instructables.com/FP8/ABPR/K9R2LUOD/FP8ABPRK9R2LUOD.jpg?auto=webp&crop=1:1&frame=1&width=320)
Did you find this useful, fun, or entertaining?
Follow @madeineuphoria to see my latest projects.