Balance Robot v1
Assembly guide
Build Balance Robot v1 (leg option B) from printed parts and bought hardware in twelve steps. Each step links to its chapter in the assembly video, which shows every screw, insert and washer going in.
Assembly video
Before you print
A few dimensions in the CAD are taken from drawings or public models, not from the parts in your hands. Check them, update the values in the generator and rebuild the STLs (make body) if they differ.
- Servo clamp arm: the arm plate's thickness (3 mm assumed), its seat height on the spline (0.5 mm assumed), the hole positions, and whether the holes are M3-threaded. Print one thigh and try it on the arm first.
- DS3240 case: the ears (3.2 mm thick, 18.7 mm across, Ø 4.3 holes), the 40.2 × 20.2 mm case and the lead's grommet.
- GM4108H: the base pattern (4 × M3 on Ø 26), the 24 mm base-to-rotor length, and room in the centre for the wheel cover's pin.
PETG for the leg parts and the spacer; PLA is fine for the body. Use 0.2 mm layers, 4 walls and 40 % infill (100 % for the knee spacer). The STLs are already oriented for printing. _left files are the mirrored left-leg parts.
| Part | Qty | File | Notes |
|---|---|---|---|
| Base | 1 | B_body_base.stl | Supports under the two pivot bosses |
| Frame | 1 | B_body_frame.stl | Slotted hip holes, ear pads, counterbored wall screws |
| Servo ear plate | 2 | B_servo_ear_plate.stl | PETG, flat; 4 M3 inserts each |
| Deck | 1 | B_body_deck.stl | Option B's deck, not the belt version's |
| Cover | 1 | body_v1_cover.stl | Prints top-down with no supports; 6 nut pockets inside |
| Battery door | 1 | body_v1_battery_door.stl | |
| Thigh | 1 + 1 | B_thigh.stl, _left | Outer face on the bed, arm pocket up |
| Shin | 1 + 1 | B_shin.stl, _left | Offer one up to the motor first |
| Bone | 2 | B_bone.stl | Same part both sides, lip outward |
| Sensor mount | 2 | B_sensor_mount.stl | Outer face on the bed |
| Sensor cap | 2 | B_sensor_cap.stl | Pins up; clamps and guards the board |
| Magnet holder | 2 | B_magnet_holder.stl | |
| Knee spacer | 2 | B_knee_spacer.stl | 100 % infill |
Test the bearing fit first. Print one bone and press a 625ZZ into it. All bearing bores are the same size, so this one test checks them all.
Wheels. The wheel rim, TPU tread and motor cover come from Printables model 1533590; download them there and check the licence. Print two of each, mirroring one in the slicer. The cover carries the wheel's torque: the rim only slides over the motor case.
Buy
| Qty | Part |
|---|---|
| 1 | Robotics Board v0.8 from Beitlab Robotics, checked through bring-up |
| 1 | Milk-V Duo S with a flashed microSD card (First steps) |
| 2 | iPower GM4108H-120T gimbal motor with its AS5048A encoder board |
| 2 | DSSERVO DS3240 servo, each with a 25T aluminium clamp arm |
| 2 | Small AS5048A board (15 × 17 mm, SPI used) for the knees |
| 2 | 8 mm D-shaft, 29.5 mm long (knee); stainless (non-magnetic) is better |
| 1 | 4S LiPo with XT30 (default size 75 × 37 × 38 mm) and 2 × 20 mm velcro straps |
| 1 | 16 mm normally-closed mushroom E-stop, at most 20 mm deep behind the panel |
| — | Cables: JST-XH 3-pin motor leads, JST-SH 6-pin sensor leads, a JST-SH 2-pin E-stop lead |
Screws, heat-set inserts, bearings, washers, standoffs and magnets, counted from the mounted CAD model:
| Qty | Part | Where |
|---|---|---|
| 4 | 625ZZ 5x16x5 | bone, pivot end (2); bone, shin end (2) |
| 4 | 688ZZ 8x16x5 | shin, at the knee |
| 4 | M2.5 M-F hex standoff 5 AF x 11 | Duo S to the deck: stud through the Duo S into the deck insert, the carrier rests on top |
| 4 | M2.5 heat-set 3.9x4 | deck boss under the Duo S |
| 4 | M3 heat-set 4.6x4 (short) | shin outer face (hole 5 deep) |
| 34 | M3 heat-set 4.6x5.7 | ear plate, pressed in from its inner face (8); frame plate, pressed in from below (4); frame corner post, from the top (4); frame deck post, from the top (4); deck boss under the carrier (2); base rear wall (2); thigh, radial hole at the knee (2); wheel rim, from its outer face (8) |
| 12 | M3x18 ISO 4762 | servo ear, from outside the side wall into the ear plate (8); sensor cap and mount into the shin (4) |
| 4 | M3x45 ISO 4762 | base to frame, from underneath |
| 8 | M3x5 ISO 4762 | motor cover to the rotor face (check the rotor's thread depth) |
| 4 | M3x50 ISO 4762 | cover and deck into the frame's corner posts |
| 6 | M3x6 ISO 4762 | carrier H1/H2 into the deck bosses (2); thigh to the clamp arm (4) |
| 2 | M3x8 ISO 4026 | on the knee shaft's flat |
| 24 | M3x8 ISO 4762 | deck into the frame's deck posts (4); battery door into the base (2); 25T clamp arm onto the servo spline (comes with the arm) (2); GM4108H base to the shin, heads in the inner-face counterbores (8); motor cover to the wheel rim (8) |
| 4 | M5 heat-set 7x8 | base pivot boss (2); shin, from the face toward the body (2) |
| 10 | M5 washer 10x1 | between the boss and the bone (2); in the bone's lip hole (4); under the pin screw's head (2); between the bone and the shin (2) |
| 2 | M5x12 ISO 7380 | bone pivot into the base boss |
| 2 | M5x14 ISO 7380 | bone to shin, from the thigh side |
| 2 | diametric magnet 6x2.5 | in the magnet holder |
Generated from the CAD. Not listed: the clamp arm's own clamp screws, the E-stop's nut, the velcro straps, and M3 nuts for the cover's accessory mounts (only when you add something).
Assemble
- Inserts Press every heat-set insert first: an M5 into each base pivot boss, M3s into the base's rear wall, and the inserts in the frame, ear plates, deck, thighs, shins and wheel rims. The shin's sensor holes are only 5 mm deep: use the 4 mm short M3 inserts there.
- Body: frame on base The frame's four plate inserts go in from below, flush with the plate. Set the frame on the base and fix it with 4 × M3 × 45 from underneath, up through the base posts (2.5 mm hex). You can do this at any time, even with the servos in.
- Hip servos
- Lay each servo on its side and push an ear plate onto the case from above, open side first, right under the ears. Don't slide it over the servo's lower end: the lead's grommet is in the way.
- Drop the servo in from above, spline outward, about 3 mm inboard of its place, then push it outward until the ears sit flat on the pads. The rib on the front ear goes into its pocket.
- From outside, drive 4 × M3 × 18 through the wall counterbores into the ear plate.
- Power the servo to its centre pulse. Push the clamp arm onto the spline through the wall hole, pointing down and about 35° forward, and tighten its centre screw from outside and its clamp screws through the slot from above.
- Hip: thigh on the clamp arm Press the thigh onto the arm so the arm sits in the pocket on its inner face. Fix it with 2 × M3 × 6 from the thigh's outer face. Not longer: the tips must stop short of the arm's inner face, because the wall is only 1 mm away.
- Knee Push the 29.5 mm knee shaft into the thigh, flush with its inner face, and tighten the M3 × 8 grub screw on its flat. Add the knee spacer. Press two 688ZZ into the shin from its outer face and slide the shin on. Put the Ø 6 × 2.5 magnet in its holder and glue the holder on the shaft end. The shin must turn freely with no end play.
- Bone Press a 625ZZ into each end from the side without the lip.
- Pivot end: a washer on the boss, the bone, a washer in the lip hole, then an M5 × 12 button head from outside.
- Shin end, from the thigh side: M5 × 14 with a washer, the bone's bearing, a washer in the lip hole, one more washer, then the shin's insert.
- Check by hand Turn the leg through its range (hip 15–55°). It should move as one piece, the wheel should stay under the hip, and nothing should rub. Look first at the bone-to-shin screw head, which passes 1.5 mm from the thigh's edge.
- Knee sensor Solder the SPI wires to the AS5048A board's top fingers. Fit the mount on the shin, drop the board in chip down, facing the magnet 1 mm away, put the cap on with its pins in the board's holes, and fix the stack with 2 × M3 × 18 into the short inserts.
- Wheel motors Fix the GM4108H to the shin with 4 × M3 × 8 from the inner-face counterbores (check the motor's thread depth first). Slide the wheel and TPU tread over the motor's rotating case. Fit the motor cover: 4 × M3 × 5 to the rotor face and 4 × M3 × 8 to the rim.
- Battery and electronics
- Feed the battery lead up through the slot at the rear centre of the frame plate and the deck before the board goes on. Load the 4S pack from the rear on its velcro straps and fit the battery door (2 × M3 × 8).
- Fix the deck with 4 × M3 × 8 into the frame's deck posts.
- Mount the Duo S on its four M2.5 hex standoffs, then the Robotics Board on top, with 2 × M3 × 6 at H1/H2 into the deck bosses.
- Wiring and cover
Press M3 nuts into the cover's accessory pockets if you will mount anything. Lower the cover and fix it with 4 × M3 × 50 through the cover and deck into the frame's corner posts.
Cable Route Connector Servo leads Up the front deck slot J20 (left), J21 (right) Battery Up the rear slot, behind the board J1 (XT30) E-stop From the cover, held about 40 mm up J10 Left leg harness Through the left side slot Phases J2, rotor J15 (SPI 1), knee J17 (SPI 3) Right leg harness Through the right side slot Phases J3, rotor J16 (SPI 2), knee J18 (SPI 4) - Calibrate Before any balancing, follow the board's bring-up stages 5–7 with the robot on a stand, wheels off the ground. Calibrate
bal_servo_calagainst the knee sensors: the clamp arm sits on the spline in 14.4° steps, so the mechanical zero will not be exact.
- The robot only goes on the floor after the board has passed every bring-up stage, including the battery soak.
- Gains must be designed from measured motor constants and mass properties. There is intentionally no default gain table.
- Keep the E-stop within reach and a physical battery disconnect in the lead. The E-stop cuts motor power, not the servos or the battery.
- A hard fall loads the servo's own bearings directly. Start with a tether or a hand ready.