# Gumpbox WEEVIL H12 - bill of materials

12-servo tripod-gait hexapod. Every part below is generated from `params.json`; change a number there and rebuild.

## Printed (PLA or PETG, 0.2 mm layers, 30% gyroid)

| Part | Qty | Filament | Size on the bed (mm) | Orientation |
|---|---|---|---|---|
| chassis | 1 | Warm white PLA | 160.0 x 116.0 x 4.6 | Flat, XIAO lip up. No supports. |
| shell | 1 | Gumpbox yellow PLA | 160.0 x 116.0 x 30.0 | Upside down, lid on the bed. Supports for the eye holes and the rear openings only. |
| coxa | 6 | Warm white PLA | 50.0 x 24.0 x 42.6 | Upside down, horn pocket on the bed, the servo wall standing. No supports. The SCOUT Q8's coxa. |
| tibia | 6 | Warm white PLA | 18.0 x 75.8 x 5.0 | On its side. No supports. The SCOUT Q8's tibia. |

The coxa and tibia are the same parts as the SCOUT Q8's (shared CAD kit), so spares and servo calibration carry over.

## Bought

| Item | Qty | Notes |
|---|---|---|
| MG90S metal-gear micro servo | 12 | with single-arm horns; dimensions in `params.json > servo` |
| M2 x 6 self-tapping screw | 24 | servo tabs: 12 into the deck, 12 into the coxa walls (usually in the servo bag) |
| M2 x 5 self-tapping screw | 24 | horn arm into the coxa and tibia pockets, 2 per horn |
| M3 x 8 screw | 4 | deck to shell pillars, from below |
| Seeed XIAO ESP32-S3 (11 usable GPIO: I2C to the PCA9685, HC-SR04 trig and echo, battery sense) | 1 | sits in the deck cradle, USB-C out the back |
| PCA9685 16-channel 12-bit I2C servo driver at 0x40, 12 of 16 channels used, 50 Hz hardware PWM; 3.3 V logic from the XIAO, V+ on the 6 V rail | 1 | on two zip ties across the middle of the deck; I2C (SDA, SCL), 3.3 V logic, OE pin to a spare GPIO so the servos stay off until the firmware is ready. 12 leads plug straight into its header row |
| HC-SR04 ultrasonic (the eyes) | 1 | the eyes, through the front of the shell. Echo through a 1k/2k divider to 3.3 V |
| 2S 7.4 V LiPo, 1000-1300 mAh | 1 | on the lid under a 20 mm strap through the four lid slots |
| 6 V 5 A UBEC (servo rail and PCA9685 V+) plus a 1000 uF 10 V low-ESR capacitor across the rail; XIAO from the same rail via its 5 V pin | 1 | zip-tied to the deck. **5 A, not the SCOUT's 3 A**: see the power budget |
| 1000 uF 10 V low-ESR capacitor | 1 | across the 6 V rail at the PCA9685's V+ terminal |
| 1N4007 diode | 1 | in series from the 6 V rail to the XIAO's 5 V pad (about 5.3 V there; the pad is rated for 5 V) |
| 6 mm toggle switch | 1 | rear of the shell |
| zip ties, 2.5 x 100 mm | 4 | PCA9685 (2) and UBEC (2) |

## Power budget (6 V rail)

| Item | Current |
|---|---|
| 12 servos moving under load, 0.3 A each | 3.6 A |
| XIAO, PCA9685 and HC-SR04 | 0.15 A |
| **Estimated walking draw** | **3.75 A** |
| UBEC rating needed (25% margin) | 4.7 A, so **5 A** |
| 12 servos at stall, 0.7 A each (a fall or a blocked leg, momentary) | 8.4 A |
| The SCOUT Q8's 3 A UBEC | too small for 12 servos (3.75 A est. vs 3 A) |

The per-servo figures are MG90S typicals; measure your own and edit `params.json > power`. The engine's servo model (a
torque-proportional estimate, no inrush, gear friction or stall events) predicts a flat-floor tripod walk draws 0.77 A on average and
1.25 A at its peak (engine scenario walk-1m, 0.1.0): well under the budget, which is why the budget is the conservative one. 1000 mAh at 7.4 V is
7.4 Wh: about 18 minutes of walking at the estimated draw (UBEC 90% efficient).

## Estimated mass

Printed 186 g + hardware 282 g = **467 g**.

## Assembly order

1. Centre all 12 servos at 90 deg (1500 us, PCA9685 count 307 at 50 Hz) before fitting any horn.
2. Hip servos drop shaft-down through the deck windows; tabs on the deck, 2 screws each.
3. Knee servos slide through the coxa wall windows from the tab side; 2 screws each.
4. Press a horn into each coxa pocket and tibia pocket, screw the arm, then push the horn onto the spline at the
   zero pose (coxa straight out along its diagonal, tibia straight down) and fit the horn screw through the centre hole.
5. Knee leads through the deck slots beside each hip servo. Servos plug into the PCA9685 in leg order FL, ML, RL, RR, MR, FR
   (channels 0-11: hip then knee for each leg).
6. XIAO into the cradle, PCA9685 and UBEC on their ties, HC-SR04 behind the eyes, shell on with 4 M3 screws, battery on the lid.
