My latest project is a very small/simple machine to fill very small containers.
The problem I'm trying to solve is this: I have a 6"x6" tray that contains small
containers in an x,y grid. Think of a miniature ice cube tray. I want to design
something that will be able to position the tray underneath a filler so I can
automatically fill the holes with water/sand/whatever. So essentially I need to
design a simple 2-axis linear motion system. Something like the movable bed some
3d printers have.
Now, I want to keep this project as simple/cheap as possible while still
retaining the accuracy needed to hit the ~0.4" targets spaced ~0.5" apart. My
idea so far is to use a stepper motor with a pinion gear to connect the platform
via a rack (linear gear?). This seems like it would work quite well, and be
cheap and simple. Taking only about a single axis at the moment, the tray would
sit on two parallel rods that allow motion only in the axis direction and the
rack would be fixed to the underside of the tray in the middle, parallel with
the rods and axis of motion. The stepper motor would be fixed to a chassis under
the tray. It would have a toothed gear (pinion gear?) fixed to its shaft
that would directly drive the rack, thus, moving the tray.
Ok, with all of that out of the way, here is the 1st problem I am facing. I
cannot, for the life of me, figure out a simple method of linking the rack and
stepper motor.
Here is the motor I was thinking about using:
http://www.robotshop.com/en/5v-2oz-in-unipolar-stepper-motor.htmlIt has a 5mm flatted shaft. So I need a gear with a 5mm hole.
Here is a cheap rack, and it even comes with a gear. The rack comes with a gear,
but no information on the size of the center hole. It appears to be too small
though.
http://cgi.ebay.com?ViewItem&item=380918372103
I could use the following, but I'm worried about it slipping since there is no
set screw. Maybe some blue Loc-Tite would hold it? Also, it is module 1.0 and
the rack is 0.5:
http://cgi.ebay.com?ViewItem&item=231161739468
Here is another option, but It is for a D shaft, will this fit on a flattened
shaft? Also, the teeth do not look very long, I wonder if this will mesh with
the rack?
http://cgi.ebay.com?ViewItem&item=331352172996
The teeth on this one look better, but I cannot find one in 5mm??
http://cgi.ebay.com?ViewItem&item=231365752261
Alternatively, I've seen metal gears with set screws on various websites, or
universal mounting hubs. But these items cost upwards of $8-$10 each. Do I
really need to spend 200% the cost of the motors on chunks of metal/plastic to
link them to a simple plastic rail?? What do others do in this situation?

GAaaah!! Help

2nd problem: All of these gears have a different Pitch/module. The rack I found
is module 0.5. The most promising gear (1st one listed above) has a module of 1.
See my frustration

?? Is there anywhere I can buy a simple shaft mountable
gear and rack that will mesh and fit some small stepper??
Thanks for your time.