Introduction: Building Small Robots: Making One Cubic Inch Micro-Sumo Robots and Smaller

Here are some details on building tiny robots and circuits. This instructable will also cover some basic tips and techniques that are useful in building robots of any size.

For me, one of the great challenges in electronics is to see just how small a robot I can make. The beautiful thing about electronics is that the components just keep getting smaller and cheaper and more efficient at an incredibly fast pace. Imagine if automobile technology were like that. Unfortunately, mechanical systems at this time, are not advancing nearly as fast as electronics.

This leads to one of the main difficulties in building very small robots: trying to fit in a small space, the mechanical system that moves the robot. The mechanical system and batteries tend to take up most of the volume of a really small robot.

pic1 shows Mr. Cube R-16, a one cubic inch micro-sumo robot that is capable of reacting to its environment with music wire whiskers (bumper switch). It can move and explore the perimeter of a small box. It can be remote controlled using a universal TV infrared remote control that is set up for a Sony TV. It can also have its Picaxe microcontroller pre-programmed with reaction patterns. Details begin on step 1.

Step 1: Components of a One Cubic Inch Robot

Mr cube R-16, is the sixteenth robot that I have built. It is a one cubic inch robot that measures 1"x1"x1". It is capable of autonomous programmable behavior or it can be remote controlled. It is not meant to be anything that is very practical or particularly useful. It is merely a prototype and proof of concept. It is, however, useful in the sense that building a tiny robot allows you to hone your miniaturization skills for robots and other small circuits.

Building Small Robots and Circuits
Keep in mind that building as small as possible means that it may take twice as long as it would normally take to build the same circuit in a larger space. All kinds of clamps are needed to hold the small components and wires in place while soldering or gluing. A bright work light and a good magnifying headset or a fixed magnifying glass are a must.

Small Motors
It turns out that one of the biggest obstacles to making really tiny robots is the gear motor that is required. The control electronics (microcontrollers) just keep getting smaller. However, finding low rpm gear motors that are small enough is not so easy.

Mr. Cube uses tiny pager gear motors that are geared at a 25:1 ratio. At that gearing, the robot is faster than I would like and a little twitchy. To fit the space, the motors had to be offset with one wheel more forward than the other. Even with that, it moves forward, backward, and turns fine. The motors were wired on to the perfboard with 24 gauge wire that was soldered and then glued with contact cement. At the rear of the robot a 4-40 sized nylon bolt was screwed into a tapped hole underneath the bottom circuit board. This smooth plastic bolt head acts as a caster to balance the robot. You can see it in the lower right of pic 4. This gives a wheel clearance at the bottom of the robot of about 1/32".

To mount the wheels, the 3/16" plastic pulleys mounted on the motors were powered up and then, while spinning, were sanded to the right diameter. They were then inserted into a hole in a metal washer that fit inside of a nylon washer and everything was epoxied together. The wheel was then coated with two coats of Liquid Tape rubber to give it traction.

Small Batteries
Another problem with the smallest robots is finding small batteries that will last. The gear motors used require fairly high currents (90-115ma) to operate. This results in a small robot that eats batteries for breakfast. The best I could find at the time, were 3-LM44 lithium button cell batteries. The battery life in very small robots of this type, is so short, (a few minutes) that they usually cannot do anything close to practical.

There was only room for three 1.5v batteries, so they ended up powering both the motors and the Picaxe controller. Because of electrical noise which small DC motors can create, one power supply for everything, is usually not a good idea. But so far it is working fine.

The space in this one inch robot was so tight that the thickness of the 28 gauge wire insulation (from ribbon cable) turned out to be a problem. I could barely put the two halves of the robot together. I estimate that about 85% of the volume of the robot is filled with components.

The robot was so small that even an on-off switch was problematic. Eventually, I might replace the crude whiskers with infrared sensors. I have literally run out of easy to use space, so fitting anything more, without resorting to surface mount technology, would be an interesting challenge.

I like to use clamshell construction for really small robots. See Pic 2. This consists of two halves that hook together with .1" strip headers and sockets. This gives easy access to all the components, making it easier to debug the circuits or make changes.

Pic 3 shows the location of some of the major components.


2 GM15 Gear Motors- 25:1 6mm Planetary Gear Pager Motor:

18x Picaxe microcontroller available from:

L293 motor controller DIP IC:

Panasonic PNA4602M infrared detector:

30 AWG Beldsol heat strippable (solderable) magnet wire:

3 LM44 1.5V. Lithium button cell batteries:

Small blue on-off switch:

Thin solder- .015" rosin core solder:

Resistors and a 150 uf tantalum capacitor

.1" fiberglass copper traced perfboard from:,_LINE_PATTERN_.html

Performix (tm) liquid tape, black-Available at Wal-Mart or

Step 2: Circuit of a One Cubic Inch Robot

Pic 4 shows the location of the 18x Picaxe microcontroller and the L293 motor controller which are the main circuits of the robot. At the time of construction, I could not obtain the surface mount versions of the Picaxe or the L293. Using the surface mount ICs would certainly leave more room for additional circuits and sensors.

18x Picaxe Microcontoller
Picaxe microcontrollers are still my favorite controllers to use on experimental robots. While they have less memory and are not as fast as PicMicros, Arduino, Basic Stamp, or other microcontrollers, they are fast enough for most small experimental robots. Several of them can be easily connected together when more speed or memory is needed.

They are also very forgiving. I have directly soldered them, shorted them and overloaded their outputs and I have yet to burn one out. Because they can be programmed in the BASIC programming language, they are also easier to program than most microcontrollers. If you want to build really small, the 08M and 18x Picaxe controllers are available in surface mount form (SOIC-Small Outline Integrated Circuits).

To see some of the projects you can do with Picaxe microcontrollers you can take a look at:

L293 Motor Controller
The L293 motor controller is an excellent way to control two motors in any small robot. Four output pins from the microcontroller can control the power to two motors: forward, reverse, or off. The power to the motors can even be pulsed (PWM-pulse width modulation) to control their speed.

Dead Bug Style
There was not room on the perfboards to mount the L293 controller so it was installed using the dead bug technique. This simply means that the IC is turned upside down and thin wires soldered directly to the pins which have been bent or clipped short. It can then be glued onto a circuit board or fitted into any available space.

In this case, after the L293 was soldered and tested, I coated it with two coats of the ever handy Liquid Tape rubber to insure that nothing shorted out when it was crammed into the available space. Clear contact cement could also be used.

For a very good example of building circuits using the dead bug style, see here:

Pic 5 shows a helping hands solder jig I have modified by adding small alligator clips to a perfboard to aid in soldering small wires to ICs in the dead bug style.

Pic 6 shows the schematic for the Mr. Cube robot.

You can see a video of Mr. Cube doing a short programmed sequence by clicking on the inch-robot-sm.wmv link below.
It shows the robot at about 30% of top speed which has been reduced using pulse width modulation on the motors.

Step 3: Robot Building Tips and Tricks

After building 18 robots, here are some of the things I have learned the hard way.

Separate Power Supplies
If you have the space, you will save yourself a lot of trouble if you use separate power supplies for the microcontroller and its circuits and the motors. The fluctuating voltage and electrical noise that the motors produce can wreak havoc with the microcontroller and sensor inputs to produce very inconsistent responses in your robot.

Trouble Shooting
I find it best to first build the complete circuit of the robot on a breadboard. Components rarely fail or are defective. If your design is valid, and the circuit does not work, it is almost always a mistake in your wiring. For information on how to do fast circuit prototyping, see here:

I then mount all the motors and sensors on the robot body and program the microcontroller to control them. Only after everything is working well, do I try and make a permanent soldered version of the circuit. I then test this while it is still separate from the robot body. If that works, I then mount it permanently onto the robot. If it stops working, it is often the fault of noise problems.

Noise Problems
One of the biggest problems I have encountered is electrical noise that renders a circuit useless. This is often caused by the electrical or magnetic noise that can emanate from DC motors. This noise can overwhelm the sensor inputs and even the microcontroller. To solve this, you can make sure the motors and the wires to them, are not close to any input lines going to your microcontroller.

Pic 7 shows Sparky, R-12, a robot I made that uses a basic Stamp 2 as the microcontroller. I first tested it with the main circuit board away from the robot and after doing the basic programming, everything worked fine. When I mounted it right above the motors, it went crazy and was totally inconsistent. I tried adding a grounded copper clad board between the motors and circuit but that made no difference. I eventually had to physically raise the circuit 3/4" (see blue arrows) before the robot would work again.

Another common source of devastating noise in small robots can be pulsating signals. If you send PWM signals to servos or motors, the wires can act like antennas and send signals that can confuse your input lines. To avoid this, keep microcontroller input and output wires separated as much as possible. Also keep wires carrying power to motors away from input lines.

Magnet Wire
The problem of wire thickness in very small circuits can be solved by using 30-36 gauge magnet wire. I've used 36 gauge wire for some projects, but found it so wispy, it was hard to strip and use. A good compromise is 30 gauge magnet wire. Regular magnet wire can be used, but I prefer the heat strippable magnet wire. This wire has a coating that can be stripped by merely soldering it with enough heat to melt the insulation. It takes up to 10 seconds to strip the coating while soldering. For some delicate components such as soldering to LEDs or ICs, this can be a damaging heat.

The best compromise for me, is to use this heat strippable magnet wire, but strip it somewhat first. I first take a sharp knife and slide it across the magnet wire to peal off the coating and then rotate the wire around until it is stripped fairly well around its diameter. Then I solder the stripped wire end until it is well tinned. Then, you can solder it quickly to any delicate component with less chance of heat damage.

Thin Solder
When components are very close together, it can be difficult to solder them without blobbing over and shorting nearby pads and wires. The best solution is to use a small tipped adjustable heat soldering iron (1/32") and the thinnest solder you can find. Standard solder is usually .032" in diameter which works fine for most things. Using thinner .015" diameter solder allows you to easily control the amount of solder on the joint. If you use the least amount of solder necessary, it not only takes up the smallest volume, but it also allows you to solder a joint as quickly as possible. This reduces the chance of overheating and damaging delicate components like ICs and surface mount LEDs.

Surface Mount Components
Surface mount components are the ultimate in miniaturization. To use SOIC sized ICs I usually use thin solder and magnet wire. To see a fairly easy way to make SOIC breakout boards or circuits see here:

Gluing on Components Instead of Soldering
Some surface mount components can also be directly glued onto circuit boards. You can make your own conductive glue and use it to glue on LEDs and ICs. See:

While this works, it can be somewhat difficult because capillary action tends to wick the conductive glue under the surface mount LEDs and other components and short them.

Gluing On Components Using Non-Conductive Glue
I have been recently experimenting with gluing on components onto copper circuits boards and conductive fabrics using glue that does not conduct.

See Pic 8 for a picture of a 12 volt light bar (unlit and lit) using surface mount LEDs that were glued on with non-conductive glue. I discovered that if you put a thin film of clear nail polish on the copper traces and then physically clamp on the LED and let it dry for 24 hours, you will be left with a good mechanical joint that is electrically conductive. The nail polish glue effectively shrinks and clamps the led contacts to the copper traces forming a good mechanical connection. It must be clamped for the full 24 hours. After that, you can test it for conductivity. If it lights up, you can then add the second layer of glue. For the second layer I use a clear contact cement such as Welders or Goop. This thicker glue surrounds the components and also shrinks as it dries to securely insure a good solid connection to the copper traces. Wait 24 hours for it to dry before testing again.

Being dubious about how long it would last, I left the blue LED light bar in Pic 8 on for seven days and nights. The resistance of the circuit actually decreased over time. Months later, the bar still fully lights with no evidence of increased resistance. Using this method, I have successfully glued very small surface mount LEDs--0805-- size and larger onto copper clad perfboard. This technique shows some promise in making really small circuits, LED displays and robots.

Step 4: Breaking the Rules

To make really tiny robots, you may have to break many of the rules mentioned above. To make Mr. Cube I broke the following rules:

1- I used a single power supply instead of one for the motors and one for the microcontroller.

2- I mounted the Picaxe microcontroller very close to a motor.

3- I used batteries that are rated for low current draw and ran them at much higher currents than they were designed for. This severely limits the life of the batteries.

4- I crammed all the wires together in a hodgepodge which can create crosstalk and electrical noise problems. I was simply lucky that it did not.

5- I hardwired the circuit onto the robot without breadboarding it first. This can make debugging the circuit very difficult.

You can download the Picaxe programming code for Mr. Cube at:

If you are interested in seeing some of the other robots I have built, you can go to:

Pic 9 shows Mr. Cube and Mr. Cube two, R-18, a 1/3 cubic inch robot that I have started to build. Details on step 5.

Step 5: Mr. Cube Two: Making a 1/3 Cubic Inch Robot

After making a one cubic inch robot that worked, I had to try something smaller. I am aiming for a robot around 1/3 cubic inch. At this point, Mr. Cube Two is about .56"x .58" x.72". It has a 08 Picaxe microcontroller that will allow it to move autonomously. Pic 10 shows the robot on a ruler. Pic 11 shows the other side of the robot on a quarter. The two batteries are cr1220 3volt lithium batteries and it remains to be seen if they will have enough capacity to power the Picaxe and the motors. More batteries may be needed.

It is a work in progress. So far the two pager motors work fine to move and turn the robot on smooth surfaces. The Picaxe microcontroller is installed and has been programmed and tested. Still to be added are the SOIC L293 motor controller and the infrared reflector sensor.

When finished, this will be one of the smallest autonomous robots around with sensors and a microcontroller. While this is a tiny robot, are there smaller amateur robots that are programmable? Yes indeed. See:

1cc Robot:

Pico Robot:


DIY-Guy made it!(author)2016-08-11

The PCB fiberglass boards add unnecessary thickness.
Kapton tape or related product can perform the function of circuit boards with less thickness. Good luck!

laith+mohamed made it!(author)2016-07-22

That is intelligent .

laith+mohamed made it!(author)2016-04-01

That is amazing mini robot...

Elliotbarbo made it!(author)2015-11-11

i am going to make one once i get the money

Elliotbarbo made it!(author)2015-11-11

this is so AWESOME

robobot3112 made it!(author)2014-07-27


achand8 made it!(author)2014-04-17

Thats just awesome, A bluetooth controlled Mr Cube would be even better!

KickBuster made it!(author)2014-02-03

robot.rar :P

49percentGood made it!(author)2013-08-05

Would it be beneficial to use component leads as the wires? Much thinner so it would really clear up some space on the boards.

Amazing+Soldering+Iron made it!(author)2012-11-25

The robot is really cool, especially how tiny it is.By the way - how about you make a sheeet metal body for it?

oldmechanic made it!(author)2012-07-08

cool if it was remote control!!!

shadowyblade made it!(author)2012-09-03

If you read the first part of the article, it states that it is in the introduction before step one. I quote:
pic1 shows Mr. Cube R-16, a one cubic inch micro-sumo robot that is capable of reacting to its environment with music wire whiskers (bumper switch). It can move and explore the perimeter of a small box. It can be remote controlled using a universal TV infrared remote control that is set up for a Sony TV. It can also have its Picaxe microcontroller pre-programmed with reaction patterns. Details begin on step 1.

Kobusswart made it!(author)2012-03-04

Where can I find all the information for all the componets?

shawntherobot made it!(author)2009-11-09

where did you get the l293 i canty find that at didgikey i only found aton of others like l293nd

PaulMakesThings made it!(author)2011-11-27

You can find them on ebay for under $2 shipped. But it can take about 3 weeks because those are from china.

MACKattacksnipe made it!(author)2008-07-08
and the micro size solar cells are perfect Harness the power of light.
For use on power models and science projects, this fuel cell runs on sunlight using silicon as its semiconductor.

  • Efficient, 0.8x1.6" (2.4cm) cell
  • Delivers about 0.3-amps at 0.55VDC in full sunlight

What's in the box

  • Silicon solar cell 0.3-amps at 0.55VDC in full sunlight.

ReCreate made it!(author)2009-07-03

30 miliamps at half a volt? We would need 4 to just power the chip, and the motors, Oh man, We would need more than would ever fit on a tiny robot...

hastroff made it!(author)2011-08-25

.3 A is 300mA not 30

Matrix-technician made it!(author)2011-06-04

A great power source for this would be a tiny lithium ion rechargable battery pack. I pulled one out of an air hogs moto frenzy and it is truly tiny, about 1/8ths" thick and 3/8ths" long.

macman808 made it!(author)2011-04-05

could you please send me the schmatic through a private message?

kazmi44 made it!(author)2010-10-18

can some one send me this robot pdf manual for free.plzzzzzzzzzzzzzzzzzzz
no money this month.

Myers+Technology made it!(author)2010-10-15

Waren-Neutron made it!(author)2010-09-08


Tim+Temple made it!(author)2010-08-05

Or you can glue on some razor blade chips and let it cut its own way in. A cheaper form of battery would be a couple of cells from a little 9V battery.

sourcer made it!(author)2010-07-06

is it able to avoid obstacles? can you leave your source code for your robot on this instructable? and also, can you draw a diagram with only one power supply version for us? thanks alot

raykholo made it!(author)2010-07-20

That schematic only has one power source (alll grounds go to the same place). On top of that, the author specifically mentioned that using one power supply was a bad idea (step 3)

raykholo made it!(author)2010-07-20

Can you talk about sparky's tank treads - Do they work well? I'm looking to build a similar bot but I am having trouble finding small enough tracks. The cheaper the better. Thanks in advance

author made it!(author)2010-06-27

Really nice project! I just have a few questions, though; would you happen to know if the PICAXE 18X can use two L293 Motor Drivers, since it has 8 output pins? I've been wondering if I could use two extra motors for this kind of project. Speaking of capacitors, would I be able to use a 100uf capacitor for this project, or is there a recommended range for the capacitor used in this project? I looked at the project board for this microcontroller, and there is a capacitor, as well as a few resistors; did you use the same resistor values as the ones from the project board on your project? I've been thinking about just buying the resistors, caps, and ICs from the board instead of buying the board. Please reply, and Thanks!

camo888 made it!(author)2010-01-09

in picture #7 where did you get the tracks for that robot
are they custom made or did u buy them ( if so where)

shawntherobot made it!(author)2009-11-02

instread of using the wire  bumper switch you could get one from a computer mouse they usually have three switches that arent very big either so they dont take up much space

Winterz117 made it!(author)2008-11-23

ok do u really need to use the magned wire over normal wire? its really expensive...

shawntherobot made it!(author)2009-11-02

if you take apart an electric motor youll find maybe about 10 feeet iof wire from the average size

mikey77 made it!(author)2008-11-24

You don't have to use magnet wire, but it makes it much easier to make really small robots. Magnet wire is not expensive, you can just take apart a relay and get the magnet wire that way. Generally, the smaller the relay, the thinner the wire.

dagenius made it!(author)2009-04-21

The only problem with thin wires like magnet wire is that it is very thin. The thinner the wire, the more resistance and more inductance. this makes it harder to carry sufficient current through the wire, and creates more rf noise.

Winterz117 made it!(author)2008-11-26

oh ok gotcha. Yeah I was looking for it on digitec and it was like 50$ a spool, so the spools must have held alot of wire. Ok thanks for the reply if inget a mini robot built I'll send u some pics!

yonray made it!(author)2009-10-04

what kind of programming board (what's the name) did u use to programme the microcontroller!

jaxxster1 made it!(author)2009-09-17

do you sell/give these away?

jaxxster1 made it!(author)2009-09-17

i think they are awsome but i dont have the parts do you mebe have a kit i could get?

raveeeee made it!(author)2009-09-12

wht different task can i do wid dis bot ??/,cud u plz send me da programming for dis?

AndyGadget made it!(author)2009-08-12

Lots of great ideas here. A microbot is on my list of projects, but so many ideas, so little free time! What are the sleeves you use on the motor shafts on Mr Cube Two?

Kopolis777 made it!(author)2008-06-13

Wait, if they made solar panels small enough could you use those instead of batteries?

raykholo made it!(author)2008-06-13

just look at the input-output ratio the output should be 4.5 volts

darkmuskrat made it!(author)2008-06-13

To Kopolis777, solar panels may be enough to power it, but any size small enough to fit on the mini-robot wouldn't (most likely) be enough to power it... (Maybe it could recharge the batteries however....)

pyreoutof made it!(author)2008-07-03

nah...that prob wouldnt work. 1-there are no rechargable batteries that small and 2-if u use regular batteries, they might ezplode. Now maybe someone could customly create a rechargeable battery that small...i would like to see that as an ible electrical transformer could be used, but that problably wouldnt work

DIY-Guy made it!(author)2009-01-07

I've got an MP3 player, recorder, FM radio, 1GB memory storage device that is packed inside a one cubic inch package. It used a Lithium Polymer battery that is very thin and flat. Maybe one of these rechargeable batteries would do the job?

Hope there's something usefull at that site for you guys.

ReCreate made it!(author)2009-07-03

Ah yes, those things are surface mounted if we could surface mount this we could probably get it smaller than 2 CM

raykholo made it!(author)2009-07-03

sounds like a plan to me a pcb will be required, and i already have a few layouts made on my laptop, so tell me how to wire it up , and i will see what i can do...

ReCreate made it!(author)2009-07-03

what plan? A surface mounted chip(aka the micro controller) could get 10 times smaller than your nail...

raykholo made it!(author)2009-07-04

the smt counterpart of the microcontroller used here has a different pinout, so the pcb i mad had an smt mount dip socket like here , but for 18dip then its surface mount still, but still big enough to solder

btw yes smt chips do get that small, but check out the sparkfun tutorials on smt soldering and maybe u will reconsider thinking that surface mount soldering is that difficult...

ReCreate made it!(author)2009-07-04

I'll tell you this, Its not easy, I can't see why it would be easy, With the soldering iron you could mess up the whole thing , I don't see how people do it...

About This Instructable




Bio: I believe that the purpose of life is to learn how to do our best and not give in to the weaker way.
More by mikey77:4D Printing: Make a Collapsible Lantern    3d Printing: Zizzy-A Robot Assistant3d Printing Servo Controlled and Other Valves
Add instructable to: