Thor Robot Arm: 3D printing, assembly, calibration, ROS 2 and the first motions
Thor is an open-source six-degree-of-freedom 3D-printed robot arm designed by Ángel LM. Its mechanism uses printed gears, GT2 belts and pulleys, bearings and stepper motors. Unlike a compact bus-servo arm, each joint depends on the actual gearbox ratio and the motor-driver configuration.
This chapter follows Thor's own CAD and ROS ecosystem. The diagrams are explanatory; the photographs and dimension drawing are actual upstream media. A simulated movement does not prove the electronics have been commissioned.


1. Specifications and workshop planning
| Property | Published reference |
|---|---|
| Joint count | 6 |
| Axis pattern | Yaw–Roll–Roll–Yaw–Roll–Yaw |
| Extended height | 625 mm, excluding end effector |
| Claimed maximum payload | 750 g including tool |
| Transmissions | Printed gears, GT2 pulleys and belts |
| CAD | FreeCAD |
| Control options | GRBL, RRF, ROS 2, dependent on board and firmware |
| Historical build cost | Under €350, not a current quote |
Collect the mechanical BOM for the exact Thor version, matching stepper motors and drivers, GT2 timing belts, pulleys, bearings, shaft fasteners, limit switches and a suitably sized power supply. In the workshop prepare an FDM printer, slicer, FreeCAD, multimeter and mechanical measuring tools.
Do not use one generic joint ratio or motor current setting for every axis: Thor has different transmission stages.
2. Download Thor and distinguish the software repositories
git clone https://github.com/AngelLM/Thor.git
cd Thor
ls| Resource | Purpose |
|---|---|
freecad-src/ | Editable assemblies and component fit |
stl/ | 3D-printable geometry |
step/ | Neutral CAD exchange geometry |
mods/ | Mechanical modification resources |
doc/ | Documentation and authentic illustrations |
| ThorControlPCB | Custom Arduino Mega controller PCB project |
| Thor-ROS | ROS 2 Humble, MoveIt 2, Gazebo and Asgard |
Thor-ROS and ThorControlPCB are different repositories. Select one real hardware control configuration and do not combine unrelated GRBL, RRF or ROS firmware instructions.
3. Prepare and 3D-print the mechanical parts
- Open the released FreeCAD assembly and match every STL to its intended joint, bearing and motor.
- Import the selected STL files into Cura, PrusaSlicer or OrcaSlicer.
- Verify scale, support placement and the orientation of load-bearing parts.
- Print a bearing-seat sample and a gear-pair test before producing all pieces.
- Produce base, links, reduction cases and wrist parts in the required quantities.
- Clean holes and printed tooth faces without changing their intended dimensions.
- Perform a dry fit of every shaft and bearing.
The gear teeth, bearing bores and pulley alignment need tighter dimensional control than decorative covers. The official version determines print counts and material settings; no universal infill value should be imposed on all pieces.
4. Mechanical chain and full assembly sequence
Diagram A - Six-axis printed-arm layout
Open Mermaid source
flowchart TD A["Printed base"] --> B["J1: Base yaw"] B --> C["Shoulder gears"] C --> D["J2: Shoulder"] D --> E["Upper arm"] E --> F["J3: Elbow"] F --> G["Forearm"] G --> H["J4: Wrist"] H --> I["J5: Wrist pitch"] I --> J["J6: Tool rotation"] J --> K["End-effector mounting flange"]
- Fix the base and install J1 bearings, motor and transmission before closing its case.
- Build shoulder gear assemblies and check that their shafts turn without rubbing.
- Mount J2 and the upper link while keeping cabling accessible.
- Install the elbow drive and align J3 bearings and shafts.
- Fit GT2 belts and pulleys; set tension to avoid slippage without overloading the bearings.
- Build the J4–J6 wrist stages, checking clearance between the moving sections.
- Secure the entire robot to a rigid support and route cables away from every rotating part.
- Mark mechanically neutral reference positions before closing the final housings.
Measure backlash by approaching an angle from both directions. More microsteps cannot eliminate mechanical play in a gear train.
5. Thor electrical control architecture
Diagram B - Controller, stepper drivers and reference switches
Open Mermaid source
flowchart TD A["Computer: Asgard / ROS 2 / G-code"] --> B["Compatible motion board"] P["Correct motor supply"] --> C["Stepper driver bank"] B --> C C --> D["Six stepper motors"] D --> E["Gears and GT2 belts"] E --> F["Six physical joints"] S["Reference / limit switches"] --> B X["Independent stop circuit"] --> P
A custom ThorControlPCB or an alternative supported board can be used, but the pinout, firmware and motor driver settings change with the board. Verify STEP, DIR, driver activation, power and reference switch wiring on the exact fitted board.
Before energizing the robot
Secure the base, support the upper links, keep the workspace clear and provide a tested independent drive-power cutoff. A successful simulation does not certify the wiring or motor directions.
6. Install ROS 2 Humble, MoveIt 2 and Thor-ROS
Use Ubuntu 22.04 and ROS 2 Humble according to the upstream Thor-ROS installation instructions. After installing ROS 2 Humble Desktop:
sudo apt update
sudo apt install -y \
ros-humble-ros2-control \
ros-humble-ros2-controllers \
ros-humble-gazebo-ros-pkgs \
ros-humble-gazebo-ros2-control \
ros-humble-moveit \
ros-humble-moveit-resources \
ros-humble-rosbridge-suite \
libserial-dev \
nlohmann-json3-dev \
python3-colcon-common-extensionscd ~
git clone https://github.com/AngelLM/Thor-ROS.git
cd Thor-ROS/ws_thor
source /opt/ros/humble/setup.bash
colcon build
source install/setup.bashThor-ROS also documents a Windows 11 WSL2 route; the example above uses Ubuntu. Build errors require reviewing package and ROS distribution compatibility rather than forcing another ROS release.
7. Make Thor move in simulation before real hardware
cd ~/Thor-ROS/ws_thor
source /opt/ros/humble/setup.bash
source install/setup.bash
ros2 launch thor_bringup simulated_robot.launch.pycd ~/Thor-ROS/asgard
npm install
npm run devOpen the local address reported by the terminal (often http://localhost:5173). Asgard offers joint positions, pose editing and planning functions. Begin with a single simulated joint, return to the initial pose and then inspect a short multi-joint sequence.
Diagram C - Simulation before commissioning
Open Mermaid source
flowchart TD A["FreeCAD and robot description"] --> B["ROS 2 Gazebo simulation"] B --> C["Asgard and MoveIt 2"] C --> D["Review path and joint limits"] D --> E["Validate motor scaling and homing"] E --> F["Restricted real single-axis test"]
8. Program Thor and inspect its axes
G-code firmware can drive one controller family; Thor-ROS uses ROS 2 controllers and robot descriptions. First inspect the installed ROS workspace without actuating hardware:
ros2 pkg list | grep thor
ros2 topic list
ros2 control list_controllersUse this independent Python example to inspect joint names and limits in the actual exported Thor URDF. Replace the placeholder with your own file path.
from pathlib import Path
import xml.etree.ElementTree as ET
urdf_path = Path("PATH_TO_THOR_MODEL.urdf")
root = ET.parse(urdf_path).getroot()
for joint in root.findall("joint"):
name = joint.get("name")
kind = joint.get("type")
limit = joint.find("limit")
if limit is not None:
print(name, kind, limit.attrib)
else:
print(name, kind, "no limit specified")For real motors, confirm full steps, microstepping and each gearbox ratio; configure referencing and motor directions in the selected controller. Do not issue a six-axis trajectory until individual axis checks and a homing reference have passed.
9. Calibrate scaling and backlash
An open-loop stepper can count commanded steps but cannot detect lost steps or gear backlash without additional feedback. This offline exercise estimates motor steps for one measured joint rotation.
full, micro, ratio = map(
float,
input("Full steps, microsteps, reduction ratio: ").split()
)
degrees = float(input("Target joint rotation in degrees: "))
steps = round(full * micro * ratio * degrees / 360)
print("Commanded motor steps:", steps)
a, b = map(float, input(
"Measured joint angles approached from both directions: "
).split())
print("Backlash estimate (degrees):", abs(a - b))Return to the same marked reference from both directions and measure the difference. Repeat for every axis and record actual ratios and observed neutral geometry before composing unloaded waypoints.
10. First movement and troubleshooting
For physical commissioning, anchor the arm, support links, read motor limits and end-stop feedback, verify joint directions, then use the documented low-speed jog for the selected controller on J1 only. Confirm one short motion against a physical angle measurement before progressing to J2–J6. Keep the initial test unloaded.
| Symptom | Likely checks |
|---|---|
| Joint binds at the same point | Gear tooth clearance, bearing concentricity and motor shaft alignment |
| Mechanical play varies with approach direction | Backlash and pulley fastening |
| Stepper does not rotate | Power, driver, STEP/DIR, activation signal and connector |
| Wrong rotation sign | Firmware motor direction and joint frame |
| Reference is lost | Limit switches, scaling and missed steps |
| Simulation works, physical robot does not | Real controller, flashed firmware and serial connection |
| MoveIt 2 planning fails | URDF, limits and active controllers |
Official project reference repositories: AngelLM/Thor, AngelLM/Thor-ROS and AngelLM/ThorControlPCB. No physical hardware commissioning is claimed here. Do not assume a six-axis motion API or payload limit from CAD alone; the fitted controller revision determines the safe procedure.
Complete practical guide: Thor Robot Arm
Thor uses printable components and gear transmissions to create an articulated arm. FreeCAD is the useful starting point for checking how each motor, shaft and bearing fits together.
1. Files, parts and fabrication
- Open the released FreeCAD assembly and STL set; choose the same revision for every gear and housing. Export only if the release calls for it.
- Print a mating gear and housing test to measure fit. Slicer orientation and supports must preserve bearing seats and tooth geometry.
- Assemble the base and successive joint modules, fitting gears and bearings before fastening covers. Check unpowered rotation in both directions and retain access to motor cables.
2. Software installation and configuration
- Install FreeCAD and your slicer, then obtain the controller software and firmware from the chosen Thor release. Read the motor driver configuration before flashing.
- Calculate the output scale for each axis from full steps, microsteps and reduction ratio; do not use the same value across unlike gear stages.
- Connect the controller through its documented interface and check limit switch state and motor direction with the arm supported.
Commissioning diagram
- 1FreeCAD joint assembly
- 2Motor and reduction
- 3Controller step count
- 4Physical angle measurement
- 5Calibrated waypoint
Mermaid diagram source
flowchart TD
N0["FreeCAD joint assembly"]
N1["Motor and reduction"]
N2["Controller step count"]
N3["Physical angle measurement"]
N4["Calibrated waypoint"]
N0 --> N1
N1 --> N2
N2 --> N3
N3 --> N43. Power-on preparation and first movement
- Anchor the base and support the upper links. Inspect gears without power.
- Check the controller's status and endstop readings. Test the first axis at restricted travel using its documented jog function.
- Mark a zero reference and compare commanded and measured angle. Repeat in both directions before adding the other axes.
4. Programming exercise
Calculate the motor step request for a target joint rotation and quantify backlash by measuring the same reference from opposite directions. This code sends nothing to the robot.
full, micro, ratio = map(float,input('Full steps, microsteps, ratio: ').split())
deg = float(input('Target joint degrees: '))
print('Motor steps:', round(full*micro*ratio*deg/360))
a,b = map(float,input('Measured angles from both directions: ').split())
print('Backlash estimate (deg):', abs(a-b))Use measured scaling and backlash when evaluating repeatability. Gear play is a mechanical property; increased step count cannot remove it.
5. Progress to practical operation
- Return to a reference position from each direction, and repeat for every axis.
- Create a short, unloaded waypoint sequence using the released controller; check that interpolated joints avoid self-contact.
- Add an end effector only within the documented limits and verify the arm's ability to stop and hold the selected pose.
6. Software and hardware diagnostics
- Clicks or binds at the same angle
- Inspect gear tooth clearance and concentricity without power.
- Angle changes with direction of approach
- Measure backlash and inspect gear fastening.
- Controller loses reference
- Verify stop switches and motor scaling before another sequence.
Technical basis: Thor FreeCAD assembly, STL and project controller instructions. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.
Thor FreeCAD models, STL parts and gearbox assembly
DIY arm with documented mechanics
Check the documentation for the controller and electronics revision before ordering; CAD alone does not specify the electrical setup.
From parts to first test 5 steps
Gather the arm's mechanical inventory
Use Thor's documentation BOM to select the stepper motors, bearings, fasteners, gears and controller components. Source the original mechanical parts or their specified equivalents.
Reference 4 ↓Print and inspect the parts
Download the STL files or modify the FreeCAD source if necessary. Check gear mesh and bearing fit before closing the printed gearbox housings.
Reference 1 ↓Build the transmission and links
Use the interactive assembly viewer alongside the instructions to identify spacer, shaft and fastener positions; verify free rotation at every stage.
Reference 5 ↓Wire the drives and endstops
Follow the documented electronics and controller configuration for your revision. Check each motor direction and switch input with the arm supported.
Reference 4 ↓Home and run a small movement
Fix the base securely, check the controller's limits and follow its homing procedure. Test one axis before attempting a multi-axis move.
Reference 4 ↓
Parts, files and official manuals 5 references
Printed gear train and stepper axes
Practical implementation notes for Thor Robot Arm. Use the exact hardware and software revision specified in the project documentation.
Tools and equipment
- FDM printer
- caliper
- hex keys
- gear alignment tools
- multimeter
- controller and stepper driver tools
- FreeCAD
Component illustration
- 1Base gear
- 2Shoulder gear
- 3Elbow transmission
- 4Wrist
Control architecture
- 01Motion host
- 02Stepper controller
- 03Drive stages
- 04Articulated links
Mechanical preparation and assembly
Open the FreeCAD assembly and compare it with the STL revision. Print a single transmission set and check gear mesh and bearing alignment. Fit the motor, shafts and spacers in the sequence of the assembly viewer; repeat only after the first axis turns freely.
Electrical setup and calibration
Wire each stepper and switch to the controller as shown in the selected electronics build. Label channels by axis. Set the driver currents and controller configuration from the exact motor and transmission data. Verify switch logic before any homing.
Software setup and programming
Use the published controller instructions for your revision. Inspect the mechanical model in FreeCAD and calculate motor steps per output revolution using the actual microstep and transmission ratio. Apply the values to the controller only after confirming units.
First test and acceptance criteria
Test the base and each axis separately with the arm anchored. Compare measured travel with the expected angle. Repeat the home procedure and check backlash before adding a tool.
Programming and configuration example
This is a calculation for verifying controller units, not a Thor hardware API. Do not enter calculated values until compared with the actual controller documentation.
# Offline gear scaling: replace with verified hardware values.
motor_steps = int(input('Motor full steps per revolution: '))
microsteps = int(input('Driver microsteps per full step: '))
ratio = float(input('Motor turns per joint turn: '))
print('Steps per joint degree:', motor_steps * microsteps * ratio / 360)Troubleshooting
Inconsistent movement per step may come from incorrect microsteps or reduction settings. Binding or backlash should be diagnosed with power off before altering the controller.
Technical reference: project release documentation. The assembly references above provide the revision-specific drawings and BOM. Examples are editorial walkthroughs or documented commands; they have not been physically tested by TechniaHQRobot.
Printed transmissions and joint arrangement
Thor uses a yaw–roll–roll–yaw–roll–yaw layout driven by stepper motors. Printed gears and GT2 belts mean gear backlash, pulley alignment and belt tension influence the behavior of the assembled arm.
Unlike a single ready-made mesh collection, the main repository includes editable FreeCAD designs and interchange STEP files, so parts can be modified before a new STL is exported.
Selecting the right assembly instructions
Read the official printing guide before slicing parts. The separate assembly walkthrough shows axis-by-axis installation; electronic setup is another document and must match your control board.
Small dimensional changes in printed gear teeth or bearing pockets can affect entire joints. Inspect individual axes with the controller unpowered before combining them.
From firmware to ROS 2
The project's control ecosystem includes an Arduino Mega-compatible control shield, Asgard motor software and a ROS 2/MoveIt 2 integration. They are separate components, not one automatically configured install.
Before trying a ROS trajectory, confirm low-level direction, home offsets and motor travel independently. The ROS configuration cannot compensate for incorrect assembly or a mismatched controller pinout.
Gear interference, ROS 2 and historical budget
Answers are based on published source material and project documentation. Their order does not represent search volume.
01Where can I download Thor STL and editable CAD files?
The official repository has separate stl, step and freecad-src directories. Use one revision across those files to avoid mixing incompatible gear geometry.
Sources Official project documentation
02Can Thor lift 750 g at the wrist?
The maintainer's figure is up to 750 g including the end effector. It is not an independent continuous-duty or full-reach certification.
Sources Official project documentation
03Why does a joint skip steps or feel tight?
Inspect printed gear interference, pulley alignment and GT2 belt tension. Only then check firmware acceleration and step configuration; the mechanical and electrical guides address different causes.
Sources Official project documentation
04Can I control Thor with ROS 2?
The creator links a separate Thor-ROS project with ROS 2 and MoveIt 2 support. Confirm that your low-level board and firmware match its expected hardware.
Sources Official project documentation
05Is the €350 price guaranteed?
No. It is the project's published hardware-cost claim. Compare today's motor, bearing, material, shipping and electronics prices using the BOM.
Sources Official project documentation
Thor Robot Arm: parts cost, software updates and maintenance
This practical ownership section complements the original assembly and programming instructions. Public files do not guarantee that all components can still be purchased or that every build is supported.
| Item | Project record |
|---|---|
| Cost record / BOM target | Below €350 (maintainer's historical target; verify prices) |
| Software licence | CC BY-SA 4.0 (repository) |
| Hardware licence | CC BY-SA 4.0 (repository) |
| Simulation availability | Thor-ROS / ROS 2 MoveIt 2 integration referenced by maintainer |
| Build difficulty | Advanced |
How to obtain the robot or its parts
Use the Thor Robot Arm documentation and hardware release to identify whether an assembled product, kit or self-sourced parts are offered. Price the matching revision, not a photograph or an old bill of materials. Include actuators, controller, supply, wiring, tools, fabrication, shipping, tax and spare parts. A historical BOM target is not a current delivered quote.
- Project documentation
- Source repository and version history
- CAD / fabrication files
How the hardware and software work together
Mechanical path: Base gear → Shoulder gear → Elbow transmission → Wrist.
- Motion host
- Stepper controller
- Drive stages
- Articulated links
Feedback, fault detection and the approved stop function constrain the command path.
Use the published controller instructions for your revision. Inspect the mechanical model in FreeCAD and calculate motor steps per output revolution using the actual microstep and transmission ratio. Apply the values to the controller only after confirming units.
Install, update and recover the software
Keep the exact hardware revision, repository commit, operating system, dependencies, controller firmware and calibration in a local build manifest. Read the project’s setup instructions before installing. Use an isolated environment and a separate checkout for upgrades; compare release notes, regenerate only the documented configuration, and first repeat a simulation or read-only test. Back up calibration and original firmware files where the project supports it. Restore only a documented compatible release if the new version fails.
Project-specific verification: Test the base and each axis separately with the arm anchored. Compare measured travel with the expected angle. Repeat the home procedure and check backlash before adding a tool.
Power, battery replacement and cycle life
Bench arm power comes from the selected external motor supply, not a published robot battery.
A fixed external power supply is not a rechargeable pack. Battery runtime and charge-cycle count are not applicable to a mains-powered configuration. If a mobile conversion adds a pack, it needs its own rated power system.
Common problems, wear and service plan
| When | Inspection and evidence |
|---|---|
| Before operation | Check gear mesh, stepper coupling and endstop repeatability; preserve controller axis mapping when replacing a transmission. |
| After a fault or impact | Wire each stepper and switch to the controller as shown in the selected electronics build. Label channels by axis. Set the driver currents and controller configuration from the exact motor and transmission data. Verify switch logic before any homing. |
| After software or parts change | Record versions and replaced part serials; compare the same approved test with the earlier baseline. Stop on new errors or unexpected movement. |
| At manufacturer service intervals | Use the documented interval and authorized service procedures. No universal calendar or lubricant is assumed. |
| At end of service | Ask about spare-part availability, data removal, battery take-back and local electronics recycling. |
What is not established by the published files
The project documentation must provide any claimed rated service life, battery cycle endurance, duty limits, warranty and repair intervals for the exact hardware. Without a cited endurance test, report those values as not established, not zero and not an estimate. For a DIY build, keep a parts-replacement log and report conditions when measuring reliability.
Original documentation
- Official source repository
- Official instructions
- Printable pieces
- Editable mechanical source
- Interchangeable solid models
- Assembly viewer
Found a changed specification? Submit a correction with its source ↗