How to build CM6 compliant 3D-printed cobot arm: the whole process
84 steps to build CM6 compliant 3D-printed cobot arm, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop li…
The creator's estimate: about $1,000 in raw materials for the first version (V1), with a later version possibly down to $700–800 (Hackaday and the assembly PDF); the V2 BOM carries no prices or total. The official store sells no CM6 kit, only parts such as the drivers: the Spectral Micro BLDC driver was €85.68 including VAT in the German market on 2026‑11‑03 (€72 in the Singapore market)
Buy parts
- Use the custom S-Drive controller
Use the custom S-Drive BLDC driver, which includes an L6234 three-phase motor driver, a 10-bit AS5040 encoder, an stm32f103c ARM M3 microcontroller, global low-side current sensing, and UART and RS485 communications.
- Prepare mounting hardware and extrusion
Prepare a U8 M5 hammer nut, an M5 15 mm screw, and a 30x30 180 mm T-slot aluminum extrusion.
Assemble
- Check V2 lid and encoder replacements
If building the V2 robot, replace each joint's bottom-lid parts and encoder shafts with the parts in the CM6_V2_PARTS folders.
- Replace the S-drive controllers
For the V2 robot, replace the S-drives with spectral micro BLDC drivers.
- Begin Joint 1 assembly
Prepare Encoder shaft J1, Sun J1, and the Gimbal Motor GM7008H to begin the Joint 1 assembly.
- Attach the encoder shaft to the sun
Screw the encoder shaft into the sun with an M3 20 mm screw, then insert the magnet at the end of the encoder shaft.
- Fasten the gear to the motor
Connect the gear to the motor with 4 M3 5 mm screws.
- Attach the Joint 1 bottom lid
Connect the bottom lid to the motor with 4 5–6 mm M3 screws, making sure the motor-wire hole is on the correct side.
- Install the Joint 1 BLDC driver
Attach the BLDC driver to the bottom lid with 4 M3 5 mm screws.
- Attach the Joint 1 orbit
Attach the J1 orbit to the bottom lid with 7 M3 30 mm screws.
- Prepare the planets and output shaft
Insert a 3x8x4 radial ball bearing into every planet, then screw 3 M3 10 mm screws into the top side of the output shaft so the planets attach to the screw ends but can still fall off.
- Insert and spin the output shaft
Insert the output-shaft assembly; the output shaft should spin and the motor should turn at the same time.
- Install the Joint 1 lid bearings
Use the 50x70x14 thrust ball bearing and 50x67x7 radial ball bearing in the J1 top-lid assembly.
- Screw on the Joint 1 top lid
Screw in the top lid with 8 15 mm M3 screws.
- Begin Joint 2 assembly
Repeat the similar Joint 1 assembly steps for Joint 2 using its different screw sizes and parts; some repeated steps are omitted in the document.
- Prepare the GM8112 Joint 2 motor
Prepare the Iflight Ipower GM8112 brushless motor and J2 encoder shaft for Joint 2; this motor differs from the other motor.
- Position the encoder shaft
The encoder shaft cannot pass through the motor hole, so position it as shown in the picture.
- Install the J2 sun gear
Use a 25 mm screw to attach the sun gear to the encoder shaft. Use 8 M5 5 mm screws to attach the sun gear to the motor.
- Attach the J2 bottom lid
Attach the J2 bottom lid to the motor with M5 8 mm screws.
- Mount the encoder board
Attach the encoder board to the bottom lid with 4 M3 5 mm screws. Ensure that the part where the motor wires are is on the notch in the bottom lid.
- Attach the J2 orbit
Attach the orbit to the bottom lid with 8 M3 15 mm screws.
- Install planets and ball bearings
Insert 2 ball bearings in each planet. As in the J1 step, insert 3 M5 15 mm screws to hold the bearings.
- Insert the output shaft
Insert the J2 output shaft into the orbit.
- Install top-lid ball bearings
Insert 2 radial ball bearings measuring 50×67×7 into the holes in the top lid.
- Attach the top lid
Attach the top lid to the orbit with 8 M3 15–20 mm screws.
- Attach the arm holder
Attach the arm holder to the output shaft with 6 M5 25 mm screws.
- Attach the rotating base to J1
Attach the rotating base to the J1 output shaft with 6 M5 25 mm screws. Be careful not to apply pressure to the bearing, and do not tighten the screws one by one; try to tighten all of them at once.
- Secure the rotating base to J2
Secure the rotating base to J2 with 8 M5 15 mm screws.
- Begin the upper-arm assembly
Begin the upper-arm assembly. The first part is the Joint 3 assembly.
- Assemble Joint 3
The Joint 3 assembly is basically the same as the Joint 1 assembly. The only difference is that the bottom lid is attached to the orbit with 10–15 mm screws.
- Check the Joint 3 lid direction
Make sure the direction of the top lid is as shown in the picture.
- Prepare the 28-tooth pulley
The pulley is to be attached to the output shaft with 15–20 mm M3 screws, but do not attach it at this step.
- Place M5 nuts
Do not attach the pulley at this step. Place M5 nuts in the holes indicated by the arrow.
- Attach the aluminum extrusion
Attach the 40×40 200 mm T-slotted aluminum extrusion with M5 15 mm screws. Use Hammer nut U10 M5×6.
- Attach the Joint 3 holder
Attach the Joint 3 holder with 6 M5 15 mm screws. Use Hammer nut U10 M5×6.
- Install Joint 3 holder bearings
Attach 2 radial ball bearings measuring 35×47×7 to the Joint 3 holder.
- Begin the Joint 4 assembly
Begin the Joint 4 assembly using the listed Sun joint 4 and Encoder shaft joint 4 parts.
- Attach Gear to Encoder Shaft
Attach the gear to the encoder shaft with a 15-20 mm screw.
- Attach Sun Gear to Gimbal Motor
Attach the sun gear to the Gimbal Motor GM7008H with four M3 5 mm screws.
- Attach Motor and Driver to Bottom Lid
Attach the motor to Bottom lid J4 with four M3 5 mm screws and attach the BLDC driver to the bottom plate with four 5 mm screws.
- Attach Motor Part to Bottom Lid
Attach the motor part to the bottom lid with seven 15 mm M3 screws.
- Fit Planets and Bearings
Use Output shaft joint 4 and Planets joint 4. Insert a radial ball bearing in every planet.
Software
- Run the Python robot GUI
Run the Python GUI, which relies on Petar Corke's robotics toolbox for Python. It was tested on a Linux virtual machine, a laptop running Linux, and a Raspberry Pi 4.
- Monitor robot telemetry in real time
Use the real-time monitoring display for motor position, current, speed, temperature, end-effector position, operating modes, and errors.
- Teach poses with code or freehand
In the Teach menu, program the robot by entering code in the gray window or by moving it freehand.
- Jog motors from the Move menu
Use the Move menu to jog individual motors. XYZ jogging is described as a planned near-future feature.
Calibrate and test
- Meet the stated electrical limits
Use a recommended 24 V/10 A power supply and a 24 V robot supply. Keep motor current at or below the driver's 5 A maximum.
- Plan payload around reach limits
Keep the maximum load at or below 3 kg, with reduced load required at greater reach. Account for ±0.5 mm repeatability; greater precision requires visual servoing like human arms.
- Position the homing marker
The part marked with an arrow is used for homing and may be placed on any side, although the indicated side is recommended.
Data and training
- Record and replay movement sessions
Record sessions made in individual motor jogging, freehand teach, or point-to-point movement, and replay them later.
Parts
- Motors: 1 iFlight iPower GM8112, 2 Emax GB4114 and 3 GM7008H gimbal motors (V2 BOM)
- Spectral Micro BLDC drivers, one per joint (the V2 BOM's quantity column says 1, while the README and code use one on each of the 6 joints); a USB-to-CAN adapter and 7 each of JST ZH and XH 2-pin cables
- 3D-printed single-stage planetary gearboxes with ratios of 8, 8, 9.14, 6.5, 6 and 5 on the six joints (V2 code)
- 4 lengths of 30×30 180 mm and 1 of 40×40 200 mm aluminium extrusion; one each of HTD 520‑5M and 710‑5M belts
- Bearings: 7 of 35×47×7, 3 of 50×67×7, 4 of 25×32×4, 4 of 3×8×4, 6 of 5×16×5 and one 50×70×14 thrust bearing; M3–M5 screws and hammer nuts
- Gripper: the repo includes STEP files for an SSG gripper (STEPS_CM6/SSG_GRIPPER_CM6.zip)
Tools
- A 3D printer: Hackaday says low-infill PETG prints and aluminium extrusions keep the whole arm, base holders included, under 5 kg
- A 24V supply (Hackaday recommends 24V 10A) and a USB-to-CAN adapter
- SolidWorks for the simplified assembly in simply.zip; other CAD tools read the STEP files
Skills
- Setting up and calibrating FOC BLDC drivers (Spectral Micro) and wiring a CAN bus
- Python and Peter Corke's Robotics Toolbox (DH model and simulator)
- Assembling from the V1 instructions with the V2 parts swapped in; the README says the instructions are not as good as PAROL6's and a lot of tinkering is needed
Software
- CM6_V2_code (MIT): DH model, simulator and simulator mimic, keyboard control, communication and full-arm test scripts, talking CAN through the Spectral_BLDC library
- V1 GUI: CM6_control_software (MIT, Python), with live motor position, current, speed and temperature, single-motor jogging, freehand teach, point-to-point moves and record-and-replay (Hackaday)