Рет қаралды 23,527
This claw machine was built for my sons birthday party. He wanted some robots and so I figured this would be the easiest to build. Besides, I have been wanting to build something like this for a little while and needed a good excuse!
This was built from quite a few different scrapped parts.
Parts that were harvested from Copy machines: two of the three motors, the power supplies, the limit switches, and the 24V solenoid coil.
The carriage itself is from a commercial printer that I modified to fit the claw machine. I had to make mounts for the carriage motor and the z axis motor and also mounting of the limit switches.
The Stepper drivers take in 24V and current limit to below an amp. This allowed to keep from adding heat sinks to the drivers.
The controller for this is a 16F870 PIC. I used asm to program as I am more comfortable with this style. It utilizes the Timer2 and PortB,0 interrupts to get the steps going to the stepper drivers and the push button to cause the claw to drop and try to pick up a prize. Also added was a wdt timer to prevent any lockups from happening.
The upright frame is made from raw aluminum angle stock and the top frame was made from some chrome table legs I had from scrapping.
The back aluminum panel was taken from some scoreboard scrap that was going to be tossed anyways.
The Claw solenoid is driven by a ULN2001A darlington array, it is what I had in the junk box and works good. I did add a kickback diode on the coil itself, as I did not want to have the pulse travel down the cables.
The wiring was some scrap I came across, like the stepper motors wiring is from a server racks communications side.
That is about all I can remember for now. If there are questions about this, ask in the comments and I will try to get them answered.
Thanks for looking!