Introduction: Using Repetier Host to Set Up Your Auto-Leveling Probe and Create Your First Print With Delta Rostock Mini

About: think what to print and print what you think---Geeetech

Today we will share how to use Repetier Host to Set Up Your AutoLeveling Probe and Create Your First Print with Delta rostock mini

Step 1: Connect the USB to Your Rostock Mini G2 or G2s and Power It Up. You Can See the LED Lights and Fan Come to Life, You May Be Able to Hear the Motors Idling.

Step 2: Open Repetier Host and Ensure That You Have a Valid Port Selected for Communications. to Do This Simply, Click “Printer Settings” in the Upper Right-hand Corner to Bring Up the Printer Settings Menu.

Step 3: Choose the Connection Menu to Select the COM6 Port and the Baud Rate 250000. Click OK to Continue.

If you can not fond the COM port, click “refresh ports” and see if it appears. (It is usually the last one; you can check the device manager to see which port it is). PS: if you still cannot find the port, please re -install your USB driver.

Step 4: Choose Printer Shape. This Is Very Important. Choose Printer Type As Rostock Printer(circular Shape)

Home X: 0

Home Y: 0

Home Z: Max

Printer Radius: 100mm

Printable height: 210mm

Step 5: Hit "connect" in the Upper Left-hand Corner. You Should See the Details of the Connection in the Console Window in the Bottom Section of the Screen.

Step 6: Go to the Manual Control and Click the Home Icon.

Step 7: Set Bed Shape

in the latest version of Slic3r,V1.2.7, you can set the bed shape, this is very important when printing with your delta rostock mini. go to general manual, click set button, choose circular and fill in the diameter of the printer bed.

if your slic3r is not the latest version, you can update or download it here, unzip the file and drag them into the directory of your previour slic3r directory. do please delete the old version. Restart your Repetier and continue.

Step 8: Start G29 Command

Thoughg we have added an auto-leveling probe for the Rostock mini, but generally there is no G-gode in the sli3er, so we need to add the G29 command to the sli3er.

Step1. Start G29 command in Slic3r. Click Slicer and configure, waiting for a minute till the slicer window prompt up.

Step2. Choose printer setting-- Custom G-code.
You can see from the start G-code, there is no G29.

So you need to add the G29 after G28 to start it. And change Z5 into Z50.

Save the current printing setting, click “OK” to continue.

In case any cratch caused to your print bed, do not rush to test the auto-leveling command right now.

Step 9: Adjust the Printing Bed Put a Level Meter on the Bed When Adjusting the 3 Screws of the Bed to Check If It Is Level.

Step 10: Adjust Endstop. Step1. First You Need to Tighten the Screw for Each Endstop, Make Sure They Reach As Long As Possibl.

the screw on these 3 carridges.

Step 11: Set 3 Probing Points (0,50)、(43.3,-25)、(-43.3,-25), Using G-code Command to Adjust the Print Head to the 3 Points and Record the Distance Between the Nozzle and the Print Surface Separately.

1)send command: G0 X0 Y50 Z2, record the distance;e.g. it is 3mm in my case.

2)send command: G0 X43.3 Y-25 Z2, record the distance;e.g. it is 2.7mm in my case.

3)send G 0 X-43.3 Y-25 Z2, record the distance;e.g. it is 2.2mm in my case.

If the 3 numbers differ too much, you can manually move down the print head until the nozzle just hit the print bed, and screw the endstop screw tightly, if the screw has no room to adjust, you need to change the following setting later, record it. E.g. Change 213.5 into 214

455 #define MANUAL_Z_HOME_POS 214

3. Adjust the distance between the nozzle and the print surface, keep the center point and its around point in one plain.


If the nozzle touches the center point but not the around points, you should reduce the DELTA_RADIUS

If the nozzle touches the around points but not the center point, you should increase the DELTA_RADIUS

You may have to adjust this for many times to keep the center point and its around point in one plain. (the distance between the nozzle and the print bed).

Step 12: Modify the Firmware of Delta

We have pre-loaded the firmware to GT2560 before shipping, but as this is a DIY printer, there may be some subtle difference between each printer, so you need to modify the firmware to fit your exact printer for better printing effect.

1. Download the firmware here. And unzip the zip/rar file.
2. Open Arduino IDE. ( If you do not have Arduino IDE, you can download here.)

3. Drag all the files into Arduino IDE.

4. Click Configuration.h and find out Delta Settings

#define DELTA and modify the values as below.

Please pay close attention to the red numbers.

// Make delta curves from many straight lines (linear interpolation).
// This is a trade-off between visible corners (not enough segments)

// and processor overload (too many expensive sqrt calls).


110 #define DELTA_DIAGONAL_ROD 186【1】

113 #define DELTA_SMOOTH_ROD_OFFSET 160.0 【2】

116 #define DELTA_EFFECTOR_OFFSET 34.0【3】

119 #define DELTA_CARRIAGE_OFFSET 25.0【4】

* To help you better understand the 4 values, you can refer to the scheme.

// Horizontal distance bridged by diagonal push rods when effector is centered.


// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).

// use the Z-min, if you connect a mechanical endswitch between Com and NO pins, you do not have to change the setting for the Z-min, however, if you connect it between Com and NC pins, you should change false into true.

322 const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
323 const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

324 const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

325 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

326 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

327 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

// Travel limits after homing





370 #define Z_MIN_POS 0

//these are the positions on the bed to do the probing,the probe positing should not be beyond the printable radius.





//these are the offsets to the probe relative to the extruder tip (Hotend - Probe), these values are very important, especially the Z_PROBE_OFFSET. You can calculate the Z_PROBE_OFFSET values with this procedure:

Manual y Move the print head down slowly, place the probe at the center of the print bed. When you hear the trigger of the endstop, you can get the coordinate on the LCD or on the Repetier host. In my case, it is 【-20.35,11.75,0.3】, you can add it to the following settings.



398 #define Z_RAISE_BEFORE_PROBING 100 //How much the extruder will be raised before traveling to the first probing point.
399 #define Z_RAISE_BETWEEN_PROBINGS 10 //How much the extruder will be raised when traveling from between next probing points

// with accurate bed leveling, the bed is sampled in a ACCURATE_BED_LEVELING_POINTSxACCURATE_BED_LEVELING_POINTS grid and least squares solution is calculated
// Note: this feature occupies 10'206 byte 431 #define ACCURATE_BED_LEVELING_POINTS 4

// For delta: Distance between nozzle and print surface after homing.
455 #define MANUAL_Z_HOME_POS 214

Till now, you have finished the edit of the firmware, then, you need to upload the modified firmware into your control board. For those not mentioned just leave them as default.

5.Uploard firmware Choose board type.

6.Choose serial port (if you cannot find the serial port, please check the connection of your printer to your computer.)

7.Load in the file you need to burn, Click the “” button to check if it is right and then click the “” button to upload.

8.Upon uploading, the LED indicator corresponding to the TX, RX and L on the GT2560 will blink, if they stop blinking, it means the file has been uploaded successfully.
9.After uploading, you can go on to the next step. If you cannot upload, check the dialog box below to identify the problem and solve it. The common mistakes are the wrong select of type of board or serial port etc.

Step 13: Verify Code

1. verify the endstop Before you risk any damage, you should test if you have configured the z-probe correctly. Send the command M119 to verify the endstop first.

* x_max,y_max,z_max is for the endstop:
if the endstop is triggered, the feedback is Triggered;

If the endstop is not triggered, the feedback is Open.

z_min is for the probe:

When probe is put down, the feedback is Open;

When probe is hooked up, the feedback is Triggered;

2. Verify Homing Send G28 or click the home icon to homing the printer.

You will see the X/Y/Z raise up till they hit the endstops.

Then they will move down a bit and hit the endstops again before they stop (that is to increase the printing precision).

Trouble shooting: The axis did not stop after hitting the endstops.

Please check if the wire connection of the endstops of X/Y/Z axis matches.

Note: unlike other machines, the origin here is not (0,0,0) but (0,0,MANUAL_Z_HOME_POS)

3. Get the present coordinates Send M114 command to get the present coordinates after homing, you can get


This is the distance between nozzle and print surface after homing.

Step 14: Calibration of Auto-leveling

Auto-leveling probe is controlled by G29 command. As this is a DIY 3d printer, you may need to help it complete the leveling:

1.You need to put down the auto-leveling probe manualy.

2.Send G29 command probe will probe the 3 pre-setted probing points. After probing, the print head will raise up a bit and stop.
4.Hook up the probe manualy.

as this calibration needs to be done several time before you can start printing, you can refer to this guide.
1.Manualy put down the probe, then send M119 command to check if the Z-min is open.

2.Send G28 command to auto home the printer.

3.Send G29 command to start the auto-leveling. *there might be collisions, please always be ready to cut off the power supply.

4.After sending G29, the printing head will move down, and hit the probe point setted, after the probing, the printing head will go up.

5.After the leveling, the printing head will raise up and stop, meaning the leveling is finished. You should have the probe back (as the spring on the probe is a bit tight, to make it easier, you can use your finger to push up the probe).

6.Send G1X0 Y0 command to move the printing head to(0,0).

7.Click -Z icon on manual control to move the print head down until it touches the print bed just enough. Send M114 command to get the present coordinates. If the coordinate is (0,0,0), the auto-leveling is successful. If not, you need to modify the Z_PROBE_OFFSET_FROM_EXTRUDER , e.g. Reduce -0.3 to -0.5, and then re-upload the firmware and test again.

8.You may have to test it for more than once, but for the sake of better printing object,please be patient.

9.Once auto-leveling is set up, Hook up the probe manualy. Then you can print your first prints.

Here is theThe Delta Rostock mini G2 to buy links

For detailed information, please refer to wiki.