Instructables
Picture of CRANE GAME
DSCF4480-1.JPG
IMG_0189.JPG
image135.jpg
IMG_0299.JPG
IMG_0153.JPG
DSCF4552-1.JPG
DSCF4499.JPG
DSCF4532.JPG
DSCF4525.JPG
DSCF4536-1.JPG
DSCF4549-1.JPG
DSCF4552-2.JPG
This shows you how to build an arcade style crane game out of scrap parts.  The basic parts are: a motorized assembly that raises and lowers a claw,  a track for the assembly to move around on, and a ctontroller with some electronics. 

October 2013
https://www.tindie.com/products/marc_cryan/claw/
Actual claw on tindie.com fundraiser 
***

*** September 2013  **
I have a project running on tindie.com   for a real claw machine kit.
****


Here is a video of the machine in action.

Video -

Emma after some practice-


Controls -


Pick up and drop -



Overview -
I like to document my work as I go along, so this instructable contains multiple versions with varying components.   I think that this is useful because it seems unlickkly that you would happen to have all the same scrap peices as I do.  I have also tried to show how to build a moderatly complex system by  bulding one peice at a time and then combining them.  By keeping things modular you are able to swap out large peices without having to rebuild the whole thing. 

Here is a rough outline:
     - Get each motor working by itself,  I used a joystick with potentiameters to control the motors, one POT per motor
     - Get all the motors working at once - by wiring all the motor drivers to the Arduino at once and combing the control codes, we are able to run everything at once.  This same setup will be used l to control the whole machine.
     - Build a small test rig with just one axis - It is easier to work on something that you can put on a bench top then it is to work with something mounted the ceiling.  So I will show you how to cobble together a test set-up that will let us work out some of the details without having to build a large rig.
     - Build a large rig - once everything is working on the test rig, we can go ahead and make it bigger.  This required some different materials, but the wiring, code, and motor setup don't nned to change. 
    - Test and improve  - Once the system is working it is easy to see things that can be improved.  I wound up replacing the original joysticks with a larger controller from a kids game.  The whole thing is pretty flexible so there is alot of room for modification and impruovemnt.


Parts - 
Most of the project is built with salvaged computer parts.   Here is a list of parts that you could salvage or buy. 

Power supply - I used a power supply salvaged from a server.  There are good instructions for hacking one of these here http://reprap.org/bin/view/Main/PCPowerSupply  I also pulled a 12volt power supply out of a printer that would have worked well.

Motors -  At least 3 motors are needed.  I used 2 DC motors and a pretty big stepper.  The DC motors are both pulled from an Epson Printer/Scanner.  The stepper is a NEM23 from Keling Technology.  A smaller one would be fine.   You can get one here http://www.sparkfun.com/commerce/product_info.php?products_id=9238.

Drivers -  You can build, buy, or salvage drivers for the motors.  Buying is the easiest and they are not two expensive. I used a  steppper driver and the DC motor driver from the RepRap Gen2 electornics.  The DC motor driver is here - DC Motor Driver v1.1 Kit  http://store.makerbot.com/electronics/electronics-kits.html.   Sparkfun as a good stepper driver here - http://www.sparkfun.com/commerce/product_info.php?products_id=9402

This motor sheild from Adafruit would work well - http://www.adafruit.com/index.php?main_page=product_info&cPath=34&products_id=81

Microcontroller -   The Arduino platform is fun and easy to use.  http://www.arduino.cc/  I used the
Arduino Duemilonove with a hefty screw sheild  http://store.makerbot.com/electronics/electronics-kits/arduino-breakout-shield-v1-4-kit.html

Controller - I started with thumb joystick controllers like  on a PS2 - but I found that a controller from Leap Frog Baby worked out better. http://www.amazon.com/LeapFrog-10210-LITTLE-LEAPS-PLATFORM/dp/B000EIV1OM

Claw - The claw is made from mouse shells and strips of plastics cut from a printer housing.

Wiring - Most of the wiring is discarded cat-5 network cable

Track  - For the test rig I used wooden tracks, for the larger set up I used metal J-trim 1/2" x 10' - this was in the drywall section of home depot - it is the only thing I bought specifically for this project.

 
Remove these adsRemove these ads by Signing Up
1-40 of 74Next »
dylanpahina4 months ago

Hi, nice project!

i was wondering if you can do this with two stepper motors?
and what would the circuit look like?

thanks in advance!

ayman0018 months ago

i didn't find any diagram for this project ...

can you help my to get diagram

ischweetz8 months ago

How did you make the Funzo??

bstacy3710 months ago
So Marc, this is almost inline with a project I'm starting. I would like to create a 2 servo mechanism that controls pitch and yaw for a telescope. I have a couple of easy step controllers and a joystick ( 27800 2 axis ), I'm new to arduino so I am unsure if I need to incorporate that into the design - such as the coding. Have you come across a design for this sort of project? Thanks

bill
mcsk8rg1 year ago
could you have run a DC motor in place of the stepper motor with the same code which is used to run the DC motor??
please reply
ps: excuse me if i am being lame n stupid
ammorphis1 year ago
help me
can you send me the code for two stepper; Stepper X, Stepper Y for pan and tilt http://www.youtube.com/watch?v=ZulNF2enrd0
i have 2 stepper motors, 2 EasyDriver, Arduino uno and Joistick
black_daysro@yahoo.com
thanks in advance ;)
mutrics1 year ago
http://www.robofun.ro/shields/driver-l298-asamblat

i heve this type of motor shield.
marc.cryan (author)  mutrics1 year ago
You should be able to add a second copy of the same code, subing the pins being used for the second motor.

Try looking at steps, 3, 15, 16

Step 3 shows the code for a stepper (which you probably dont need).
Step 15 shows code for a second dc motor.
Step 16 shows these three peices of code combined.

Good luck!
mutrics1 year ago
i have that motor shield, but i can't make the skech to drive 2 motors.
I use youre sketch and it works fine, i don't know how to modify for 2 motors.
mutrics1 year ago
Hi.
what i need to change, add to drive two dc motors (speed and direction)?
please help.
thanks.
marc.cryan (author)  mutrics1 year ago
I think you are looking for an H-bridge circuit. Also - I recomend the motor sheild from adafriut for things like this.
sorry i forgot to say : As you know the two POTs will be the joystick ;)
yeah me too i have to control two steppers which have 20 n.m torque '' big motors '' and i have the stepper drivers.
the motors are installed in a 4 wheeler cart.
i made a code to control the cart forward and backward using the motors+drivers+Arduino uno+potentiometer
and then i made another code without the potentiometer
using 3 Arduinos ( 1 master and two slaves) each slave is connected to a motor
the code is to apply speed to one of the motors for ex 10 rpm and the other motor
5 rpm .. just to make the cart turns left or right ...
THE QUESTION NOW WHAT IS THE CODE FOR THE STEERING USING THE POTENTIOMETER ??
there will be 2 POTs one for steering and the other for moving.
PLEASE HELP !!!
juande30032 years ago
Hello,

I need your help, I'm doing a project similar to yours, a pan tilt head and I need to control two stepper motors with a joystick.
Can you help me with the code? How would two stepper motors?

I'd appreciate if you can send photos or a wiring diagram.

Thank you very much.
marc.cryan (author)  juande30032 years ago
Do you have to use stepper motors?

There are alot of examples of pan-and-tilt using hobby servo motors.

Here is an example of pan/tilt using servos and joystick: http://www.practicalarduino.com/news/id/411
the code is here: https://github.com/practicalarduino/PanTiltControl/blob/master/PanTiltControl.pde

spark fun has parts: http://www.sparkfun.com/products/10335
Yes, I need to do it with stepper motors, is difficult to code for two engines?
marc.cryan (author)  juande30032 years ago
Yeah -- hobby servos have built in feedback, you just need to tell them the angle and they go. If you use stepper motors you need a circuit to drive the motors and some sensors to get feedback on the position of the motors. On the other hand, stepper motors are usually sturdy with more power; so it might be worth it.

Good luck!
Thanks for responding,
I like to use stepper motors because they have strength and are accurate. Project where you use your joystick, you use a stepper motor, could you help me with the code to use 2 stepper motors?
I know nothing about programming, so I ask for help.

Thanks for everything,

Greetings.
gibby1232 years ago
I love this! Maybe you could remount the joystick on the ps2 controller?
tinker2343 years ago
wow my family broke my pinball machine hey maybe claw machine next has top be tougher
One.4 years ago
 genius!

marc.cryan (author)  One.4 years ago
Thanks!

I was thinking about making a crane game kit.

Do  you think anyone would be intersted?

-Marc
One. marc.cryan4 years ago
 yeah! I think it's a great idea. People would definitely like it.
would be a great idea, but I've looked it up, and those claws can run over $100 each.
And I sincerely hope the mouse you used didn't cost that much.
marc.cryan (author)  Whitestar2453 years ago
Yeah - but claws are sort of becoming popular.

Spark fun has a 2 finger metal claw for 10$ !

http://www.sparkfun.com/products/10332
That would be awesome! I wonder if you could use an existing claw from an arcade as well.
Skyriam3 years ago
Incredible! Thanks for sharing, how would you do it to make it "stiffer"? Like the arcade games. Thanks!
cdousley4 years ago
you saved my life i was working on my own crane game and realized i had no idea how to make the claw until i saw this
OMG its funzo from the simpsons
rasraster4 years ago
Great Instructable - congratulations! One quick question: would it maybe make more sense to use a machine screw for the center of the claw, rather than a wood screw? For one thing, you don't risk drilling a hole in the object you're picking up. :-) Second, the wood screws have decreasing diameter near the tip, which might make the mechanism slip. Finally, machine screws could give you finer and better control due to the diameter thing and typically more threads per inch. Again - GREAT job!!
J-Five4 years ago
COOL 

the kids are so adorable!!!
madmada4 years ago
"writhing funzo's in my sack, makes me happy, makes me hurt my back"
hamgravy4 years ago
 i KNEW it was funzo. i was just thinking: that doll looks soooo familiar....
marc.cryan (author) 4 years ago
Any interest in a Crane Game kit?

It would be an Arduino sheild with a Joystick, Buttons, and Motor Drivers.

I started using BatchPCB.com last night and boy is it fun!



itsy_bitsy_X01.JPG
downgrade4 years ago
 We need an instructable on how to make that helmet next!
marc.cryan (author)  downgrade4 years ago
Yeah - until then you'll have to go to pre-school to learn that one!
 Have her teach you, and make an instructable at the same time. That would be cute.
marc.cryan (author)  downgrade4 years ago
Thanks- that's a great idea!
Musicman414 years ago
Ive got another idea.  Why dont you set up four motors, one in each of the corners of the room, which act as pullies?  You can control the precise position in all three axies, and have more stability.
marc.cryan (author)  Musicman414 years ago
Why dont you set up four motors, one in each of the corners of the room, which act as pullies?

You could certainly try this - but it sounds a bit tricky.  I've had better luck with very short drive trains.   In this project I've avoid gears and belts as much as possible.

-Marc
1-40 of 74Next »