Assembling the Turret
First, tap the four holes in the Turntable Bottom Plate marked below using an 8-32 tap:
Next attach the two limit switches to the top of the Turntable Bottom Plate using four 2-56 machine screws as shown below. Pay attention to the orientation of the limit switches.
Using the 4 Turntable Spacers, attach the Turntable Bering to the top of the plate with four 1/2 inch 8-32 machine screws as shown below:
Next we will assemble the Pi Camera module. Attach a 50 cm Pi Camera cable to the camera and then insert four 2-56 machine screws as shown below. Here I have used nylon (plastic) nuts to fasten the screws. These will act a spacers between the camera and the mount. It is not essential that these be nuts, you can also just use plastic spacers but using nuts will make it easier to assemble. It is important that you do not use metal nuts as they might short out traces on the PC board.
Using a 8-32 tap, tap the two holes in the Flywheel Mount as shown below:
Now, using a 4-40 tap, tap the two holes in the Turntable Gear as shown below:
Cut a 43.5 cm length of 6 mm wide, 2 mm pitch Timing Belt and punch or drill a hole in 4 mm from each end large enough to thread a 4-40 screw. The hole should be centered in the second grove from the end, as shown below.
Now attach the timing belt to the Turntable Gear using two 1/2 inch 4-40 bolts:
Next, starting with the Turntable Gear (face up), stack the Turntable Plate followed by the Turntable Top Plate and then the Flywheel Mount and fasten them using four 1 inch 8-32 bolts as shown below. Note the direction of the Flywheel Mount and make sure that the point at which the belt is fastened to the gear is at the rear.
Now, feed the camera cable and the two wire assemblies that you made through the hole in the Flywheel Mount as shown below:
Then mount the camera and the flywheel/turret to the top of the Turntable Bering with four 1 inch 8-32 bolts as shown below:
Next, attach the 55 rpm motor to the Nerf Ball Feeder using two M4 screws. Make sure that the wires end up on top of the Turntable Top Plate as shown below:
Next cut a 16 inch length of red and black 20 gauge wire and solder one end to the plus and minus terminals of the LED. Take care to solder the black wire to the minus terminal and the red wire to the positive terminal:
Then slide the heat sink into the slot on the Pi Camera Mount and feed the wire down through the hole in the Flywheel mount as shown below:
Next, attach the Shooter Motor to the Flywheel Mount using three 3mm M2.5 screws as shown:
Now crimp a female connector to the six wires coming from the Shooter Motor and insert them into a 1×6 casing as shown below. Make sure that the motor power wires (red and white) line up with the cable power wires (red and black).
Be sure to note the order of the wires. From left to right, Red, White, Black, Blue, Yellow and Green. Also make note of how the various colors match up to those on the other connector. For example, my wiring matchup would be:
Motor Connector Color | Cable Connector Color | Signal Type |
Red | Red | Motor Power + |
White | Black | Motor Power – |
Black | Yellow | Encoder Ground |
Blue | Orange | Encoder VCC |
Yellow | Red | Encoder A |
Green | Brown | Encoder B |
The colors for your Cable Connector may be different and will depend on the color of the wires you chose to make your cable. We will need to know what colors on your Cable Connector correspond to which Signal Type when we connect the motor to the motor controller and Arduino.
No do the same for the six wires of the Feeder Motor. Make sure that the motor power wires (red and white) match up with the cable power wires (red and black).
Once again, make note of the corresponding wire colors between the two connectors. In my case we have:
Motor Connector Color | Cable Connector Color | Signal Type |
Red | Red | Motor Power + |
White | Black | Motor Power – |
Black | Purple | Encoder Ground |
Blue | Grey | Encoder VCC |
Yellow | White | Encoder A |
Green | Black | Encoder B |
xxx