Site Tools


3dp:marlin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
3dp:marlin [2026-05-14 Thu 23:36] theorytoe3dp:marlin [2026-06-28 Sun 20:08] (current) theorytoe
Line 1: Line 1:
 ====== Marlin Setup with New/Custom Printer ====== ====== Marlin Setup with New/Custom Printer ======
  
-After jerry-rigging an old i3 to work with a spare e3 mainboard, I have a lot of very useful information on setting u+After jerry-rigging an old i3 to work with a spare e3 mainboard, I have a lot of very useful information on setting up
 a marlin printer from scratch. Firstly, you want to make sure all the hardware is configured correctly and wired properly. a marlin printer from scratch. Firstly, you want to make sure all the hardware is configured correctly and wired properly.
 This is mainboard-dependent, so make sure you reference relevant documentation for your mainboard of choice. This is mainboard-dependent, so make sure you reference relevant documentation for your mainboard of choice.
Line 14: Line 14:
   - Install vscode (ew) and make sure you have the following extensions installed:   - Install vscode (ew) and make sure you have the following extensions installed:
     * [[https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide|Patformio]]     * [[https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide|Patformio]]
-    * [[https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide|Auto Build Marlin]]+    * [[https://marketplace.visualstudio.com/items?itemName=MarlinFirmware.auto-build|Auto Build Marlin]]
   - Clone the repo then open in vscode   - Clone the repo then open in vscode
   - Open Auto Build Marlin   - Open Auto Build Marlin
Line 24: Line 24:
 ===== Configuring Marlin ===== ===== Configuring Marlin =====
  
-The following is a list of steps to take when setting up the configuration for your printer. Generally speaking if you have any calibrated values (i.e. extruder Esteps, hotend/bed PID parameters) you should get the values and then edit the ones in firmware so that your calibrated values are the defaults. There also may be need for post-firmware configuration (such as home offsets and zprobe offsets). The following is a general list of stuff to setup and make sure are present (I would hope the printer you are targeting has most of these features).+The following is a list of steps to take when setting up the configuration for your printer. Generally speaking if you have any calibrated values (i.e. extruder Esteps, hotend/bed PID parameters) you should get the values from the current firmware (ie ''M503''and then edit the ones in the new firmware build so that your calibrated values are the defaults. There also may be need for post-firmware configuration (such as home offsets and zprobe offsets). The following is a general list of stuff to setup and make sure are present (I would hope the printer you are targeting has most of these features).
  
 At a baseline, identify the following characteristics of the printer and change the configs to match: At a baseline, identify the following characteristics of the printer and change the configs to match:
Line 38: Line 38:
 Generally speaking, if you are running some commercially-available board, there will be a configuration in the examples on the marlin repository. If you are running a custom mainboard, why are you reading this?. Generally speaking, if you are running some commercially-available board, there will be a configuration in the examples on the marlin repository. If you are running a custom mainboard, why are you reading this?.
  
-Configuration Checklist:+Configuration Checklist (reference marlin docs for additional prose):
  
   - Motion System:   - Motion System:
Line 65: Line 65:
     * Bilinear vs UBL     * Bilinear vs UBL
     * min 3x3 grid, 2 probes per pt (2nd slowed, grid ideally is 5x5)     * min 3x3 grid, 2 probes per pt (2nd slowed, grid ideally is 5x5)
 +    * set ''PROBING_MARGIN'' to some value to offset the probe from bed edges
   - Miscellaneous Items   - Miscellaneous Items
     * SD Card Reader Functionality     * SD Card Reader Functionality
Line 81: Line 82:
  
 Base your default process template off a similar printer build. In the case of the i3, I could base it off any of the i3-style printers in Orca. I chose to base it off of what was working on my ender 3. Print both the Voron Cube and Benchy for a robust cover of most print moves/orientations. Base your default process template off a similar printer build. In the case of the i3, I could base it off any of the i3-style printers in Orca. I chose to base it off of what was working on my ender 3. Print both the Voron Cube and Benchy for a robust cover of most print moves/orientations.
 +
 +==== Start gcode suggestions ====
 +
 +If you have a probe that has temperature sensitivity (ie pinda v1/v2) you may want to home before configuring z offest or get within the ballpark then adjust with babystepping with a test print.
 +
 +Heating Sequence
 +<code gcode>
 +G1 Y1.0 Z3 F1000                    ; move print head up
 +M104 S[first_layer_temperature]     ; set extruder temp
 +M140 S[first_layer_bed_temperature] ; set bed temp
 +G1 X0 Y0 F1000                      ; move to orgin
 +G0 Z100 F1000                       ; Move head up for heating
 +M190 S[first_layer_bed_temperature] ; wait for bed temp
 +M109 S[first_layer_temperature]     ; wait for extruder temp
 +G1 Z0.3 F1000                       ; move back down
 +G92 E0.0
 +G1 Y1.0 Z0.3 F1000                  ; move to neutral pos
 +</code>
 +
  
 ===== Post-Setup Tuning / Firmware Adjustments ===== ===== Post-Setup Tuning / Firmware Adjustments =====
  
   * Printer frame skew: you can use [[https://github.com/tomasstolker/calistar|calistar]] to compensate for frame skew if you demand high dimensional accuracy. Marlin will have options to add this information for compensation.   * Printer frame skew: you can use [[https://github.com/tomasstolker/calistar|calistar]] to compensate for frame skew if you demand high dimensional accuracy. Marlin will have options to add this information for compensation.
3dp/marlin.1778801801.txt.gz · Last modified: by theorytoe