Sponge Bot
![main.jpg](/proxy/?url=https://content.instructables.com/F0B/Y57Z/ILL7V4ED/F0BY57ZILL7V4ED.jpg&filename=main.jpg)
This Sponge Bot demonstrates how through the addition of a simple mechanism, we can add a large amount of complexity to a robot. Using virtually the same electronics as my Single Motor Bot, we are able to make an entirely different and much more complex bot. This simple Sponge Bot uses a slider crank mechanism to translate rotational motion into a back and forth scissor-like motion.
In this way, even though the motor is rotating in a single direction, the legs seem to be moving back and forth in two directions. By using mechanical systems we are able to gain a wide range of motions from a single rotating motor.
For a crash course in robotics, check out my Robot Class.
Check out my book Homemade Robots for more projects! |
Materials
![1A.jpg](/proxy/?url=https://content.instructables.com/FAX/U7FY/IL6XJTG2/FAXU7FYIL6XJTG2.jpg&filename=1A.jpg)
In this lesson you will need:
(x1) Modified continuous rotation servo**
(x2) 2 x AA battery pack
(x4) AA battery
(x1) SPST toggle switch
(x2) 12" aluminum rulers
(x1) Swivel ball caster
(x1) Large jar lid
(x1) 2" plastic furniture slide
(x1) Permanent marker
(X1) 1" paintbrush
(x1) 5/16" x 1" bolt
(x1) 5/16" x 2" bolt
(x2) 5/16" nylon insert lock nut
(x6) 5/16" washers
(x1) 5/16" shaft collar
(x1) Sponge
(x1) Assorted zip ties
Drill the Servo Horn
![2B.jpg](/proxy/?url=https://content.instructables.com/FRP/FV53/IL6XJXW1/FRPFV53IL6XJXW1.jpg&filename=2B.jpg)
![2A.jpg](/proxy/?url=https://content.instructables.com/FWQ/2THH/IL6XJXW4/FWQ2THHIL6XJXW4.jpg&filename=2A.jpg)
Once again, widen the outermost holes of the servo horn with a 1/8" drill bit so that they can accept zip ties.
Mark and Drill
![3D.jpg](/proxy/?url=https://content.instructables.com/F7R/9HAW/IL6XKA7Q/F7R9HAWIL6XKA7Q.jpg&filename=3D.jpg)
![3A.jpg](/proxy/?url=https://content.instructables.com/F20/8VOO/IL6XKA29/F208VOOIL6XKA29.jpg&filename=3A.jpg)
![3B.jpg](/proxy/?url=https://content.instructables.com/FG3/WCSY/IL6XKA45/FG3WCSYIL6XKA45.jpg&filename=3B.jpg)
![3C.jpg](/proxy/?url=https://content.instructables.com/F61/DG46/IL6XKA6T/F61DG46IL6XKA6T.jpg&filename=3C.jpg)
Center the servo horn on the plastic furniture slide and mark the mounting holes using a permanent marker.
While you can spend the time to calculate where center is, chances are you can probably eyeball it with enough accuracy for our purposes.
Once it is marked, drill four holes using a 1/8" drill bit.
This part will be used to space the mechanism's crank (i.e. rotating wheel) a slight distance above the motor and keep the fasteners from snagging while it rotates.
Make More Holes
![4A.jpg](/proxy/?url=https://content.instructables.com/FJ2/W7AQ/IL6XKBEE/FJ2W7AQIL6XKBEE.jpg&filename=4A.jpg)
![4B.jpg](/proxy/?url=https://content.instructables.com/F05/3179/IL6XKBFV/F053179IL6XKBFV.jpg&filename=4B.jpg)
![4C.jpg](/proxy/?url=https://content.instructables.com/FWG/8T8E/IL6XKBFW/FWG8T8EIL6XKBFW.jpg&filename=4C.jpg)
![4D.jpg](/proxy/?url=https://content.instructables.com/F4H/MZBK/IL6XKBHE/F4HMZBKIL6XKBHE.jpg&filename=4D.jpg)
The lid is going to serve as the crank, and should be aligned on center with both the motor and the spacer.
Like we did with the furniture slider, we are going to center the servo horn, mark the mounting holes and drill with a 1/8" drill bit.
Note that the jar lid is placed upon a peice of scrap wood. I did this to avoid drilling into my benchtop when making the holes.
Mark the Rulers
![5A.jpg](/proxy/?url=https://content.instructables.com/F2I/WGWD/IL6XKCCK/F2IWGWDIL6XKCCK.jpg&filename=5A.jpg)
![5B.jpg](/proxy/?url=https://content.instructables.com/FUO/YLWL/IL6XKCCM/FUOYLWLIL6XKCCM.jpg&filename=5B.jpg)
The nice thing about using rulers as building material is that they are easy to measure.
Mark the center of each ruler 5" inward from the end with the hole.
These will obviously serve as the robot's frame.
Drill a Big Ol' Hole
![6A.jpg](/proxy/?url=https://content.instructables.com/FQP/BNTT/IL8CVVKM/FQPBNTTIL8CVVKM.jpg&filename=6A.jpg)
![6B.jpg](/proxy/?url=https://content.instructables.com/F83/Q196/IL8CVVL4/F83Q196IL8CVVL4.jpg&filename=6B.jpg)
![6C.jpg](/proxy/?url=https://content.instructables.com/F90/3QLX/IL8CVVL5/F903QLXIL8CVVL5.jpg&filename=6C.jpg)
![6D.jpg](/proxy/?url=https://content.instructables.com/FYW/KWGC/IL8CVVLN/FYWKWGCIL8CVVLN.jpg&filename=6D.jpg)
![6E.jpg](/proxy/?url=https://content.instructables.com/FYC/0JGY/IL8CVVM2/FYC0JGYIL8CVVM2.jpg&filename=6E.jpg)
We are going to want to drill a 1/2" hole through one of the rulers in order to pass through the servo motor's shaft.
Rather than start with a 1/2" drill bit, we are going to start with a 1/8" drill bit and gradually increase the size of the holes. This prevents potential disaster.
As the hole starts to increase in size beyond 1/4" you are going to want to clamp it down to prevent the part from kicking back.
To do this I used a bench vise, but you can also use some C clamps attached to the edge of your work bench.
Once I started to increase the size of the hole from 3/8" onward to 1/2" I also clamped the end of the ruler to the scrap wood with a C-clamp. This was to prevent the metal from bending upward as I drill and getting ruined.
In short, when drilling big holes start with small holes and increase the size gradually. Also, clamp things down well.
Drill a Smaller Hole
![26A.jpg](/proxy/?url=https://content.instructables.com/FT1/BM08/ILL7VXWJ/FT1BM08ILL7VXWJ.jpg&filename=26A.jpg)
In the other ruler, drill the marking with a 5/16" drill bit.
This will be used to attach the fixed end of the connecting rod (i.e. the paintbrush).
Remove the Servo Horn
![7A.jpg](/proxy/?url=https://content.instructables.com/F8A/S8NM/IL8CW0IW/F8AS8NMIL8CW0IW.jpg&filename=7A.jpg)
![7B.jpg](/proxy/?url=https://content.instructables.com/FVC/1BJC/IL8CW0LW/FVC1BJCIL8CW0LW.jpg&filename=7B.jpg)
We will need to remove the servo horn so that we can pass the shaft up through the ruler.
Take a moment to loosen the screw holding the servo horn in place and remove it from the motor shaft.
Mark and Drill the Ruler Again
![8A.jpg](/proxy/?url=https://content.instructables.com/F3Q/VNHH/IL8CW1HY/F3QVNHHIL8CW1HY.jpg&filename=8A.jpg)
![8B.jpg](/proxy/?url=https://content.instructables.com/FCJ/Z8UZ/IL8CW1I0/FCJZ8UZIL8CW1I0.jpg&filename=8B.jpg)
![8C.jpg](/proxy/?url=https://content.instructables.com/F9P/VBDE/IL8CW1IT/F9PVBDEIL8CW1IT.jpg&filename=8C.jpg)
Position the servo motor atop the ruler such that the shaft is centered inside of the 1/2" hole and the servo's longer end is pointing towards the pre-existing hole at the end of the ruler.
Mark the servo's mounting holes upon the surface of the ruler. It is easy to double check your measurements for this because a ruler practically measures itself.
Once all four holes are marked, drill them with a 1/8" drill bit.
Make Another Hole
![9A.jpg](/proxy/?url=https://content.instructables.com/F0S/E259/IL8F2Z8Z/F0SE259IL8F2Z8Z.jpg&filename=9A.jpg)
![8D.jpg](/proxy/?url=https://content.instructables.com/F22/HFGB/IL8CW1IX/F22HFGBIL8CW1IX.jpg&filename=8D.jpg)
![9B.jpg](/proxy/?url=https://content.instructables.com/F67/UYOS/IL8F2Z90/F67UYOSIL8F2Z90.jpg&filename=9B.jpg)
![9C.jpg](/proxy/?url=https://content.instructables.com/FMT/XM3S/IL8F2Z93/FMTXM3SIL8F2Z93.jpg&filename=9C.jpg)
Measure approximately 2-3/4" from the ruler's edge and make a centered marking.
This is to indicate where to drill a hole for the toggle switch.
Since all switches are different sizes, you will want to make a hole appropriate to the size of the switch.
While measuring the diameter of the switch is a fairly safe bet, another thing you can do is insert the switch into the holes in your drill bit holder. The one it best fits into is the drill bit you should use.
In this case, we drilled the ruler with a 1/4" drill bit.
Drill a Big Hole
![10A.jpg](/proxy/?url=https://content.instructables.com/FJI/KV90/IL8F2ZHW/FJIKV90IL8F2ZHW.jpg&filename=10A.jpg)
![10B.jpg](/proxy/?url=https://content.instructables.com/FA3/APJS/IL8F2ZHX/FA3APJSIL8F2ZHX.jpg&filename=10B.jpg)
![10C.jpg](/proxy/?url=https://content.instructables.com/FQA/GJYC/IL8F2ZI3/FQAGJYCIL8F2ZI3.jpg&filename=10C.jpg)
![10D.jpg](/proxy/?url=https://content.instructables.com/F10/00IZ/IL8F2ZI4/F1000IZIL8F2ZI4.jpg&filename=10D.jpg)
To get the slider arm to move back and forth, we need to make a hole on the crank that is off-centered.
The distance between the offset hole to the center point of the motor will determine the amount the slider will ultimately move. In fact, it is easy to calculate. The final motion will be twice the distance between the offset and center. So, if it is an inch and a half off of center, the connecting rod will push the slider back and forth 3" total.
Drill a 5/16 hole approximately 1/2" in from the edge of the jar lid.
Even though I attempted to increase the size of the hole gradually, this is a fairly large hole to make in rather thin material.
Since my lid was not firmly clamped and I was using a hand drill, the hole did not come out pretty. In fact, it barely came out anything resembling circular - but it will do for our purposes (robotics is not exactly an exact science).
Drill the Brush
![11A.jpg](/proxy/?url=https://content.instructables.com/FY0/9ZXK/IL8F33H1/FY09ZXKIL8F33H1.jpg&filename=11A.jpg)
![11B.jpg](/proxy/?url=https://content.instructables.com/F39/JEVS/IL8F33H5/F39JEVSIL8F33H5.jpg&filename=11B.jpg)
The paintbrush will function as our connecting rod between the crank (i.e the jar lid) and the slider (i.e. the ruler opposite the one with the jar lid attached).
Drill a 5/16 hole through the center of the metal part of the paintbrush.
Attach the Servo
![12A.jpg](/proxy/?url=https://content.instructables.com/FUR/SVCD/IL8F33KZ/FURSVCDIL8F33KZ.jpg&filename=12A.jpg)
![12B.jpg](/proxy/?url=https://content.instructables.com/F0F/5AE1/IL8F33L9/F0F5AE1IL8F33L9.jpg&filename=12B.jpg)
![12C.jpg](/proxy/?url=https://content.instructables.com/FBU/2XBI/IL8F33LA/FBU2XBIIL8F33LA.jpg&filename=12C.jpg)
![12D.jpg](/proxy/?url=https://content.instructables.com/FQW/J5S7/IL8F33LK/FQWJ5S7IL8F33LK.jpg&filename=12D.jpg)
![12E.jpg](/proxy/?url=https://content.instructables.com/FOY/Z6VV/IL8F33MZ/FOYZ6VVIL8F33MZ.jpg&filename=12E.jpg)
Insert the servo's motor shaft through the 1/2" hole.
Zip tie it in place using the servo's mounting holes and the aligned holes on the ruler.
Trim away the excess zip tie tails.
Finally, firmly reattach the servo horn using its mounting screw.
Attach the Crank Assembly
![13G.jpg](/proxy/?url=https://content.instructables.com/F5W/4BXU/IL8W0JQM/F5W4BXUIL8W0JQM.jpg&filename=13G.jpg)
![13A.jpg](/proxy/?url=https://content.instructables.com/FDW/ZTRY/IL8W0JP1/FDWZTRYIL8W0JP1.jpg&filename=13A.jpg)
![13B.jpg](/proxy/?url=https://content.instructables.com/F91/02GK/IL8W0JP3/F9102GKIL8W0JP3.jpg&filename=13B.jpg)
Pass four small zip ties through the four center holes in the jar lid, and then the four holes in the plastic slider.
Next, pass the same zip ties through the four holes on the servo horn.
Pull the zip ties tight, making sure their heads are positioned on the side of the lid facing the ruler.
Trim away the excess zip tie tails and make sure the wheel can spin freely without the zip ties colliding with the ruler. If any of them strike the ruler, cut away the offending zip tie and try again.
Attach the Paintbrush
![14A.jpg](/proxy/?url=https://content.instructables.com/FYK/KGU8/IL9Q6O0S/FYKKGU8IL9Q6O0S.jpg&filename=14A.jpg)
![14B.jpg](/proxy/?url=https://content.instructables.com/F7W/0900/IL9Q6O0X/F7W0900IL9Q6O0X.jpg&filename=14B.jpg)
![14C.jpg](/proxy/?url=https://content.instructables.com/F7U/0S7V/IL9Q6O11/F7U0S7VIL9Q6O11.jpg&filename=14C.jpg)
![14D.jpg](/proxy/?url=https://content.instructables.com/FGD/KWWW/IL9Q6O16/FGDKWWWIL9Q6O16.jpg&filename=14D.jpg)
Take the paintbrush and insert a 1" bolt down through the hole in its handle. Then, slide three washers onto the bolt. These will be used to space the brush slightly above the wheel and keep it from snagging on the zip ties as it rotates.
Next, pass the end of the bolt down through the 5/16" hole in the jar lid.
Finally, lock it in place with a 5/16" lock nut. It should be tightened enough that everything is held firmly together, yet loose enough that the paintbrush can still spin around.
Thanks to the plastic furniture slider spacer, the lock but should rotate freely around without hitting the ruler. If it still collides with the ruler, you can either purchase low-profile lock nuts to replace it, or add an additional furniture slider as a spacer. Either should do the trick.
Attach the Caster
![15H.jpg](/proxy/?url=https://content.instructables.com/FCL/1BNM/IL9Q71YI/FCL1BNMIL9Q71YI.jpg&filename=15H.jpg)
![15A.jpg](/proxy/?url=https://content.instructables.com/FQJ/X0SF/IL9Q71NB/FQJX0SFIL9Q71NB.jpg&filename=15A.jpg)
![15B.jpg](/proxy/?url=https://content.instructables.com/FZ5/Z3M4/IL9Q71NX/FZ5Z3M4IL9Q71NX.jpg&filename=15B.jpg)
Insert the caster's mounting shaft through the existing hole at the end of the ruler, and then slide on three 5/16" washers.
Next, slide on the other ruler onto the shaft of the caster such that the side with the paintbrush is facing up.
Finally, slide the shaft collar onto the caster's shaft. Press everything firmly together, and lock it in place by tightening the set screw using an appropriate hex wrench.
The two rulers should now pivot around the caster stem. When the connecting arm is attached to the ruler, this will cause the rulers to move in a scissor-like motion.
Goodbye Marker
![resized_F6OM3AEIN96AGLT.jpg](/proxy/?url=https://content.instructables.com/F0C/35EV/IOFZA6MU/F0C35EVIOFZA6MU.jpg&filename=resized_F6OM3AEIN96AGLT.jpg)
![16B.jpg](/proxy/?url=https://content.instructables.com/FOH/H4WJ/IL9Q76CZ/FOHH4WJIL9Q76CZ.jpg&filename=16B.jpg)
![16C.jpg](/proxy/?url=https://content.instructables.com/FDM/KTW5/IL9Q76FH/FDMKTW5IL9Q76FH.jpg&filename=16C.jpg)
Pull the marker apart using a pair of pliers.
Take the body of the marker, and saw off the end to create a hollow tube.
Next, cut a section of tube that is approximately 1-1/4" long.
This will function as a spacer between the connecting arm and the far ruler.
Attach the Brush
![18A.jpg](/proxy/?url=https://content.instructables.com/FNZ/6A62/ILJSG289/FNZ6A62ILJSG289.jpg&filename=18A.jpg)
![18B.jpg](/proxy/?url=https://content.instructables.com/F0F/QLMT/ILJSG28D/F0FQLMTILJSG28D.jpg&filename=18B.jpg)
![18C.jpg](/proxy/?url=https://content.instructables.com/FRA/0VEN/ILJSG28F/FRA0VENILJSG28F.jpg&filename=18C.jpg)
![18D.jpg](/proxy/?url=https://content.instructables.com/F84/QRNJ/ILJSG28H/F84QRNJILJSG28H.jpg&filename=18D.jpg)
![18E.jpg](/proxy/?url=https://content.instructables.com/FFY/SCIW/ILJSG28I/FFYSCIWILJSG28I.jpg&filename=18E.jpg)
Insert a 2" bolt down through the brush, the plastic spacer made from the marker, and finally the corresponding 5/16" hole in the ruler.
Fasten the bolt firmly in place with a lock nut to keep it from unthreading.
The slider crank mechanism should now be complete. When you rotate the crank manually with your hands, the rulers should move back and forth.
Insert Batteries
![19A.jpg](/proxy/?url=https://content.instructables.com/FYY/D08W/ILJSHN2Q/FYYD08WILJSHN2Q.jpg&filename=19A.jpg)
![19B.jpg](/proxy/?url=https://content.instructables.com/FD7/9WML/ILJSHN2V/FD79WMLILJSHN2V.jpg&filename=19B.jpg)
![19C.jpg](/proxy/?url=https://content.instructables.com/FXL/IKOJ/ILJSHN2W/FXLIKOJILJSHN2W.jpg&filename=19C.jpg)
Insert batteries into each of the battery holders.
Be careful to keep any of the exposed wire leads from crossing and shorting the batteries.
Attach the Batteries
![20A.jpg](/proxy/?url=https://content.instructables.com/FWK/5T9M/ILJSHN8P/FWK5T9MILJSHN8P.jpg&filename=20A.jpg)
![20B.jpg](/proxy/?url=https://content.instructables.com/FYT/6K0I/ILJSHN8T/FYT6K0IILJSHN8T.jpg&filename=20B.jpg)
![20C.jpg](/proxy/?url=https://content.instructables.com/FVO/NMVR/ILJSHN8U/FVONMVRILJSHN8U.jpg&filename=20C.jpg)
Zip tie the battery holders centered upon the underside of each of the rulers.
Trim away the excess zip tie plastic as per usual.
Insert the Switch
![21A.jpg](/proxy/?url=https://content.instructables.com/F4H/FJYI/ILJSHR3X/F4HFJYIILJSHR3X.jpg&filename=21A.jpg)
![21B.jpg](/proxy/?url=https://content.instructables.com/FO8/W4CY/ILJSHR42/FO8W4CYILJSHR42.jpg&filename=21B.jpg)
![21C.jpg](/proxy/?url=https://content.instructables.com/FJ6/EVMY/ILJSHR44/FJ6EVMYILJSHR44.jpg&filename=21C.jpg)
Insert the switch into the 1/4" hole from below and fasten it firmly in place using its mounting nut.
Wire the Switch
![22A.jpg](/proxy/?url=https://content.instructables.com/F8L/4G9H/ILJSHRAO/F8L4G9HILJSHRAO.jpg&filename=22A.jpg)
![22B.jpg](/proxy/?url=https://content.instructables.com/FRN/4H7I/ILJSHRAP/FRN4H7IILJSHRAP.jpg&filename=22B.jpg)
![22C.jpg](/proxy/?url=https://content.instructables.com/FWK/8NZ0/ILJSHREA/FWK8NZ0ILJSHREA.jpg&filename=22C.jpg)
Solder the red wire from the motor to one of the metal terminals on the underside of the switch.
Solder the red wire from the battery pack next to the motor to other terminal on the switch.
The Remaining Wiring
![23I.jpg](/proxy/?url=https://content.instructables.com/FSZ/EXPL/ILJSI57K/FSZEXPLILJSI57K.jpg&filename=23I.jpg)
![23A.jpg](/proxy/?url=https://content.instructables.com/F61/ZG3Q/ILJSI54D/F61ZG3QILJSI54D.jpg&filename=23A.jpg)
Solder together the black wire from the motor to the black wire on the unused battery pack on the opposite ruler.
Insulate this connection with heat shrink tube.
Twist the remaining red and black wires from the two battery packs together. If the motor starts to spin, flip the toggle switch. It should stop, and you should be free to resume soldering the connection between the two wires.
Again, insulate this connection with shrink tube.
Finally, clean up all of the wiring with zip ties.
Part
![24A.jpg](/proxy/?url=https://content.instructables.com/FW4/420X/ILL7UW7Z/FW4420XILL7UW7Z.jpg&filename=24A.jpg)
![cropped24B.jpg](/proxy/?url=https://content.instructables.com/FYJ/ABNS/IN96AGX5/FYJABNSIN96AGX5.jpg&filename=cropped24B.jpg)
Cut the sponge into two equal halves.
Attach the Sponges
![25A.jpg](/proxy/?url=https://content.instructables.com/FD2/LOZZ/ILL7V2BZ/FD2LOZZILL7V2BZ.jpg&filename=25A.jpg)
![25B.jpg](/proxy/?url=https://content.instructables.com/FNC/QKNP/ILL7V2C3/FNCQKNPILL7V2C3.jpg&filename=25B.jpg)
![25C.jpg](/proxy/?url=https://content.instructables.com/F3U/QNMB/ILL7V2CK/F3UQNMBILL7V2CK.jpg&filename=25C.jpg)
![25D.jpg](/proxy/?url=https://content.instructables.com/FYW/WETL/ILL7V2DM/FYWWETLILL7V2DM.jpg&filename=25D.jpg)
![25E.jpg](/proxy/?url=https://content.instructables.com/F8D/8NX6/ILL7V2E3/F8D8NX6ILL7V2E3.jpg&filename=25E.jpg)
![25F.jpg](/proxy/?url=https://content.instructables.com/F8F/LSMT/ILL7V2F3/F8FLSMTILL7V2F3.jpg&filename=25F.jpg)
Pierce a zip tie through one of the sponges, loop it back and pierce it again.
Finally, zip tie the sponge to the end of one of the rulers.
Repeat the process for the second sponge.
Trim away the plastic zip tie tails and you should be good to go.
When you are ready, turn it on and observe how a single rotating motion can be harnessed to create a much more complex motion.