The Sorting Claw

Build sheet: Lift Tower

Every printed part is drawn around the real hardware: hole sizes for each bolt, pockets for the nuts, the stepper's double-D shaft, the lazy susan's bolt pattern, the servo tab spacing. Then the whole robot is assembled in 3D and every mating pair is checked.

Fit checks
53 of 53 pass
Printed parts
14, about 358 g
Online parts
about $311.83
Tower
22 in tall
Lift Tower towerLift Tower topLift Tower clawLift Tower base

What the deep dive changed

  • Claw pads have a 120 degree V notch and stand straight up when closed. Each pad touches the can at 2 lines (4 in all), so it cannot spin or squirt out, and the V slides an off-center can to the middle. Same idea as factory bottle grippers.
  • The claw grabs the can 90 mm up, so the pads stay on the straight body below the neck.
  • Rubber on the pads (1/16 in neoprene, silicone, or bike inner tube): grips aluminum about a third better than foam, and squeezes so the servo does not strain for the whole lift.
  • Pickup nest: a printed ring glued on the X. Items always sit within 3 mm of center, so the open pads can never land on a can and tip it.
  • Camera goes through a $4 level shifter: DFRobot says the HuskyLens needs 5 V I2C, the micro:bit is 3.3 V.
  • Limit switches are Omron D2F-L with published hole sizes, so the printed pads match.
  • Spool radius cut from 7 to 5 mm: the real sleeve, bearings, bolts and claw weigh 272 g, and 5 mm keeps the stepper at 2.2x.
  • Tube bolts are M4 x 45, not M4 x 35: the socket is 37 mm across.
  • The sleeve walls have windows so the bearings reach the tube.
  • Base posts moved under the servo tabs at the standard 49.5 mm spacing so they clear the case.
  • The string lane moved 2 mm out so it clears the sleeve, and runs through a slot in the cap.
  • Finger B is turned half a tooth so the gears mesh.
  • The claw servo hangs behind the plate below the arm; the arm has a notch for its tab.
  • Tummy boxes shrank to 5 in square and the board moved 22 mm so the lazy susan corners clear them when the tower turns.
  • Printer corrected to the Flashforge Adventurer 5M (220 mm cube). The biggest part is the arm at 175 mm.

Printed parts

PLA, 0.4 mm nozzle, about 40% infill. Tap a part to spin it in 3D or download the STL.

Tower base
154 x 154 x 42 mm, about 94 g
Turret plate and tube socket
102 x 102 x 48 mm, about 69 g
Top cap and stepper bracket
68 x 56 x 46 mm, about 20 g
String spool
16 x 16 x 9 mm, about 1 g
Sliding sleeve
120 x 77 x 43 mm, about 28 g
Arm
175 x 45 x 20 mm, about 25 g
Claw plate
60 x 50 x 5 mm, about 9 g
Finger A (on the servo)
120 x 45 x 26 mm, about 10 g
Finger B (on the M3 pivot)
120 x 45 x 26 mm, about 9 g
Funnel (print 2) x2
140 x 140 x 34 mm, about 24 g
Pickup nest
92 x 92 x 6 mm, about 12 g
Eye stalk foot
70 x 70 x 30 mm, about 14 g
Eye stalk head
80 x 60 x 28 mm, about 19 g

Buy online: one Amazon cart

27 items, about $311.83. Links and stock checked Nov 29 for delivery to 77009. Most arrive Dec 2; the lazy susan Dec 7; the driver board Dec 17. Each item has a backup source.

All 27 are in the Amazon cart (added Nov 29). Amazon's add-all link no longer works, so ask Claude to refill the cart if it gets emptied.
Amazon 路 B085NL4XCB, sold by DFRobot 路 arrives Dec 2
Learns cans and napkins. Comes with its cable.
Amazon 路 B0B2836JNC, ELECFREAKS 路 arrives Dec 2
The brain. V2 has the speaker for the choice sounds.
Amazon 路 B07H19K9S2, shipped by Waveshare 路 arrives Dec 17
The micro:bit plugs in. Runs the 2 servos; spare pins take the camera, stepper and switches. Not Prime: it comes last, so wire the electronics after the tower is built.
Amazon 路 B09JWK494C, Deegoo-FPV 路 arrives Dec 2
Turns the tower 50 degrees left and right. Second one is a spare.
Amazon 路 B0CNL755KP, Deegoo-FPV 路 arrives Dec 2
Opens and closes the claw. Second one is a spare.
Amazon 路 B01CP18J4A, ELEGOO 路 arrives Dec 2
Winds the string that lifts the arm and holds the height. Four spares.
Amazon 路 B00MARDJZ4, CanaKit, UL listed 路 arrives Dec 2
Plugs into the driver board POWER port. Powers everything at home.
Amazon 路 B088FYQJYZ, sold by SparkFun 路 arrives Dec 2
Sits between the 5 V camera and the 3.3 V micro:bit so the micro:bit is safe.
Amazon 路 B0DBV8XGG4 路 arrives Dec 2
Top and bottom limit switches. Check: two 2 mm holes 6.5 mm apart. If not, use the Omron backup.
Amazon 路 B07PP732XF 路 arrives Dec 2
Claw servo wire runs about 1 m down the tower; use 2 joined.
Amazon 路 B07GD3KDG9, EDGELEC 路 arrives Dec 2
Stepper board, switches, camera and level shifter wiring.
Amazon 路 B009NY8ZGK 路 arrives Dec 7
The tower turns on it. Must be a true 4 in (101.6 mm) plate: most "4 inch" ones online are 95 mm and the holes will not line up.
Amazon 路 B09PKD8QZZ 路 arrives Dec 2
4 needed; the sleeve rolls on them.
Amazon 路 B0H3NY63HV 路 arrives Dec 2
4 sets needed: the bearing axles.
Amazon 路 B0DYS34JK4 路 arrives Dec 2
2 needed: tube to socket and to top cap.
Amazon 路 B0F61WKT6R 路 arrives Dec 2
M4 lock nuts for the tube bolts, M3 for the finger pivot.
Amazon 路 B0FGV5FCBN 路 arrives Dec 2
14 x M3x10, 1 x M3x20, 14 nuts, 3 washers.
Amazon 路 B0FG2CC91J 路 arrives Dec 2
4 x M2x10 with nuts for the two switches.
Amazon 路 B07B5K71KY 路 arrives Dec 2
8 needed: tower base and eye stalk foot to the board.
Amazon 路 B0BXWBV2VJ 路 arrives Dec 2
Cut one to 200 mm for the camera eye stalk.
Amazon 路 B07KVJ9FPN 路 arrives Dec 2
Backup power at the fair, into the VIN terminal. Never with the wall plug at the same time.
Amazon 路 B0B63J68KJ 路 arrives Dec 2
1 needed: stops resets when the motors start.
Amazon 路 B0B4SC22T4, Amazon Basics 路 arrives Dec 2
Same light on the items every time, on the eye stalk.
Amazon 路 B0BFBRRQ3P 路 arrives Dec 2
The lift string.
Amazon 路 B0D4Q12FT7 路 arrives Dec 2
Lines the V notches in the claw pads.
Amazon 路 B00IWSHEB0 路 arrives Dec 2
Tummy boxes and back panel.
Amazon 路 B0177WIJ3I 路 arrives Dec 2
Fun to watch.

Home Depot, then things on hand

1 in square aluminum tube, 4 ft (Everbilt 6616)
1, cut to 438 mm (17 1/4 in), plus 2 holes 4.2 mm 路 Home Depot, $33.00
Plywood, 1/2 in x 2 x 4 ft project panel (ProWood)
1, have the store cut it to 24 x 18 in 路 Home Depot, $27.26
Two small bins, up to 4.3 in square and 3 in deep
2 (fit inside the 5 in tummy boxes) 路 Dollar store
PLA filament
About 360 g for the 14 printed parts 路 On hand
12 oz soda cans, rinsed and dry
12 or more 路 Grocery store
Paper napkins
1 pack (used, crumpled, dried) 路 Grocery store
6 AA batteries
For the fair backup pack 路 On hand
Micro-USB data cable
1, to load code onto the micro:bit 路 On hand
Paint, tape, hot glue
Some 路 On hand

Every bolt

Servo screws and horns come in the servo boxes.

BoltHow manyWhere
M8 x 30 bolt4bearing axles through the sleeve forks
M8 nylon lock nut4bearing axles
M8 washer4under each nut
M4 x 45 bolt2through the socket and the tube, and through the top cap and the tube
M4 nylon lock nut2tube bolts
M3 x 10 bolt14lazy susan to base (4) and to turret plate (4), boom to sleeve (4), stepper to bracket (2)
M3 x 20 bolt1claw finger B pivot
M3 nut14captured in printed hex pockets
M3 nylon lock nut1finger B pivot
M3 washer3stepper ears (2), finger pivot (1)
M2 x 10 bolt with nut4the two limit switches
#8 x 3/4 in wood screw8tower base (4) and camera foot (4) to the board

Pin map

Everything plugs into the Waveshare driver board with the micro:bit in its slot.

Servo channel 0MG996R (turns the tower)Servo plug on the driver board
Servo channel 1MG90S (claw)Servo plug, through two 50 cm extensions
P13, P14, P15, P16ULN2003 IN1 to IN4 (stepper)Header; ULN2003 board rides on the top cap
5V and GNDULN2003 power, HuskyLens power, level shifter HV, 1000 uF capacitorHeader
3V3Level shifter LVHeader
SDA (P20), SCL (P19)Level shifter LV side; HV side to HuskyLens T (SDA) and R (SCL)Header; HuskyLens set to I2C mode
P1Bottom limit switch (other leg to GND)Set pull up in MakeCode
P2Top limit switch (other leg to GND)Set pull up in MakeCode
Buttons A and BA = sort one item, B = go homeOn the micro:bit

Power: wall plug into the driver's POWER socket at home; the 6 AA pack goes on the VIN terminal at the fair. Use one or the other, never both.

Build order

  1. 1Fit check. Print fit check plates A, B and C from the Build Guide first, try the real hardware, and put the winning sizes in with change order MOC-001 before any real part prints.
  2. 2Cut and drill the tube. Cut to 438 mm. Drill a 4.2 mm hole straight through, 20 mm from the bottom and 11 mm from the top, on the same faces as the socket and cap holes.
  3. 3Base. Screw the MG996R onto the two posts with its own screws, wire out the back slot. Bolt the lazy susan bottom plate to the deck with 4 M3 bolts into the captured nuts. Screw the base to the board.
  4. 4Turret. Bolt the turret plate to the lazy susan top plate (M3 from below, nuts in the pockets). Center the servo, set the horn in the plate pocket, push it onto the spline, and drive the horn screw through the center hole.
  5. 5Tube and bottom switch. Stand the tube in the socket and bolt it with an M4 x 45. Screw the bottom switch to the pad on the socket side with M2 bolts.
  6. 6Sleeve. Put the 4 bearings in the forks on M8 x 30 bolts with a washer and lock nut. Slide the sleeve down over the top of the tube. Slide each axle in its slot until the bearing just touches the tube, then tighten.
  7. 7Top cap. Slide the cap on and bolt it with the second M4 x 45. Bolt the stepper to the bracket (M3 with washers), push the spool on, screw the top switch to its pad, stick the ULN2003 board on the bracket back.
  8. 8Arm and claw. Bolt the arm rails to the sleeve sides with 4 M3. Glue the claw plate to the arm tip. Screw the MG90S behind the plate, horn onto finger A, finger B on its M3 pivot with a lock nut. Center the servo first so the fingers are even. Glue rubber into both V notches.
  9. 9String. Tie the string through the sleeve eye, up through the slot in the cap, and through the spool hole. Wind 3 turns with the sleeve at the bottom.
  10. 10Body, funnels, camera. Glue the pickup nest on the X. Cut foam board boxes (5 in square, 6 in tall) with a 96 mm hole on top and a front window. Drop in the funnels and the bins. Screw the eye stalk foot to the board, push in the dowel and the head, bolt on the camera, tape on the LED.
  11. 11Wire it. Follow the pin map. Leave a loose loop of wire at the base so the tower can turn 50 degrees each way.

All fit checks

Re-run with caliper measurements when the parts arrive.

Printing
  • Pass Tower base fits the 220 mm printer: 154 mm longest (needs under 215 mm)
  • Pass Turret plate and tube socket fits the 220 mm printer: 102 mm longest (needs under 215 mm)
  • Pass Top cap and stepper bracket fits the 220 mm printer: 68 mm longest (needs under 215 mm)
  • Pass String spool fits the 220 mm printer: 16 mm longest (needs under 215 mm)
  • Pass Sliding sleeve fits the 220 mm printer: 120 mm longest (needs under 215 mm)
  • Pass Arm fits the 220 mm printer: 175 mm longest (needs under 215 mm)
  • Pass Claw plate fits the 220 mm printer: 60 mm longest (needs under 215 mm)
  • Pass Finger A (on the servo) fits the 220 mm printer: 120 mm longest (needs under 215 mm)
  • Pass Finger B (on the M3 pivot) fits the 220 mm printer: 120 mm longest (needs under 215 mm)
  • Pass Funnel (print 2) fits the 220 mm printer: 140 mm longest (needs under 215 mm)
  • Pass Pickup nest fits the 220 mm printer: 92 mm longest (needs under 215 mm)
  • Pass Eye stalk foot fits the 220 mm printer: 70 mm longest (needs under 215 mm)
  • Pass Eye stalk head fits the 220 mm printer: 80 mm longest (needs under 215 mm)
Fits
  • Pass Tube in the socket and cap: 0.6 mm total play (needs 0.4 to 0.8 mm)print a test ring first; sand or shim with tape if loose
  • Pass M4 bolt long enough for the socket: M4 x 45 vs 37 mm socket + nut (needs thread past the nut)changed from M4 x 35 in the deep dive
  • Pass M8 x 30 bolt through each fork: 25 mm needed (needs 30 mm bolt)fork + washer + lock nut
  • Pass Bearing fits between the fork cheeks: 9 mm gap for a 7 mm bearing (needs 1 mm each side)print 1 mm bosses on the cheeks so only the inner race is clamped
  • Pass Bearings touch the tube: axle slots +-1.5 mm (needs adjustable)slide the axle in its slot until the bearing just touches, then tighten
  • Pass Sleeve slides on the tube sides: 0.75 mm each side (needs free slide)a strip of PTFE or packing tape on the inside faces helps
  • Pass Lazy susan holes land on the base deck: holes at 57 mm radius (needs inside the 65 mm deck)bottom plate to the base; turn the top plate 45 deg to reach the bolts
  • Pass Servo top passes through the lazy susan hole: 48 mm servo diagonal (needs 55 mm hole)
  • Pass Horn sits between the spline and the turret plate: 0.5 mm gap (needs 0 to 1 mm)horn pocket in the plate locates it; a washer shims it if the real servo is taller
  • Pass Servo hangs clear of the board: 4.0 mm under the servo (needs 2 mm)
  • Pass Spool on the stepper shaft: 9 mm shaft, 9 mm hub (needs full hub on the flats)double-D hole 5.2 x 3.2 mm
  • Pass Stepper body clears the cap: 4 mm (needs 2 mm)
  • Pass Spool clears the cap: 1.5 mm (needs 1 mm)
  • Pass String clears the sleeve wall: 2.5 mm (needs 1.5 mm)
  • Pass String clears the bearing forks: 3.0 mm (needs 2.5 mm)string runs in a slot in the cap
  • Pass Parts do not overlap each other: none (needs none)printed parts vs the bought parts they hold
Moves
  • Pass Reaches the can grab height: can grab 90 mm, lowest 8 mm (needs lowest at or below the grab)
  • Pass Reaches the napkin grab height: napkin grab 30 mm, lowest 8 mm (needs lowest at or below the grab)
  • Pass Can clears the tummy box at the top: 31 mm clear (needs 10 mm)tube cut to 438 mm (17.24 in)
  • Pass Finger gears mesh: 20 teeth, module 1.5, 30 mm centers (needs centers = pitch diameter)
  • Pass Detailed parts bump into nothing: 0 mm3 (needs 0)grab, lift, both funnels
Grip
  • Pass Claw servo travel: 14 to 29 deg (needs well inside 180)small move: closes fast
  • Pass Two V pads touch the can at 4 lines: contacts 16.5 mm front and back of center (needs inside the 44 mm mouth)each pad touches the can twice, so it cannot spin or squirt out; same idea as factory bottle grippers
  • Pass V pads center the can front to back: up to 15 mm off (needs slides to center)the slanted V faces push it to the middle as the claw closes
  • Pass Open pads clear the can on the way down: 14 mm each side; the nest holds the can within 3 mm (needs 2 mm left over)without the nest, a can more than 14 mm off the X could get hit by a pad and tip
  • Pass Napkin pads clear the nest: 12 mm above the ring (needs 5 mm)
  • Pass Pads stand straight up when closed: 0 deg closed, 14 deg open (needs flat on the can)pads are printed at the closed angle, so the whole pad face grips
  • Pass Grabs the can on its straight body: pads 78 to 106 mm up (needs below the neck at 110 mm)
  • Pass Napkin ball fits in the open claw: 95 mm open (needs 70 mm)
  • Pass Claw servo does not stall the whole lift: 1.5 mm rubber on each pad (needs servo reaches its angle)command 2 deg past touching; the rubber squeezes instead of the servo straining for 30 s
Strength
  • Pass Stepper lifts the sleeve, arm, claw and can: 2.3x (needs 2x)264 g on a 5 mm spool (was 7 mm; cut to 5 for margin)
  • Pass Lift time, bottom to top: 33 s (needs under 45 s)2 ms per step in MakeCode, about 14.6 rpm
  • Pass Claw holds the can: 212 g (needs 5x the can)rubber on the V faces
  • Pass MG996R turns the tower: 0.53 kg on the lazy susan (needs bearing carries the weight)servo only turns it; move 1 deg at a time
Power
  • Pass Wall plug covers the worst moment: 1.49 A (needs 2.0 A (80% of 2.5))tower turning while the stepper holds and the camera runs
  • Pass Camera talks safely to the micro:bit: through the level shifter (needs 3.3 V <-> 5 V)HuskyLens on 5 V, micro:bit pins stay at 3.3 V
  • Pass No pin used twice: P13-P16 stepper, P1 bottom switch, P2 top switch, SDA/SCL camera, servo ch 0 tower, ch 1 claw (needs unique)PCA9685 at 0x40 and HuskyLens at 0x32 share the I2C wires
Wires
  • Pass Claw servo lead: 1055 mm run (needs 25 cm lead + 50 cm extension + 50 cm extension)leave a loop at the base so the tower can turn
  • Pass Stepper lead: 984 mm run (needs ULN2003 board on the tower top; 6 jumper wires down)mount the driver board on the cap bracket back
  • Pass Camera lead: 936 mm run (needs 40 cm jumpers, joined)tape to the board