Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
from-marlin [2021/01/08 15:57]
127.0.0.1 external edit
from-marlin [2021/02/22 17:50] (current)
Line 25: Line 25:
 When talking to your Smoothieboard over the UART port, you have to set the baud rate. In Marlin that is done with :  When talking to your Smoothieboard over the UART port, you have to set the baud rate. In Marlin that is done with : 
  
-<code>+<code cpp>
 #define BAUDRATE 115200 #define BAUDRATE 115200
 </code> </code>
Line 39: Line 39:
 In Marlin, you define the number of extruders by changing this value :  In Marlin, you define the number of extruders by changing this value : 
  
-<code>+<code cpp>
 #define EXTRUDERS 1 #define EXTRUDERS 1
 </code> </code>
Line 51: Line 51:
 If you have multiple extruders but a single nozzle, in Marlin you set the following value :  If you have multiple extruders but a single nozzle, in Marlin you set the following value : 
  
-<code>+<code cpp>
 #define SINGLENOZZLE #define SINGLENOZZLE
 </code> </code>
Line 61: Line 61:
 If you have multiple nozzles, you need to tell your firmware where they are located relative to each other, in Marlin you do :  If you have multiple nozzles, you need to tell your firmware where they are located relative to each other, in Marlin you do : 
  
-<code>+<code cpp>
 //#define HOTEND_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis //#define HOTEND_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis
 //#define HOTEND_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis //#define HOTEND_OFFSET_Y {0.0, 5.00}  // (in mm) for each extruder, offset of the hotend on the Y axis
Line 90: Line 90:
 In Marlin, you tell Marlin you want to control a power supply by doing :  In Marlin, you tell Marlin you want to control a power supply by doing : 
  
-<code>+<code cpp>
 #define POWER_SUPPLY 1 #define POWER_SUPPLY 1
 </code> </code>
Line 114: Line 114:
 In Marlin, you associate the number of a thermistor type with a given thermistor input :  In Marlin, you associate the number of a thermistor type with a given thermistor input : 
  
-<code>+<code cpp>
 #define TEMP_SENSOR_0 5 #define TEMP_SENSOR_0 5
 #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_1 0
Line 138: Line 138:
 In Marlin, you set the PID parameters for the hotend this way :  In Marlin, you set the PID parameters for the hotend this way : 
  
-<code>+<code cpp>
   #define  DEFAULT_Kp 22.2   #define  DEFAULT_Kp 22.2
   #define  DEFAULT_Ki 1.08   #define  DEFAULT_Ki 1.08
Line 158: Line 158:
 In Marlin, you change kinematics by uncommenting one of the following lines :  In Marlin, you change kinematics by uncommenting one of the following lines : 
  
-<code>+<code cpp>
 //#define COREXY //#define COREXY
 //#define COREXZ //#define COREXZ
Line 190: Line 190:
 In Marlin, you choose which endstops are activated and which are not by changing these values :  In Marlin, you choose which endstops are activated and which are not by changing these values : 
  
-<code>+<code cpp>
 #define USE_XMIN_PLUG #define USE_XMIN_PLUG
 #define USE_YMIN_PLUG #define USE_YMIN_PLUG
Line 221: Line 221:
 In Marlin you set the pull-up of an endstop by changing :  In Marlin you set the pull-up of an endstop by changing : 
  
-<code>+<code cpp>
  
 #define ENDSTOPPULLUPS #define ENDSTOPPULLUPS
Line 244: Line 244:
 In Marlin you invert an endstop by changing :  In Marlin you invert an endstop by changing : 
  
-<code>+<code cpp>
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
 #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
Line 261: Line 261:
 In Marlin, you change the homing speed by modifying :  In Marlin, you change the homing speed by modifying : 
  
-<code>+<code cpp>
 // Homing speeds (mm/m) // Homing speeds (mm/m)
 #define HOMING_FEEDRATE_XY (50*60) #define HOMING_FEEDRATE_XY (50*60)
Line 285: Line 285:
 In Marlin, you set the steps per millimeters for each axis by changing :  In Marlin, you set the steps per millimeters for each axis by changing : 
  
-<code>+<code cpp>
 /** /**
  * Default Axis Steps Per Unit (steps/mm)  * Default Axis Steps Per Unit (steps/mm)
  * Override with M92  * Override with M92
-                                      X, Y, Z, E0 [, E1[, E2[, E3]]]+                                      X, Y, Z, E0 [[,|E1[[,|E2[, E3]]]]]
  */  */
 #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 500 } #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 500 }
Line 316: Line 316:
 In Marlin, you set the maximum feed rates ( speeds ) by changing :  In Marlin, you set the maximum feed rates ( speeds ) by changing : 
  
-<code>+<code cpp>
 /** /**
  * Default Max Feed Rate (mm/s)  * Default Max Feed Rate (mm/s)
  * Override with M203  * Override with M203
-                                      X, Y, Z, E0 [, E1[, E2[, E3]]]+                                      X, Y, Z, E0 [[,|E1[[,|E2[, E3]]]]]
  */  */
 #define DEFAULT_MAX_FEEDRATE { 500, 500, 2.25, 45 } #define DEFAULT_MAX_FEEDRATE { 500, 500, 2.25, 45 }
Line 362: Line 362:
 In Marlin you set the acceleration for each axis by doing :  In Marlin you set the acceleration for each axis by doing : 
  
-<code>+<code cpp>
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 } #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
 </code> </code>
Line 378: Line 378:
 In Marlin, you set how hard axes can accelerate and decelerate at direction changes by modifying :  In Marlin, you set how hard axes can accelerate and decelerate at direction changes by modifying : 
  
-<code>+<code cpp>
 /** /**
  * Default Jerk (mm/s)  * Default Jerk (mm/s)
Line 412: Line 412:
 In Marlin, you change the direction of an axis by modifying :  In Marlin, you change the direction of an axis by modifying : 
  
-<code>+<code cpp>
 #define INVERT_X_DIR true #define INVERT_X_DIR true
 #define INVERT_Y_DIR false #define INVERT_Y_DIR false
Line 453: Line 453:
 In Marlin, you change whether an axis is homed to min or homed to max by modifying :  In Marlin, you change whether an axis is homed to min or homed to max by modifying : 
  
-<code>+<code cpp>
 #define X_HOME_DIR -1 #define X_HOME_DIR -1
 #define Y_HOME_DIR -1 #define Y_HOME_DIR -1
Line 475: Line 475:
 In Marlin, you configure this sensor by doing :  In Marlin, you configure this sensor by doing : 
  
-<code>+<code cpp>
 //#define FILAMENT_RUNOUT_SENSOR //#define FILAMENT_RUNOUT_SENSOR
 #if ENABLED(FILAMENT_RUNOUT_SENSOR) #if ENABLED(FILAMENT_RUNOUT_SENSOR)
Line 490: Line 490:
 In Marlin, you use options such as :  In Marlin, you use options such as : 
  
-<code>+<code cpp>
 //#define MESH_BED_LEVELING //#define MESH_BED_LEVELING
 </code> </code>
Line 500: Line 500:
 Marlin allows you to home to the center of the machine by doing :  Marlin allows you to home to the center of the machine by doing : 
  
-<code>+<code cpp>
 //#define BED_CENTER_AT_0_0 //#define BED_CENTER_AT_0_0
 </code> </code>