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.

12 stepsHex keys 2.5 mm and 3 mm, soldering ironFirst build: verify the marked dimensions

Assembly video

Rendered from the mounted CAD model · 2 min 33 s · 44.1 MB

Before you print

First build: measure these first

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.

Print

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.

PartQtyFileNotes
Base1B_body_base.stlSupports under the two pivot bosses
Frame1B_body_frame.stlSlotted hip holes, ear pads, counterbored wall screws
Servo ear plate2B_servo_ear_plate.stlPETG, flat; 4 M3 inserts each
Deck1B_body_deck.stlOption B's deck, not the belt version's
Cover1body_v1_cover.stlPrints top-down with no supports; 6 nut pockets inside
Battery door1body_v1_battery_door.stl
Thigh1 + 1B_thigh.stl, _leftOuter face on the bed, arm pocket up
Shin1 + 1B_shin.stl, _leftOffer one up to the motor first
Bone2B_bone.stlSame part both sides, lip outward
Sensor mount2B_sensor_mount.stlOuter face on the bed
Sensor cap2B_sensor_cap.stlPins up; clamps and guards the board
Magnet holder2B_magnet_holder.stl
Knee spacer2B_knee_spacer.stl100 % 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

QtyPart
1Robotics Board v0.8 from Beitlab Robotics, checked through bring-up
1Milk-V Duo S with a flashed microSD card (First steps)
2iPower GM4108H-120T gimbal motor with its AS5048A encoder board
2DSSERVO DS3240 servo, each with a 25T aluminium clamp arm
2Small AS5048A board (15 × 17 mm, SPI used) for the knees
28 mm D-shaft, 29.5 mm long (knee); stainless (non-magnetic) is better
14S LiPo with XT30 (default size 75 × 37 × 38 mm) and 2 × 20 mm velcro straps
116 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:

QtyPartWhere
4625ZZ 5x16x5bone, pivot end (2); bone, shin end (2)
4688ZZ 8x16x5shin, at the knee
4M2.5 M-F hex standoff 5 AF x 11Duo S to the deck: stud through the Duo S into the deck insert, the carrier rests on top
4M2.5 heat-set 3.9x4deck boss under the Duo S
4M3 heat-set 4.6x4 (short)shin outer face (hole 5 deep)
34M3 heat-set 4.6x5.7ear 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)
12M3x18 ISO 4762servo ear, from outside the side wall into the ear plate (8); sensor cap and mount into the shin (4)
4M3x45 ISO 4762base to frame, from underneath
8M3x5 ISO 4762motor cover to the rotor face (check the rotor's thread depth)
4M3x50 ISO 4762cover and deck into the frame's corner posts
6M3x6 ISO 4762carrier H1/H2 into the deck bosses (2); thigh to the clamp arm (4)
2M3x8 ISO 4026on the knee shaft's flat
24M3x8 ISO 4762deck 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)
4M5 heat-set 7x8base pivot boss (2); shin, from the face toward the body (2)
10M5 washer 10x1between 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)
2M5x12 ISO 7380bone pivot into the base boss
2M5x14 ISO 7380bone to shin, from the thigh side
2diametric magnet 6x2.5in 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

  1. 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.
  2. 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.
  3. 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.
    Do the servos before you feed the battery lead.
  4. 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.
  5. 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.
  6. 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.
    Use medium threadlocker on both screws.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Wiring and cover
    CableRouteConnector
    Servo leadsUp the front deck slotJ20 (left), J21 (right)
    BatteryUp the rear slot, behind the boardJ1 (XT30)
    E-stopFrom the cover, held about 40 mm upJ10
    Left leg harnessThrough the left side slotPhases J2, rotor J15 (SPI 1), knee J17 (SPI 3)
    Right leg harnessThrough the right side slotPhases J3, rotor J16 (SPI 2), knee J18 (SPI 4)
    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.
  12. 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_cal against the knee sensors: the clamp arm sits on the spline in 14.4° steps, so the mechanical zero will not be exact.
Before the first balance
  • 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.