How to build Thor: the whole process
88 steps to build Thor, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the official sources.
Thor is an open-source, 3D-printed, six-degree-of-freedom robotic arm for education, makers, and robotics enthusiasts. The repository provides FreeCAD source models, printable STL files, STEP files, and links to printing, assembly, bill of materials, wiring, and firmware setup guides.
Buy parts
- Read the Thor Documentation
Read the comprehensive guides covering printing, assembly, electronics, and firmware.
- Get the Hardware
Review the Bill of Materials to obtain the hardware needed for the robot.
- Buy the Fly Super8Pro board
Buy the linked Fly Super8Pro controller board; the document describes it as costing around 60€ and being made by Mellow 3D.
Print and make
- Download Thor ControlPCB manufacturing files
Download the Thor ControlPCB schematics, source files, and manufacturing files (gerbers) to make or modify the board.
- Print the Robot Parts
Use the printable STL files in the repository's `stl` directory.
Assemble
- Familiarize Yourself with Assembly
Familiarize yourself with the entire assembly process because some parts may later need to be disassembled for repairs or adjustments.
- Watch the Complete Assembly Videos
Before assembling, watch Sr. Ferrete’s complete Thor playlist to learn the tricks and difficulties of assembly.
- Enable Spanish Captions
Sr. Ferrete explains the assembly of Thor v1 in Spanish; activate the captions if you are unfamiliar with the language.
- Use the Interactive Assembly Manual
Open the interactive instruction manual and use the right-hand buttons to navigate through the assembly step by step and see the required components for each step.
- Open the Manual on a PC
Use a PC to open the interactive instruction manual because the website takes time to load and is not responsive on smartphone displays.
- Open an assembly file
Each articulation has an assembly file, and Assembly.FCstd contains the whole assembly. Opening these files shows how printed parts and other components fit together.
- Connect ControlPCB as an Arduino shield
Connect Thor ControlPCB to the Arduino through its digital pins. Use the complete wiring diagram for up to 8 stepper motors, 8 endstops, one tool PWM output, and the 12V and 5V auxiliary pins.
- Reroute PDIG1 to Arduino Mega pin 7
Connect the PDIG1 connector to Arduino Mega pin 7 instead of pin 41. Unsolder the male pin on the ControlPCB and solder a jumper wire in its place.
- Wire the electronics using the diagram
Connect the Fly Super8Pro using the document’s complete wiring diagram, including the stepper motors, endstops, and tool servo connections.
- Assemble the Robot
Assemble the robot using the assembly videos and interactive instructions.
- Assemble and Set Up Electronics
Follow the Wiring & Setup guide to prepare the electronic board and make hardware connections.
Software
- Open the firmware project
Download the latest firmware files from the downloads page, unzip them, and open grblUpload.ino in grbl-1.0/grbl/examples/grblUpload.
- Connect and select Arduino Mega
Connect the Arduino Mega to the PC without the ControlPCB attached, select “Arduino Mega” under Tools > Board, and select the connected port under Tools > Port.
- Upload the GRBL firmware
Press the Upload button on the topbar, identified by a horizontal arrow. After a few seconds, the bottom bar should display “Done uploading”.
- Use GRBL to Control Thor
Use GRBL to control Thor’s motors. GRBL processes GCode commands.
- Set the First Joint with A
Use Annn in the command to rotate the First Articulation (Motor #1) to the specified angle.
- Set the Second Joint with B
Use Bnnn in the command to rotate the Second Articulation (Motor #2) to the specified angle. B and C must use the same number.
- Set the Third Joint with C
Use Cnnn in the command to rotate the Second Articulation (Motor #3) to the specified angle. B and C must use the same number.
- Set the Fourth Joint with D
Use Dnnn in the command to rotate the Third Articulation (Motor #4) to the specified angle.
- Set the Fifth Joint with X
Use Xnnn in the command to rotate the Forth Articulation (Motor #5) to the specified angle.
- Set the Sixth Joint with Y
Use Ynnn in the command to rotate the Fifth & Sixth Articulation (Motor #6) to the specified angle.
- Set the Seventh Joint with Z
Use Znnn in the command to rotate the Fifth & Sixth Articulation (Motor #7) to the specified angle.
- Set the Move Feedrate with F
Supply Fnnn in the command to set the feedrate per minute between the starting and ending angles.
- Connect the micro SD card
Connect the micro SD card to the PC.
- Download the Super8Pro firmware
Download firmware_super8pro_h723.bin for RepRapFirmware 3.5.4 from the TeamGloomy repository.
- Copy firmware to the SD card
Copy the firmware_super8pro_h723.bin file to the root of the SD card.
- Unzip the configuration ZIP
Unzip the ZIP file you just downloaded.
- Copy the sys folder to the SD card
Copy move the sys folder to the root of the SD card as well.
- 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.
- Confirm firmware installation
The installation should be completed successfully.
- Install Python 3
Download and install the latest version of Python 3.
- Download and unzip Asgard
Download the Asgard source code from the site's Downloads section and unzip the file to a known location.
- Navigate to the Asgard folder
Open the system terminal and navigate to the Asgard files folder.
- Launch Asgard for the first time
Run the launch command from the folder containing the asgard.py file.
- Install missing dependency libraries
If dependency errors appear during launch, install the required libraries to resolve them.
- Launch Asgard again
After the libraries are installed, run Asgard again; the program window should appear and you can begin using it.
- Send a Serial Command
Type a command in the serial console’s text box, then click “Send” to send it to the board.
- Toggle Verbose Output
Select or clear “Show Verbose Output” to show or hide the status and position messages sent by the board.
- Toggle ‘ok’ Responses
Select or clear “Show ‘ok’ responses” to show or hide the “ok” responses sent by the board.
- Install FreeCAD
Install FreeCAD so you can open the project’s FreeCAD files.
- Configure the firmware for Thor
Follow the linked Firmware section to configure this electronics’ firmware step by step so it works with Thor.
- Install and Configure Firmware
Perform the firmware configuration corresponding to the electronics you selected.
Calibrate and test
- Attach control board and prepare testing
Attach the ControlPCB to the Arduino, then begin configuration and testing.
- Open the Arduino Serial Monitor
Connect the Arduino to the PC, open the Arduino IDE, and click the Serial Monitor button in the top-right bar. A new serial monitor window should appear.
- Set Baud Rate and Newline
Select 115200 in the baudrate selection box and select “Newline” in the other selection box.
- Confirm Thor GRBL Startup Message
Check that the console displays “Grbl 0.9j [‘$’ for help] – Thor Version 1.0”.
- Read Current GRBL Configuration
Send $ in the input text box and press enter. The board will return the current GRBL configuration.
- Check $0–$4 Defaults
Check that the current $0, $1, $2, $3, and $4 values match the defaults listed in the document.
- Check $5–$12 Defaults
Check that the current $5, $6, $10, $11, and $12 values match the defaults listed in the document.
- Check $13–$23 Defaults
Check that the current $13, $20, $21, $22, and $23 values match the defaults listed in the document.
- Check $24–$100 Defaults
Check that the current $24, $25, $26, $27, and $100 values match the defaults listed in the document.
- Check $101–$105 Defaults
Check that the current $101, $102, $103, $104, and $105 values match the defaults listed in the document.
- Check $106–$113 Defaults
Check that the current $106, $110, $111, $112, and $113 values match the defaults listed in the document.
- Check $114–$121 Defaults
Check that the current $114, $115, $116, $120, and $121 values match the defaults listed in the document.
- Check $122–$131 Defaults
Check that the current $122, $123, $124, $125, $126, and $131 values match the defaults listed in the document.
- Check $130–$136 Defaults
Check that the current $130, $131, $132, $133, $134, $135, and $136 values match the defaults listed in the document.
- Check Remaining Travel Defaults
Check that the current $135 and $136 values match the defaults listed in the document.
- Restore Default Parameters if Needed
If the parameters do not match, send $RST=$ to replace their values with the defaults. This command can also return to the defaults after testing new parameters.
- Change GRBL Parameters Individually
Change values individually using the $parameter=value format. The parameter is the parameter number, and value is its new value.
- Set a 10-Microsecond Step Pulse
For example, to set the step pulse time to 10 microseconds, send $0=10.
- Check and Correct Firmware Settings
Change every setting that does not match the list, then send the $ command and compare the returned values with that list. You may need to adjust the settings when using components other than those described on the BOM page.
- Keep B and C Equal
When sending a command that includes B and C, make sure both variables use the same number.
- Test a Multi-Joint G0 Move
Run the example command to move the first joint to 10º, the second to 45º, the third to -45º, the fourth to 15º, and rotate the wrist.
- Test a Two-Joint G1 Move
Run the example command to move the first joint to 20º and the fourth joint to -20º at a speed of 1000 degrees per minute.
- Set an M3 output signal
Use M3 Snnn to set the output tool signal value, where Snnn is the output tool signal value. Sending M3 S900 moves a servomotor connected to the ControlPCB STOOL pin to the opened position.
- Connect ControlPCB to Arduino
Connect the ControlPCB to the Arduino.
- 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.
- Send GCode to test motors
Open the Arduino IDE serial terminal and send a GCode command. If everything is fine, the motors can be tested this way.
- Check connection and 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 the Arduino connection and whether the firmware has been flashed.
- Check the motor wiring
Check the wiring to ensure the motor is properly connected and that you are trying to move the correct motor.
- Inspect ControlPCB solder joints
Use a multimeter to check all the soldering points on the ControlPCB for short circuits or poorly soldered tracks.
- Adjust the stepper driver potentiometer
Check the small potentiometer on the upper face of the stepper driver, which controls the current flowing to the stepper motor; if it is fully off, the motor will not receive enough current. The referenced video shows how to tune it, and a burned-out driver should be replaced with a new one.
- Connect the serial console
Connect via serial using Termite, Arduino IDE, or another serial-console program with baudrate 115200.
- Send GCODE and check the response
After connecting to the board, send GCODE commands; the board should return a response message.
- 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 data for all axes
Check that the M114 response contains data for X, Y, Z, U, V, and W. If it does not, the configuration is incorrect and all steps from step 4 must be performed again.
- Watch the installation troubleshooting video
If firmware installation has problems, watch the video from 3D Mellow, which explains the firmware installation process step by step.
- Hide or show components
Hide or show components to reveal what is beneath them. You can also use the assembly files to check dimensions such as bolt sizes.
Use it
- Control the Robot with Asgard
Follow the control-software guide to set up Asgard and use it to move the robot.
Common problems
- Control code, coordinate conversion, firmware selection, and PWM setup are unclear. #46 #64 #74 #80
- Axis step settings and endstop operation are difficult to configure correctly. #78 #101
- Unclear servo power circuitry and PCB connector labels make wiring difficult. #76 #91
- Overheating, loosened pins, and flexing joints cause mechanical failures. #29 #31 #67
- Incorrect CAD dimensions and support-heavy geometry complicate printing. #68 #69
- Printer capacity and suitable printing materials lack clear documentation. #48 #93
- Bearings, rods, and pulleys mismatch, while internal parts are hard to service. #51 #53 #77 #105
- Project documentation and build data are incomplete or inaccessible. #41 #72 #95