How to build Thor open-source 3D-printed 6-DoF robot arm: the whole process
81 steps to build Thor open-source 3D-printed 6-DoF robot arm, from buying parts, printing and assembly to software, calibration and training, with the bill of materials…
The creator's estimate: the FAQ puts the parts at about €350 and the README says hardware costs below €350, neither counting a 3D printer; the BOM gives purchase links only, with no prices. There is no official kit price
Buy parts
- Source the filament
Buy the filament listed in the BOM’s “Filament” section.
- Source the stepper motors
Buy the stepper motors listed in the BOM’s “Stepper Motors” section.
- Source the servomotors
Buy the servomotors listed in the BOM’s “Servomotors” section.
- Source the GT2 belts
Buy the GT2 belts listed in the BOM’s “GT2 Belts” section.
- Source the GT2 pulleys
Buy the GT2 pulleys listed in the BOM’s “GT2 Pulleys” section.
- Source the bearings
Buy the bearings listed in the BOM’s “Bearings” section.
- Source the shafts
Buy the shafts listed in the BOM’s “Shafts” section.
- Source the screws
Buy the screws listed in the BOM’s “Screws” section and verify that the displayed product is correct.
- Source the electronics
Buy the electronics listed in the BOM’s “Electronics” section.
- Source the control PCB components
Buy the control PCB components listed in the BOM’s “Control PCB Components” section.
- Source the other components
Buy the other components listed in the BOM’s “Other Components” section.
- Download Thor ControlPCB design files
Download the Thor ControlPCB schematics, source files, and manufacturing files (gerbers) for board modification.
- Find a Pre-Soldered Control Board
Look in the forum's Buy & Sell section for Thor boards already soldered by other users.
- Collect Components From the BOM
Open the Bill of Materials, collect every required component, and note its PCB reference for soldering.
- Download the Super8Pro firmware
Download RepRapFirmware version 3.5.4 from the TeamGloomy repository; the file is firmware_super8pro_h723.bin.
- Download Super8Pro configuration files
Go to the Downloads page and download the latest Fly Super8Pro configuration files.
Print and make
- Obtain the Custom Thor Control PCB
A shop is unlikely to sell this custom board, so make it yourself; the document gives a PCB cost of about $10 per unit and minimum orders of 5-10 units.
- Order the PCB Through PCBWay
Open the ControlPCB project on PCBWay and order the Thor ControlPCB from it.
- Order Using Downloaded Gerber Files
Download the Gerber files from Downloads and use them to place an order with your preferred PCB manufacturer.
- Submit Gerbers and Board Properties
Provide the manufacturer with the Gerber files and the board properties; the properties usually match the cheaper board options listed in the document.
Assemble
- Watch the Complete Thor Assembly Process
Watch Sr. Ferrete’s complete Thor playlist first to learn the assembly process, tricks, and difficulties. The videos are in Spanish; enable captions if needed. The page notes that some instructions or videos may not be for the latest version, but they are generally applicable to almost the entire assembly process.
- Use the Interactive Assembly Manual
Open the interactive instruction manual on a PC, then use the right-hand buttons to navigate through the assembly step by step and see the required components for each step. The manual was made for the Thor v2 test version using Blender and Blend4Web.
- Inspect the component assembly
Open any assembly file to see how printed parts, bearings, motors, bolts, nuts, and other components fit together. Hide or show components to reveal the parts underneath and check dimensions such as bolt sizes.
- Connect ControlPCB to Arduino
Connect the Thor ControlPCB Arduino shield to the Arduino Mega through the digital pins according to the complete wiring diagram.
- Reroute PDIG1 to pin 7
Connect the PDIG1 connector to pin 7 of the Arduino Mega instead of pin 41. Unsolder the male pin of the Control PCB and solder a jumper wire in its place.
- Solder Components by PCB Reference
Use the PCB references in the Bill of Materials to solder each component onto the matching position of the custom board.
- Attach the ControlPCB for configuration and testing
After the upload, attach the ControlPCB to the Arduino and proceed with the configuration and testing.
- Connect the SD card to the board
Connect the SD card to the powered off Fly Super8Pro board.
- Connect the board by USB
Connect the Fly Super8Pro board to your PC using the USB cable.
Software
- Install the Arduino IDE
Install the Arduino IDE on your computer to flash the control board firmware.
- Download and open the firmware project
Download the latest firmware files from the downloads page, unzip them, navigate to grbl-1.0/grbl/examples/grblUpload and open grblUpload.ino in Arduino IDE.
- Add the grbl library
In Arduino IDE choose Sketch > Include Library > Add .ZIP Library, navigate in the new window to the grbl-1.0/grbl folder and press “Open”; do not include the .zip file or the grbl-1.0 folder.
- Connect Arduino Mega and select board and port
Connect the Arduino Mega to the PC without the controlPCB attached; in Tools > Board select “Arduino Mega” and in Tools > Port select the port where the board is connected.
- Upload the firmware
Press the Upload button with the horizontal arrow on the topbar; after a few seconds the upload finishes and “Done uploading” appears in the bottom bar.
- Use the M3 Tool Command
Use the format M3 Snnn, where Snnn is the output tool signal value. M3 S900 moves a servomotor connected to the ControlPCB STOOL pin to the opened position.
- Connect the micro SD card
Connect the micro SD card to the PC.
- Copy firmware to the SD card
Copy the firmware_super8pro_h723.bin file to the root of the SD card.
- Unzip the configuration files
Unzip the ZIP file you just downloaded.
- Move the sys folder
Move the sys folder to the root of the SD card as well.
- Open the Asgard folder
Open the system terminal and navigate to the folder containing the Asgard files.
- Launch Asgard initially
Execute python asgard.py in the folder containing asgard.py.
- Install missing dependencies
If dependency errors appear during the previous step, install pyqt5, pyserial, numpy, pyqtgraph, and pyopengl using the listed command.
- Launch Asgard again
After the libraries are installed, run python asgard.py again; the program should appear and Asgard can be used.
- Select the board serial port
Select the port where the board is connected in the Serial Port combo box, and use the side button to update the port list.
- Confirm the communication baud rate
Set the communication speed; the default is 115200 bauds.
- Check the board state
Check the current board state shown in the State display: Disconnected, Idle, Run, or Alarm.
- Connect to the board
After selecting the serial port, click the Connect button to establish the connection.
- Use the serial console
The serial console at the bottom shows every command sent to or received from the board. Type commands in the text box and click the “Send” button to send them to the board.
- Install FreeCAD
Install FreeCAD so you can open the FreeCAD assembly files provided with the project.
Calibrate and test
- Change and Verify GRBL Settings
Change every non-matching setting to the specified value, then send the $ command and compare the current settings with the list above. If different steppers, stepper drivers, belts, pulleys, or gears are used, these settings may need adjustment.
- Control Thor Motors with GRBL
Use GRBL to control the Thor motors and send GCode motion commands to GRBL.
- Send Joint Motion Commands
Use G0 or G1 with at least one variable: A controls Motor #1, B Motor #2, C Motor #3, D Motor #4, X Motor #5, Y Motor #6, and Z Motor #7; F specifies the feedrate per minute of the move.
- Match Second and Third Joint Commands
When sending a motion command, B and C must use the same number.
- Run the Multi-Joint G0 Test
This command moves the first articulation to 10º, the second to 45º, the third to -45º, the fourth to 15º, and rotates the wrist at the fifth and sixth articulations.
- Run the G1 Test with Feedrate
This command moves the first articulation to 20º and the fourth articulation to -20º at 1000 degrees per minute.
- Connect ControlPCB to Arduino
Connect the ControlPCB to the Arduino to establish the control connection for motor testing.
- Connect a Stepper Motor
Connect at least one stepper motor to the Control PCB.
- Connect the Power Supply
Connect the 12-24V power supply to the ControlPCB.
- Connect Arduino to the PC
Connect the Arduino to the PC so testing can be performed from the serial terminal.
- Send a GCode Command
Open the Arduino IDE serial terminal and send a GCode command.
- Test Motor Movement
If everything is connected correctly, you should be able to test the motors this way.
- Check Connection and GRBL Firmware
Open the console, select the proper baud rate, and verify that you can read the GRBL welcome message: “Grbl 0.9j [‘$’ for help]”. Also check that the Arduino has the firmware flashed.
- Check the Motor Wiring
Check the wiring to confirm that the motor is connected correctly and that you are trying to move the intended motor.
- Inspect ControlPCB Solder Joints
Use a multimeter to inspect all soldering points and make sure there are no short circuits or poorly soldered tracks.
- Adjust the Driver Potentiometer
Inspect the small potentiometer on the upper face of the stepper driver, which controls the current flowing to the stepper motor. If it is turned all the way off, the motor will not receive enough current to move; tune it using the video in the documentation.
- Replace a Burned-Out Driver
Driver burnout is another common failure. If the driver has burned out, replace it with a new one.
- Establish the serial connection
Connect via serial using Termite, Arduino IDE, or another serial-console program with baudrate 115200.
- Send a GCODE test command
After connecting to the board, send GCODE commands; the board should return a message as a response.
- Check the firmware version
Send the M115 command to see the installed firmware version.
- Check the motor positions
Send the M114 command to see the current position of the motors.
- Verify the axis configuration data
Check whether the M114 response contains data for X, Y, Z, U, V, and W. If it does not, repeat all the steps from step 4.
Use it
- Run the homing command
Click the Home button to run the homing command $H.
- Move to the zero position
Click Zero position to run the command that moves the robot to the zero position.
- Clear the alarm lock
If the homing cycle fails, Alarm mode blocks robot movement; click Kill Alarm Lock to run $X and clear the alarm lock.
- Select the movement mode
Use G0/G01 Move mode to switch between G0 rapid movement and G1 controlled-speed movement.
- Set the movement feed rate
Enter the movement speed in Feed Rate; this input is enabled when G01 Move is selected.
- Enter an articulation target angle
For each articulation, enter the target angle with an input box, slider, or buttons, then use the Go! button to move it.
- Move all articulations together
Click Go All! to send one movement command that moves all articulations at once instead of moving them individually.
- View current articulation angles
Use Angles Display to view the robot's current articulation angles.
- Control the robot gripper
Use one of the three input methods to set the signal controlling the robot tool, then click Go! to send the command.
- Learn the RRF GCODE commands
Visit the Duet3D page to familiarize yourself with the GCODE used in RRF.
Common problems
- CAD interfaces specify incompatible dimensions, hole sizes, bearings, and rods. #53 #68 #77 #105
- Motor overheating deforms gears, while joint flex causes transmission slippage. #29 #67
- Tool pins detach, and tightly packaged internal components are difficult to access. #31 #51
- Project guidance on kinematics, firmware, PCB wiring, and endstops is incomplete or inaccessible. #46 #64 #74 #91 #95 #101
- The servo lacks voltage regulation, risking failure or incorrect operation. #76
- Incorrect step settings and missing PWM prevent precise servo movement. #78 #80
- Some joint bodies require extensive supports and over 24-hour prints. #69
- Printer capacity, STL scaling, and material limitations are insufficiently documented. #48 #72 #93
Parts
- 7 NEMA 17 steppers: one 40 mm, 40 N·cm (joint 1), three 34 mm with 5:1 reduction (joints 2 and 3) and three 34 mm, 26 N·cm (joints 4, 5, 6); one MG995 servo (gripper)
- GT2 belts: two 208 mm closed and one 1000 mm open (6 mm wide); GT2 pulleys: three 20-tooth and two 40-tooth (5 mm bore)
- Bearings: one 16014ZZ, eleven 625ZZ, two MF84ZZ and 30–40 6 mm balls (steel or plastic); 4 mm and 5 mm shafts and M2–M5 screws and nuts
- Electronics: an Arduino Mega with the Thor ControlPCB (8 A4988s, SMD passives) or a Fly Super8Pro; 4 optical endstops, a micro endstop, 11 12V fans, a DC jack and power and reset buttons
- Filament: 3–4 kg of PLA or PETG plus 0.5 kg of ABS (for small parts touching the motors); 6 M3 heat inserts and 12 8×1 mm magnets
Tools
- A 3D printer: 0.3 mm layers, 3–4 walls and 20% infill for the large parts, with split versions in mods if the joint-2 parts do not fit
- A soldering iron (for the ControlPCB's SMD parts), the Arduino IDE (to flash GRBL) and FreeCAD (to inspect the assembly)
Skills
- Soldering and setting up the ControlPCB, or configuring RepRapFirmware on a Fly Super8Pro
- Sending G-code over serial and configuring GRBL's $ parameters
- Python (Asgard) or ROS 2 Humble and MoveIt2 (Thor-ROS, with Docker)
Software
- Asgard (CC BY‑SA 4.0, Python 3 with PyQt5): Thor's desktop control GUI
- Thor-ROS (CC BY‑SA 4.0): ROS 2 Humble and MoveIt2 packages, Gazebo simulation and a React web version of Asgard (joint and Cartesian jogging, saved poses and programs)
- Firmware: the Thor fork of GRBL 0.9j (Arduino Mega) or the RepRapFirmware config for a Fly Super8Pro