The Giant Claw Game! - The Controls SystemMay 14, 2013 Edit
I have been having lots of problems this week with getting the motors working with the gantry system.
- The motors are from different vendors and move at different rates.
- The motors draw too much current for the motor shield to handle.
- The motors are hard to mount on the cube.
- The pulley for motors slips and I am unable to get them to move the cables.
The motors come from old power drills that I picked up at a local flea market (Binners market). You can pick up some pretty amazing things at this market when you look hard enough. I purchased 5 battery powered drills for $5 each, 4 of them worked. The picture shows three of the motors taken apart with the supply voltage taped to the motors. Drill are great for finding cheap motors with a gear box and a chuck. A retail motor with a gear box would probably cost me in the range of ~$30 each. The problem with getting second hand motors is that I couldn’t get all of the same type of motor. Luckily, of the four working drills two of them have relativity similar gear ratios and power requirements. Even still the minor differences between these two motors will probably cause me problems after a few hours. I think I can resolve the difference by providing different voltage to each of the motors, its not ideal but it should work.
I purchased two L298 Dual H-Bridge Motor Driver from leeselectronic.com. They work great and are easy to interface with, but they have a 2 amp max current limit. After experimenting with the motors I have I found that they require 1.5 Amp to starting current and probably need around 6 Amps to move the gantry around properly. Way too much current for these motor shields.
After doing some more research and asking a few questions online I decided to build a relay version of a H Bridge instead. The advantage of using a relay is that it can take a lot more current +10 Amps but its switching frequency is much lower (~40 hz) and it costs quite a bit more ($5-10 per relay).
I designed this circuit in circuit lab (online social circuit building tool). I am planning on picking up the parts and building it tomorrow. Hopefully this will resolve the motor current problem I was having.
The next problem was how to mount the motors on to the cube. I wanted to use a hole saw and cut a circle in to a 2x4 and then attach the 2x4 to the cube. But I didn’t have a hole saw so I ended up using a jig saw and a drill. The results worked but didn’t look pretty. I might end up redoing this work if I can find a friend with a hole saw.
I also have to figure out a way of making pulleys for the motors that can pull the cabling and move the XY table. Normally I would have used a timing belt instead of cables. The rubber teeth inside the belt would have added the grip on the pulleys that I needed. But timing belts are really expensive. The two belts that I would have needed for this project would have easily cost me more then the entire project has so far. Still trying to figure this one out.
Still lots to do but things are coming along.