# This file contains common pin mappings for RAMPS (v1.3 and later) # boards. RAMPS boards typically use a firmware compiled for the AVR # atmega2560 (though other AVR chips are also possible). # See the example.cfg file for a description of available parameters. [mcu] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0 pin_map: arduino # The "zboard" micro-controller will be used to control the Z axis. [mcu zboard] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 pin_map: arduino # The "auxboard" micro-controller will be used to control the heaters. [mcu auxboard] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0 pin_map: arduino [tmc2130 stepper_x] cs_pin: ar53 microsteps: 16 run_current: .7 hold_current: .5 #stealthchop_threshold: 200 driver_SGT: 2 diag1_pin: ^!ar3 [stepper_x] step_pin: ar54 dir_pin: ar55 enable_pin: !ar38 step_distance: .0125 endstop_pin: tmc2130_stepper_x:virtual_endstop #endstop_pin: ^ar3 position_endstop: 0 position_max: 285 homing_speed: 50 [tmc2130 stepper_y] cs_pin: ar49 microsteps: 16 run_current: .7 hold_current: .5 #stealthchop_threshold: 200 driver_SGT: 2 diag1_pin: ^!ar14 [stepper_y] step_pin: ar60 dir_pin: ar61 enable_pin: !ar56 step_distance: .0125 endstop_pin: tmc2130_stepper_y:virtual_endstop #endstop_pin: ^ar14 position_endstop: -12 position_min: -12 position_max: 295 homing_speed: 50 [tmc2130 stepper_z] cs_pin: zboard:ar49 microsteps: 16 run_current: .7 hold_current: .4 #sense_resistor: 0.220 #interpolate: 1 #driver_SGT: 4 #diag1_pin: zboard:ar14 [stepper_z] step_pin: zboard:ar46 dir_pin: zboard:ar48 enable_pin: !zboard:ar62 step_distance: .0025 #endstop_pin: tmc2130_stepper_z:virtual_endstop endstop_pin: zboard:ar18 #endstop_pin: probe:z_virtual_endstop position_endstop: 1.9 position_max: 270 homing_stepper_phases: 64 homing_endstop_accuracy: 0.100 [probe] pin: !zboard:ar19 # Probe detection pin. This parameter must be provided. z_offset: 0.9 # The distance (in mm) between the bed and the nozzle when the probe # triggers. This parameter must be provided. #speed: 5.0 [tmc2130 stepper_z1] cs_pin: zboard:ar53 microsteps: 16 run_current: .7 hold_current: .4 [stepper_z1] step_pin: zboard:ar36 dir_pin: zboard:ar34 enable_pin: !zboard:ar30 step_distance: .0025 endstop_pin: zboard:ar15 [tmc2130 extruder] cs_pin: auxboard:ar53 microsteps: 16 run_current: 1 #sense_resistor: 0.220 #interpolate: 1 [extruder] step_pin: auxboard:ar26 dir_pin: !auxboard:ar28 enable_pin: !auxboard:ar24 #step_distance: .010526632 #step_distance: 0.00952380952381 step_distance: .0038598 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: auxboard:ar10 #sensor_type: EPCOS 100K B57560G104F sensor_type: NTC 100K beta 3950 sensor_pin: auxboard:analog13 control: pid pid_Kp=16.551 pid_Ki=0.628 pid_Kd=109.129 min_temp: 0 max_temp: 260 [heater_bed] heater_pin: auxboard:ar8 sensor_type: EPCOS 100K B57560G104F sensor_pin: auxboard:analog14 control: pid pid_Kp=60.403 pid_Ki=1.768 pid_Kd=515.957 min_temp: 0 max_temp: 130 [fan] pin: auxboard:ar9 [heater_fan extruder_fan] pin: zboard:ar9 max_power: 1.0 # The maximum power (expressed as a value from 0.0 to 1.0) that the # pin may be set to. The value 1.0 allows the pin to be set fully # enabled for extended periods, while a value of 0.5 would allow the # pin to be enabled for no more than half the time. This setting may # be used to limit the total power output (over extended periods) to # the fan. If this value is less than 1.0 then fan speed requests # will be scaled between zero and max_power (for example, if # max_power is .9 and a fan speed of 80% is requested then the fan # power will be set to 72%). The default is 1.0. #shutdown_speed: 0 # The desired fan speed (expressed as a value from 0.0 to 1.0) if # the micro-controller software enters an error state. The default # is 0. #cycle_time: 0.010 # The amount of time (in seconds) for each PWM power cycle to the # fan. It is recommended this be 10 milliseconds or greater when # using software based PWM. The default is 0.010 seconds. hardware_pwm: True # Enable this to use hardware PWM instead of software PWM. The # default is False. #kick_start_time: 0.100 # Time (in seconds) to run the fan at full speed when first enabling # it (helps get the fan spinning). The default is 0.100 seconds. # Bed tilt compensation. One may define a [bed_tilt] config section to # enable move transformations that account for a tilted bed. #[bed_tilt] #x_adjust: 0.000077 #y_adjust: 0.001920 # The remaining parameters control a BED_TILT_CALIBRATE extended # g-code command that may be used to calibrate appropriate x and y # adjustment parameters. #points: # 0,0 # 260,0 # 0,210 # 260,210 # A newline separated list of X,Y points that should be probed # during a BED_TILT_CALIBRATE command. The default is to not enable # the command. #speed: 120 # The speed (in mm/s) of non-probing moves during the # calibration. The default is 50. #horizontal_move_z: 5 # The height (in mm) that the head should be commanded to move to # just prior to starting a probe operation. The default is 5. #manual_probe: # If true, then BED_TILT_CALIBRATE will perform manual probing. If # false, then a PROBE command will be run at each probe # point. Manual probing is accomplished by manually jogging the Z # position of the print head at each probe point and then issuing a # NEXT extended g-code command to record the position at that # point. The default is false if a [probe] config section is present # and true otherwise. # Mesh Bed Leveling. One may define a [bed_mesh] config section # to enable move transformations that offset the z axis based # on a mesh generated from probed points. Note that bed_mesh # and bed_tilt are incompatible, both cannot be defined. [bed_mesh] speed: 150 # The speed (in mm/s) of non-probing moves during the # calibration. The default is 50. #horizontal_move_z: 5 # The height (in mm) that the head should be commanded to move to # just prior to starting a probe operation. The default is 5. #probe_offset: 25,75 # An X,Y point defining the probe's offset relative to the nozzle. # This parameter must be provided. min_point: 0,0 # An X,Y point defining the minimum coordinate to probe on # the bed. Note that this refers to the nozzle position, # and take care that you do not define a point that will move # the probe off of the bed. This parameter must be provided. max_point: 260,210 # An X,Y point defining the maximum coordinate to probe on # the bed. Follow the same precautions as listed in min_point. # Also note that this does not necessarily define the last point # probed, only the maximum coordinate. This parameter must be provided. probe_count: 5,5 # A comma separated pair of integer values (X,Y) defining the number # of points to probe along each axis. A single value is also valid, # in which case that value will be for both axes. Default is 3,3 # which probes a 3x3 grid. #fade_start: 1.0 # The z-axis position in which to start phasing z-adjustment out. # Default is 1.0. #fade_end: 10.0 # The z-axis position in which phase out is complete. If this # value is less than or equal to fade_start then phasing out # is disabled. Default is 10.0. #split_delta_z: .025 # The amount of Z difference (in mm) along a move that will # trigger a split. Default is .025. #move_check_distance: 5.0 # The distance (in mm) along a move to check for split_delta_z. # This is also the minimum length that a move can be split. Default # is 5.0. #mesh_pps: 2,2 # A comma separated pair of integers (X,Y) defining the number of # points per segment to interpolate in the mesh along each axis. A # "segment" can be defined as the space between each probed # point. The user may enter a single value which will be applied # to both axes. Default is 2,2. #algorithm: lagrange # The interpolation algorthm to use. May be either "langrange" # or "bicubic". This option will not affect 3x3 grids, which # are forced to use lagrange sampling. Default is lagrange. #bicubic_tension: .2 # When using the bicubic algoritm the tension parameter above # may be applied to change the amount of slope interpolated. # Larger numbers will increase the amount of slope, which # results in more curvature in the mesh. Default is .2. # Multiple Z stepper tilt adjustment. This feature enables independent # adjustment of multiple z steppers (see stepper_z1 section below) to # adjust for tilt. If this section is present then a Z_TILT_ADJUST # extended G-Code command becomes available. [z_tilt] z_positions: 285,90 0,90 # A newline separated list of X,Y coordinates describing the # location of each Z stepper. The first entry corresponds to # stepper_z, the second to stepper_z1, the third to stepper_z2, # etc. This parameter must be provided. points: 0,0 0,90 0,200 260,200 260,90 260,0 # A newline separated list of X,Y points that should be probed # during a Z_TILT_ADJUST command. This parameter must be provided. speed: 120 # The speed (in mm/s) of non-probing moves during the calibration. # The default is 50. #horizontal_move_z: 5 # The height (in mm) that the head should be commanded to move to # just prior to starting a probe operation. The default is 5. #[homing_override] #gcode: # G28 X0 Y0 # G1 X100 F3600 # G1 Y100 F3600 # G28 Z0 # A list of G-Code commands (one per line) to execute in place of # G28 commands found in the normal g-code input. If a G28 is # contained in this list of commands then it will invoke the normal # homing procedure for the printer. The commands listed here must # home all axes. This parameter must be provided. #axes: z # The axes to override. For example, if this is set to "z" then the # override script will only be run when the z axis is homed (eg, via # a "G28" or "G28 Z0" command). Note, the override script should # still home all axes. The default is "xyz" which causes the # override script to be run in place of all G28 commands. #set_position_x: #set_position_y: #set_position_z: # If specified, the printer will assume the axis is at the specified # position prior to running the above g-code commands. Setting this # disables homing checks for that axis. This may be useful if the # head must move prior to invoking the normal G28 mechanism for an # axis. The default is to not force a position for an axis. # Temperature-triggered cooling fans (one may define any number of # sections with a "temperature_fan" prefix). A "temperature fan" is a # fan that will be enabled whenever its associated sensor is above a # set temperature. By default, a temperature_fan has a shutdown_speed # equal to max_power. [temperature_fan xy_stepper_fan] pin: ar10 max_power: 1.0 #shutdown_speed: #cycle_time: hardware_pwm: true #kick_start_time: # See the "fan" section in example.cfg for a description of the # above parameters. sensor_type: NTC 100K beta 3950 sensor_pin: analog13 # See the "heater" section for details about the sensor_type and # sensor_pin parameters. min_temp: 0 max_temp: 120 target_temp: 40.0 # A temperature (in Celsius) that will be the target temperature. # The default is 40 degrees. max_speed: 0.5 # The fan speed (expressed as a value from 0.0 to 1.0) that the fan # will be set to when the sensor temperature exceeds the set value. # The default is 1.0. min_speed: 0.3 # The minimum fan speed (expressed as a value from 0.0 to 1.0) that # the fan will be set to when the sensor temperature is the set # value. The default is 0.3. control: watermark # Control algorithm (either watermark or pid). This parameter must # be provided. [temperature_fan z_stepper_fan] pin: ar9 max_power: 1.0 #shutdown_speed: #cycle_time: hardware_pwm: true #kick_start_time: # See the "fan" section in example.cfg for a description of the # above parameters. sensor_type: NTC 100K beta 3950 sensor_pin: analog14 # See the "heater" section for details about the sensor_type and # sensor_pin parameters. min_temp: 0 max_temp: 120 target_temp: 40.0 # A temperature (in Celsius) that will be the target temperature. # The default is 40 degrees. max_speed: 0.5 # The fan speed (expressed as a value from 0.0 to 1.0) that the fan # will be set to when the sensor temperature exceeds the set value. # The default is 1.0. min_speed: 0.3 # The minimum fan speed (expressed as a value from 0.0 to 1.0) that # the fan will be set to when the sensor temperature is the set # value. The default is 0.3. control: watermark [printer] kinematics: corexy max_velocity: 300 max_accel: 3000 max_z_velocity: 25 max_z_accel: 30 # "RepRapDiscount 2004 Smart Controller" type displays #[display] #lcd_type: hd44780 #rs_pin: ar16 #e_pin: ar17 #d4_pin: ar23 #d5_pin: ar25 #d6_pin: ar27 #d7_pin: ar29 # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays #[display] #lcd_type: st7920 #cs_pin: ar16 #sclk_pin: ar23 #sid_pin: ar17