Introduction: Simple Bots: Skitter

Skitter Bot came into this world as result of a chain reaction of exploded of cosmic energy. By current estimates, this chain reaction took roughly 13.7 billion years to complete. When put into such context, it becomes quite clear just how long it takes for near-perfect walking scrub brush bot to come into being.

Do not be fooled. Scrub Bot was not the simple sort of bot that materializes overnight when I zip tie a bunch of scrub brushes together. No! There was an ineffable cosmic plan that led up to this bot's creation, going back well beyond the day when man, through genetic mutation, first evolved the ability to manufacture zip ties and scrub brushes. This bot is a bona fide cosmic child.


Get the Simple Bots eBook for more projects!


Download it in Kindle, iPad, and PDF format.

Step 1: Materials

To build this project you will need:

(x1) continuous rotation servo modified for direct drive**
(x1) 3 x AA battery holder
(x1) DPDT toggle switch
(x4) scrub brushes
(x1) small plastic container
(x1) ballpoint pen
(x1) 1-1/2" x 3/8" corner brace
(x1) assorted zip ties

**The modification of the motor is covered in this instructable.

Step 2: Types of Switches

However, before we get into the build, let's take a moment to understand switches. This is crucial knowledge for creating the H-bridge used to move this bot's brush legs back and forth.

There are many types of switches. You can find switches with levers, buttons, arms, keys, dials, and numerous other mechanisms. In this class we will be largely using lever switches. This type of switch has a little knob that can be toggled back and forth. You likely have encountered these before numerous times.

While toggle switches all more or less look the same, and have roughly the same functionality, their capabilities do differ. Switches have what are called "poles" and "throws."

You can think of poles as inputs into the switch. A switch with a single pole has one input. A switch with a double pole has two inputs. At that, each input is its own seperate circuit. The poles never connect with one another inside the switch.

Throws, on the other hand, are outputs. They are the terminals the pole (input) gets connected to when the switch lever is toggled. For instance, in a switch with a single pole and single throw (SPST), there is only one connection that can be made. When the switch is toggled, a connection is made or a connection is broken. Basically, it is either on or off.

On the other hand, a single pole switch with a double throw (SPDT) has no off position. When one connection isn't being made, a different one is. It basically toggles between two different connections.

Given all of that, a switch with double poles and double throws (DPDT) is basically two seperate pairs of SPDT switches in a single package. When the switch is toggled, the connections switch between two sets of different connections.

Step 3: H-Bridge Basics

An H-bridge is a circuit that allows a motor's direction to be reversed. More advanced H-bridges - like the kind found inside of servo motors - also allow you to control the speed of the motor.

Essentially, an H-bridge consists of four switches. There is a switch between each pole of the motor and ground. There is also another set of switches between each pole of the motor and power.

When these switches are drawn out in a diagram, they look kind of like an “H”. That is how the circuit gets the name H-bridge.

The H-bridge consists of two sets of switches. When the set of switches labeled with “A” is closed, power flows through the motor in such a way that it spins clockwise.

When the other “B” set is closed, power flows the opposite direction and the motor spins counterclockwise.

However, both sets cannot be closed at the same time, or power and ground will be directly connected, and you will have a short circuit.

As well, if you mix and match the switches such as closing A1 and B2, you will also create a short circuit. It is important that either the “A” switches get closed or the “B” switches. Never both or some combination thereof.

Step 4: Wiring an H-Bridge Switch

WIth a DPDT switch you can make the most basic H-bridge imaginable.

Basically, if wired correctly, a motor connected to the switch will spin in one direction when toggled one way, and the opposite direction when toggled the other.

To begin wiring this, solder the red wire from a 3 X AA battery holder to one of the center pins on the DPDT switch and the black wire to the other center pin.

Select one of the pairs of outer pins. Solder a red motor wire to the switch terminal in line with the center pin with the red wire already attached. Next, solder a black motor wire to the other outer pin.

Now, when the switch is toggled, the motor is either powered by the battery pack and spinning clockwise or doing nothing at all. We are halfway there. All we need to do is have the motor change direction when it is in what is currently the 'off' position.

To accomplish this, we need to wire it in such a way as to reverse the power to the motor. This may seem complicated, but is really easy. All we need to do is connect criss cross wires from the unused set of switch terminals to the terminals connected to the motor.

Basically, when the switch is toggled to make this connection, the black wire from the the battery pack is connected to the red wire from the motor, and the red wire from the battery pack gets connected to the black wire from the motor. By crisscrossing the wires, we have effectively reversed the power supply to the motor.

In this configuration, the H-bridge A1 and A2 connections are the first set of terminals connected directly to the motor. The B1 and B2 connections on the H-bridge are the other outer terminals where the crisscross wires are connected when the switch is flipped.

Step 5: Drill

Drill four 1/8" holes into each corner of the servo horn.

Step 6: Attach

Pass two zip ties down through the front two holes in the servo horn.

Next, pass them through the two adjacent center-most holes in the corner bracket.

Then, pass the zip ties through the hanging holes in the brush handle.

Finally, zip tie everything firmly together.

Step 7: Drill

Use the two free holes in the L-brackets as guides for drilling downward through each of the brushes.

Step 8: Secure

Securely zip tie the brushes to the L-bracket.

For extra support, zip tie the brush handle mounting ring to the unused back holes of the servo horn.

Step 9: Cut

Center the backside of your servo near one of the short edges of the plastic container lid.

Trace the outline of the back of the servo and then cut out the shape with a razor blade.

Finally, pass the motor wires through the hole and slide the plastic container lid down over the servo.

Step 10: Drill and Fasten

Drill 1/8" holes in the plastic container lid that line up with the mounting holes of the servo.

Zip tie the motor firmly in place.

Trim away the excess zip tie ends if you haven't done so already.

Step 11: Center and Drill

Center the battery holder over the underside of the plastic container and use the holder's mounting holes as drill guides.

Drill two 1/8" holes.

Step 12: Attach

Place the battery holder inside the plastic container and fasten the two items together using nuts and bolts.

Step 13: Measure and Drill

Take the two remaining scrubbers and measure 1" in from the edge and make a mark.

Drill a 1/8" hole down through the handle where you made this mark.

Step 14: Attach the Legs

Turn the plastic container upside down. Mark, drill, and zip tie the two remaining scrub brushes to the front of the plastic container such that they meet at a 90 degree angle, and point evenly downwards towards the direction of the plastic container opening.

In other words, make two even-length front legs for your bot.

Step 15: Switch

Drill a 1/4" centered hole near the other short edge of the plastic container lid.

Pass the DPDT switch through so that the shaft is pointing at the scrubber legs and then fasten it on with a nut.

Step 16: Wire It Up

Wire together the opposite corners of the DPDT switch.

Solder the red battery wire to one of the center DPDT switch pins and the black battery wire to the other.

Turn the switch so that there are only two pins facing you (as opposed to three). Solder the black motor wire to the DPDT pin closest to you on the right. Solder the red motor wire to the other pin on the left.

Note: If, when you power it up, the switch isn't making the motor move back and forth, remove the batteries. Next, detach the motor wires and reverse the switch pins they were connected to.

Step 17: Extender

Take apart a pen and cut about 1-1/2" from the end of the pen tube.

Step 18: Glue

Make certain the switch is positioned between the two scrubbers.

Fill the pen cap with hot glue and quickly slide it onto the switch's shaft. Be careful not to get any hot glue inside the switch. This could prevent it from working.

Hold the tube in place until it begins to set.

Step 19: Power

Put some batteries into the holder and the legs will start to go.

Step 20: Case Closed

Quickly close the plastic container and let the bot go free.


Get the Simple Bots eBook for more projects!

Download it in Kindle, iPad, and PDF format.
 


Comments

author
Akin Yildiz (author)2016-03-15

im getting ready to make a smartphone controlled mini version of this bot. using chopsticks as legs instead. it will incorporate a nodemcu board and blynk.cc

.
will update progress here.. thank you for sharing, great stuff.!!

Untitled.png
author
bloopadoop (author)2015-08-27

I am DESPERATELY trying to find the Black Plastic Wired 3 x 1.5V AA Battery Case Holder, does anyone know where I can find one?

author
adianand (author)2014-04-13

aditya

you have nice servants man.

picture002.jpg
author
mimad (author)2013-04-23

where can i get the continuous rotation servo modified for direct drive**??

author
white dragon (author)2013-01-18

yay!now i dont have to be the one cleaning the floor with a toothbrush......just hope i dont get caught.

author
Ian01 (author)2012-12-30

It's like that BEAM walker I read about years ago, but with electromechanical control instead of a Bicore. I like the simplicity.

author
godbacon (author)2012-09-26

add some diamond pads to 40 or so bots and you have a team of concrete floor polishers that will work through the night.

author
bigryanj (author)2012-09-23

are they tooth brushes ???

author
richi527 (author)2012-09-14

I'm not a fan of modding servos. I would've like to see a hex shmitt inverter used to control the servo here. the controller would've taken up the room of two postage stamps. The first inverter sets the timing ( 55hz ) the second inverter sets the pulse width (1 to 2 milliseconds on-time in the pulse train). The on-time would be toggled between 1ms and 2ms (full left to full right) by a second pair of inverters producing a square wave, and inputted above the timing resistor on the second trigger to modulate the reference voltage.
WHY DO THIS??? Simple, it allows the experimenter an opportunity to build a PWM controller that has a hard wired function without a per-programmed chip. Also the added flexibility. if you get tired of your toy and want to build something else you can't UN-mod a servo, but your servo controller can easily be reconfigured into a "servo tester".

author
richi527 (author)richi5272012-09-14

P.S. I love the Tupperware project box on this one. :)

author
thattori (author)2012-09-13

As an application of this model, it may be possible to create bots who can swim on surface of water as Gerridae.

author
randofo (author)thattori2012-09-13

Keeping it light enough to maintain the appropriate surface tension might be hard, but that is an interesting idea.

author
thattori (author)randofo2012-09-13

Trying material is not so hard, because it can be done by one hand.

author
Insonicbloom (author)2012-09-13

thats ace. you could totally add a little sci-fi esque siren to that - one that goes woop wooop wooop theres a cool stripboard one  HERE

author
Tomdf (author)2012-09-11

Ok, instead of those brushes one could use toilet brushes. Then before you go to work you just plunk the bot in the john and when you come home the porcelain is sparkly clean!

author
Lindie (author)2012-09-11

Nice! I coud use a couple of these! :-)

author
M.C. Langer (author)2012-09-10

Awesome! I just made my version of your Walker (photos soon). This will be the next Randofo's Simplebot I will to make! :-) Thanks gor those amazing projects!

author
mikeasaurus (author)2012-09-10

You've got some mighty clean floors with a few of these around

(Also, the broom in the video looks sad not being able to participate)

author
iceng (author)2012-09-10

Exceedingly Excellent ....  times four.

These will become known as your wondrous off the shelf  Bot
epoch instructable years :-)

Your very creative tutelage directs my hands to add some intricate
servo action to enhance the flavor of my next ible.

Now sorry that I didn't add anything to the recent
Disappearing Bike Baskets ible

I relish the future fun involved in making something work..
Thank you

A

About This Instructable

39,571views

118favorites

License:

Bio: My name is Randy and I founded the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo:Adjustable BookshelfSponge BotSingle Motor Bot
Add instructable to: