Ted’s electronics are a small stack: a 2S battery feeds the servo board directly, and a little buck converter makes 5 V for the Pi. The Pi talks to the servos over a serial bus and to the IMU and depth sensor over I2C. All the numbers on this page come from cad/build_cad.py. Run cad/check_wiring.py and cad/check_torso_fit.py to re-check them after any change.
The parts list with what to buy is in parts.md.
The torso is 94 × 128 × 90 mm on the outside. Inside, it has two layers.
| Layer | What sits there |
|---|---|
| Bottom (on the base plate) | The two hip yaw servos, one on each side. The battery stands on its long edge between them, held by two rails and a Velcro strap through slots in the base plate. Its leads come out of the back end of the battery. |
| Deck (47 mm up) | Left shelf: Raspberry Pi Zero 2 W. Right shelf: servo driver board and IMU. The 5 V buck converter stands on its edge on the floor in front of the left hip yaw servo. The deck is open in the middle, so the battery lifts straight out once the shell is off. |
| Back wall | Power switch, reachable through the back of the shell. |
| Top | Tether fin, sticking out through a slot in the shell. |
| Face | Depth sensor between the eyes, behind a window in the black face panel. |
check_wiring.py reports no clashes, and check_torso_fit.py measures the free room on every side of every board (all at least 0.2 mm, 2026-11-30) between any electronics, the room their plugs need, the printed parts and the servos.
| Part | Size used in the CAD | Mounting |
|---|---|---|
| RoaringTop 2S Li-ion, 7.4 V, 3000 mAh, XT30 (ordered 2026-11-25, 2 packs) | Measured about 72 × 36 × 19 mm against a Pixel 6a (listing: 70 × 38 × 18), 96 g. The CAD checks a worst case of 74 × 38 × 20. Rails are 20.5 mm apart, the strap slots pass through them, and the deck opening is 21 mm wide so it lifts out. About 1 hour of walking per charge. Charge with its own USB charger, inside the LiPo bag. | Rails plus a 10 mm Velcro strap |
| Raspberry Pi Zero 2 W | 65 × 30 mm, holes 58 × 23 mm | 4 × M2x6 into 3 mm deck standoffs |
| Waveshare Bus Servo Adapter (A) | 42 × 33 × 18.5 mm, holes 37 × 28 mm | 4 × M2x6 into standoffs |
| Mini560 buck converter, 5 V version (7–20 V in, 5 A) | 29 × 18 × 5.4 mm (datasheet; the old 23 × 18 was wrong). Stands on its long edge on the torso floor, in front of the left yaw servo. | Double-sided foam tape onto the yaw servo’s end-stop wall. Input wires at the outer end, 5 V out at the inner end. Output soldered to 2 female jumpers onto Pi pin 2 (5 V, red) and pin 6 (ground, black). Check 5.0–5.2 V with a meter before plugging into the Pi. |
| BNO085 IMU (Adafruit 4754) | 25.4 × 17.8 mm | Foam tape |
| Mini toggle switch | 6 mm panel hole, body up to 13 mm deep, rated at least 3 A | Panel nut |
| VL53L7CX 8 × 8 depth sensor (CosyCaya breakout, 25 × 10.7 mm, 6 pins) | Upright between the eyes, tilted 15° down, in a pocket printed on the back of the face panel. Sees 60° × 60° (90° diagonal) out to 3.5 m, the floor from about 20 cm ahead. Board size is from the listing photos: check it when it arrives. | Slides into the pocket from above; header pins point back. Wired from the IMU’s second STEMMA QT port (address 0x29; the IMU is 0x4A). |
Each cable route was swept over every joint it crosses, through the joint’s full range. The cable needed is the worst-case path, plus 16 mm for the two plugs, plus 10 mm of slack. A stock STS3215 cable is 150 mm.
| Cable (one per leg) | Cable needed | Use |
|---|---|---|
| Driver board → hip yaw | 92 mm | Stock |
| Hip yaw → hip roll | 131 mm | Stock |
| Hip roll → hip pitch | 84 mm | Stock |
| Hip pitch → knee | 95 mm | Stock |
| Knee → ankle | 105 mm | Stock |
Every STS3215 has its two sockets on its back (plain-horn) face, next to the plain horn, and the plug goes straight in.
On the leg, all those backs face inboard, so each cable runs down the inside of the leg, 7 mm in from the leg plates,
and crosses every joint close to its axis. That is why every run fits the stock 150 mm cable now (2026-11-24; the old
routes assumed plugs at the far end of the case). check_wiring.py also walks each drawn path and confirms it does not
pass through any servo or printed part.
| Wire | Length | Type |
|---|---|---|
| Battery + → switch | ~90 mm | 18 AWG silicone, XT30 at the battery |
| Switch → driver board power in | ~40 mm | 18 AWG |
| Battery − → driver board power in | ~75 mm | 18 AWG |
| Driver board power → buck in | ~190 mm (down through the deck’s battery opening) | 22 AWG pair |
| Buck 5 V → Pi pins 2 (5 V) and 6 (GND) | ~95 mm (up through the deck’s battery opening) | 2 female jumpers soldered to the buck |
| Pi pins 8 (TX), 10 (RX), 14 (GND) → driver board UART | ~75 mm | 3 female-female jumpers. Driver board jumper on A (UART mode). |
| IMU → Pi pins 1 (3V3), 3 (SDA), 5 (SCL), 9 (GND) | ~75 mm | STEMMA QT to female jumper cable, 150 mm |
A printed fin spans the inside of the torso and is screwed to both side pillars with 4 × M2x6 self-tapping screws, put in from the back of each pillar. The pillars stand on the base plate, the same part the hip servos hang from. That means a pull on the cord goes straight into the frame, not through the shell.
A tab with a 12 mm hole sticks 22 mm out of the top of the shell. Tie a cord through it, then either hold the cord or hang it from a stand with a little slack. The robot’s centre of mass is 2 mm behind the hole, so it hangs within 1° of level.