Introduction: Robotic Arm Controlled by NES Gamepad


In this instructable I gonna try to describe how to make a robotic arm with parts from a printer, and control it using a NES gamepad.
It may look like a hard work but I have prepared templates for all the parts and I try to take pictures for all the angles in order to make it simple.
Also it is a really cheap robot, most of the parts come from a dead printer.
I used two PIC16F628A microcontrollers because only one was not enough for all the motors, they are pretty cheap and easy to get instead of a PIC with more pins.

Age group: only me:18+.



Step 1: Tools and Materials

Tools
Not many tools are required, a rotary tool is perfect for cut the metal and the plastic, also if you have a driller it could help with all the holes that you have to do.
For the electronics boards you will need a 30w soldering iron.

Materials
Most of the stuff come fron a dead printer HP660, other models of the printer like the HP670 are almost the same and will be fine. The things you must take from the printer are detailed in the next step.
For controlling the robot I use a regular Nintendo Entertainment System gamepad, it is not an original gamepad, any kind will work, and it is not hacked at all, you won't need to modify it to work with the robot.
From another printer you need the stepper motor that is attached to the belt, because the HP printer use a DC motor for this and they are harder to control.
Three plastic gears are required, two of the same size and one smaller.
The servo in the hand was broken so y took the wires directly from the motor and control it as a regular dc motor.
A block of plumb for using as counterweight, if you cant get one of these you can replace it with any other heavy thing.
Electronic stuff for the boards are detailed in step 11.
Wood: one piece of 54x16 cm, one piece of 11x11 cm and four pieces of  2x3 cm.
Aluminium: one bar of 8 cm and one bar of 20cm

Step 2: Stuff From the Printer

I used almost everything from the printer.
The plastic and the metal is used to make the plastics/metal parts.
There are 3 motors, 2 steppers and a DC motor, I just used the steppers ones with the gears attached to them.
I also used the cooper rings and the guide of the cartridge.
From the part that moves the paper I cut the first part with the metal gear and the center of the wheels.
Also all the screws can be used in the wood.
Finally take from the printer belt and the small plastic wheel where it rolls.

Step 3: Small Metal Parts

For making this parts I have recycled the metal core of a transformer.
Cut the templates and draw it above the metal. Cut and drill the metal.
Don't forget to paint it for avoiding the corrosion.

Step 4: Big Metal Parts

Like the step before I use the templates for cutting the metal but this time the metal have to be stronger. The metal of the chassis of the printer will be great for this.
There is only one piece that is welded. Since I have no soldering tools I send it to a workshop. It is just a small welding so they did it for free.
Remember that you have to paint all this parts too.

Step 5: Plastic Parts

For making the plastics parts you have to find straights parts on the plastic of the printer and cut them from there using the templates.
There is just one part that is critical and have to be done carefully. This is the one where the big stepper motor is attached. You have to cut it without avoid the bearer of the plastic gear.

Step 6: Making the Wooden Base

Nail two of the small wood on one side of the base.
Then measure the length of the guide and nail the other two.
Polishing the ends of the guides and screw them in the small wood. You can use the screws of the printer.
Ensure that the distance between the guides is slightly larger than the size of the base of the robot.

Step 7: Assembling the Hand

Take two of the plastic parts labeled P1 and glue one in the bottom and one in the top of one of the big plastic gears. Be sure that you are gluing in the center of the gear.
Repeat it with the other gear. The small one is glued in the servo.
Then take other two P1 and screw them to this.
Put this parts together and measure the distance between the center of the gears. Now you know where you have to drill in the P4 and P5 parts and join them using a small plastic spacer.
Now drill the holes for your servo and finish the assembly of your gripper.

Step 8: Assembling the Elbow

Start screwing together the M1 and M5 metal parts and then the small stepper motor from the printer.
Use the two M3 parts to attach the black plastic gear that come with the stepper motor with the M2 part.
Pass a shaft through the black gear and the holes of the M1 and screw it to the aluminum in order to finish this section.

Step 9: Assembling the Shoulder

Start putting together the plastic tubes with the welded part and srew it in one side of the wood. Then insert the metal gear inside of the plastic tubes and fix it with a screw in the end.
Now you have to measure how tall is it and make two custom metal parts in order to attach the big stepper motor to the metal gear.
Put the P3 parts in the back of the wood.
Attach your counterweight to the end of your aluminium and screw it to the shaft of the metal gear using the P2 parts from the top and a metal rod from the bottom.

Step 10: Final Assembly

Install the motor and the wheel of the belt. The motor should be at the beginning of the horizontal guides and the wheel should keep the belt straight.
Put the back of the arm in the guide of the back and secure the front to the cooper tubes using two plastics zips.
Using a small piece of metal attach the belt to the arm.

Step 11: Electronic Boards

Materials
2 pic16f628a
3 uln2003
1 7805
1 bridghe rectifier
3 10k resistors
2 4k7 resistors
2 1k resistors
1 led
1 nes gamepad connector
2 100nf capacitor
1 100uf capacitor
1 12 volt 2 ampere power suply

I made the boards using the ironing method, the small one could be done from a regular bread board. The small board works as a stepper motor driver and is connected to the main board.

Step 12: Programming

For programing the PICs I used a JDM programmer and the WinPic 800 software. The hex file called Main is for the pic in the main board and the one called Aux is for the small board.

Step 13: Running

This robot is really easy for control, and probably is not the first time you use a NES gamepad.
We use A and B buttons for opening and closing the hand. Left and Right button for horizontal movement.
For the vertical movement we have two motors but one up button and one down button, so I decided to use the select button to switch between them.
Take a look at the videos if you have any doubt.

Comments

author
Phoenix78 (author)2015-04-16

Age group: only me:18+....LOL. Great Job..I love the added NES gamepad..oldscool :-)

author
Raphango (author)2013-09-28

Whoa man! Pretty awesome 'ible!
Congratulations!

author
baker amin (author)2012-03-30

I couldn't understand how does the belt move the arm horizontal, can you explain it or at least provide a picture??

author
Mulato (author)2011-11-14

Hey... please, answer me =)
Im have around 3 months trying to make to work this project and it doesnt... =/
Thanks.

author
Mulato (author)2011-09-11

Hey I have a Q... where is the 100uF Cap in the board draw? jeje Thanks, it's helping me a lot!

author
atorres sosa (author)2011-09-08

what its the schematic diagram???

author
pedro120495 (author)2011-08-19

how much weight need the counterweight, or it didn't care???

author
pedro120495 (author)2011-08-18

how you make the card, where you found all the pices or they come in the printer card, did you speak spañish????

author
pedro120495 (author)2011-08-16

hi men can you make a video teaching how program whit winpic becos i will do the arm but i am new in this so i dont understand how program ir, ehat i need to conect to the pc or what?????

author
pedro120495 (author)2011-08-16

in the last photo the rectangles are of plastic????

author
brunoip (author)pedro1204952011-08-16

yes, they are

author
pedro120495 (author)2011-08-16

hi men i like it, but of where you get the rectangle pices of metal that you weld, the one of the first photo????

author
brunoip (author)pedro1204952011-08-16

it is used to hold the glass inside some windows

author
redback7 (author)2011-02-11

This takes Jenga to a whole different level.

author
rabb72994 (author)redback72011-08-03

LOLS

author
pietzeekoe (author)2011-04-19

why did you use stepper motors? I think standard DC motors would have worked fine.

author
rabb72994 (author)pietzeekoe2011-08-03

Where is your robotic arm controlled by an NES game pad?........ Oh that's why

author
saschi777 (author)2011-04-27

hello to whoever has finished this project/ i need help. i need to find the NES controller conector or what ever it is. please if anyone knows where i can get it reply to this comment or message me.asap

author
Sgt Niesen (author)saschi7772011-07-24

Go to ebay.com

author
vishalapr (author)2011-06-12

You must be great at video games etc

author
vishalapr (author)vishalapr2011-06-12

How did you add the pdf and the other files please reply!!!!

author
Rybka30 (author)2011-05-29

pretty cool :D

author
yaly (author)2011-05-29

me to i'm 14 and six days and i also want to build it. but i only have one tiny little problem is that the computer i have doesn't want to upload any hex file to any of my micro-controllers i have an already setup programmer i bought for 10.99$ and i made my own but the problem is in the computer i tried several computers and programming soft-wares but there is a hex file that when i load it to ic-prog it tells me that the file doesn't have a device id value and i don't understand what that means. here is the file. PM me if you corrected the file and send it to me it is meant for PIC16f84a. it is from this instructable.thanks please reply soon.

author
umair01 (author)2011-05-12

Dear Sir.
Please Upload the circuit diagram.

Thanks.

author
MECHOL (author)2011-05-01

PLEASE FILM

author
umair01 (author)2011-04-08

please tell me the length of side stepper motor holder case???

author
the_sad_bird (author)umair012011-04-23

i want download pdf

author
wsong (author)2011-04-17

ha ha well done.

author
mikeasaurus (author)2011-03-22

so......the yellow buttons aren't hooked up to turbo yet?

author
jholic (author)2011-03-20

awesome !!!
its will be more cool, if the arm can spin, ,, ^_^

author
Sharlston Cat (author)2011-02-13

Um you could replace the hand with a laser and use it for a custom basic laser cutter

author
sharlston (author)Sharlston Cat2011-03-09

It would have to be very powerful

author
Sharlston Cat (author)sharlston2011-03-10

Ye I Know Im Not As Dumb As U

author
sharlston (author)Sharlston Cat2011-03-10

So if you know the same thing as me then you must be as dumb as me?

author
Sharlston Cat (author)sharlston2011-03-10

no i mean i know more then u

author
sharlston (author)Sharlston Cat2011-03-10

i kmow what yiu mean but you didnt word it properly

author
chessman908 (author)2011-03-01

Do you think an HP855 would work? If not do you have any ideas were i can get a HP660 or something close?

author
tim1986 (author)2011-02-18

This is Amazing!! Well done!

author
Grey_valentine (author)2011-02-18

This is freaking awesome man. Great job.

author
Kaptain Kool (author)2011-02-16

Wow this is awesome. Great instructable!

author
Leuh4n (author)2011-02-14

Muy bueno como siempre Bruno :P

author
nandoi2c (author)2011-02-14

Felicitaciones.
Tenes disponible el codigo en c del proyecto?
Estoy aprendiendo sobre los micros.

author
srsantafe (author)2011-02-13

realy cool, nice toy , thanks for your instructable

author
trayo (author)2011-02-10

I noticed your NES controller has two extra buttons. What are they used for?

Great instructable, by the way. I hope to be able to follow it one day when I get a bit more free time.

author
Kirbsome! (author)trayo2011-02-13

My guess is that it's a third party controller, and that those are turbo buttons.

(see picture 5, step 1)

author
rvalotta (author)2011-02-13

Maybe I'm missing something but the main.hex seems to be missing. Could you also make available the source code the hex file was generated from.

author
robot797 (author)2011-02-13

can i pay you to buy one from you

author
randofo (author)2011-02-11

I'm really digging this project. You have some great re-use going on here.

author
TOCO (author)2011-02-10

Hey, great instructable! Do you know if this can pick up the weight of a d-cell battery? I am on the science olympiad team at school. I think that your design would work great if it can lift the weight. I think that it is a shame that most people just use vex kits that cost hundreds of dollars. I think that the true spirit of the robot ramble event is supposed to be robots like this. I have a few dead printers and dont have anything do do with them. I will probably make this even if we dont use it for science olympiad.

author
brunoip (author)TOCO2011-02-10

The gripper is stronger if you keep the close button pressed, also you can add sugru or something like that to the "fingers" and you will able to pick up the battery.
Regards, Bruno.

About This Instructable

41,264views

189favorites

License:

Bio: Robots and video games...
More by brunoip:"Analog" Bicycle Speedometer Tic Tac Toe MachineEasy USB charger
Add instructable to: