Created
February 11, 2018 11:28
-
-
Save psy0rz/a3617de4218a183f58d7e3e6f3e3bf00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains common pin mappings for the 2017 Creality | |
# CR-10. To use this config, the firmware should be compiled for the | |
# AVR atmega1284p. | |
# Note, a number of Melzi boards are shipped without a bootloader. In | |
# that case, an external programmer will be needed to flash a | |
# bootloader to the board (for example, see | |
# http://www.instructables.com/id/Flashing-a-Bootloader-to-the-CR-10/ | |
# ). Once that is done, one should be able to use the standard "make | |
# flash" command to flash Klipper. | |
# See the example.cfg file for a description of available parameters. | |
[stepper_x] | |
step_pin: PD7 | |
dir_pin: !PC5 | |
enable_pin: !PD6 | |
step_distance: .0125 | |
endstop_pin: ^PC2 | |
position_endstop: 0 | |
position_max: 300 | |
homing_speed: 50 | |
[stepper_y] | |
step_pin: PC6 | |
dir_pin: !PC7 | |
enable_pin: !PD6 | |
step_distance: .0125 | |
endstop_pin: ^PC3 | |
position_endstop: 0 | |
position_max: 300 | |
homing_speed: 50 | |
[stepper_z] | |
step_pin: PB3 | |
dir_pin: PB2 | |
enable_pin: !PA5 | |
step_distance: 0.0025 | |
#endstop_pin: ^!PC4 | |
endstop_pin: probe:z_virtual_endstop | |
position_endstop: 2.5 | |
position_max: 400 | |
[extruder] | |
step_pin: PB1 | |
dir_pin: !PB0 | |
enable_pin: !PD6 | |
#step_distance: 0.010526 | |
step_distance: 0.01 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PD5 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA7 | |
control: pid | |
pid_Kp: 22.57 | |
pid_Ki: 1.72 | |
pid_Kd: 73.96 | |
min_temp: 0 | |
max_temp: 250 | |
pressure_advance_lookahead_time: 0.010 | |
pressure_advance: 1.2 | |
[heater_bed] | |
heater_pin: PD4 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA6 | |
control: pid | |
pid_Kp: 426.68 | |
pid_Ki: 78.92 | |
pid_Kd: 576.71 | |
min_temp: 0 | |
max_temp: 130 | |
[fan] | |
pin: PB4 | |
[mcu] | |
serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0 | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 1200 | |
max_z_velocity: 5 | |
max_z_accel: 100 | |
[probe] | |
pin: ^!PC4 | |
#activate_gcode: | |
# G0 X100 Y100 F6000 | |
[homing_override] | |
gcode: | |
G28 X0 Y0 | |
G0 X197 Y160 F6000 | |
G28 Z0 | |
#set_position_y: 160 | |
#set_position_x: 197 | |
# 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.003446 | |
# The amount to add to each move's Z height for each mm on the X | |
# axis. The default is 0. | |
y_adjust: -0.000183 | |
# The amount to add to each move's Z height for each mm on the Y | |
# axis. The default is 0. | |
# 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: | |
97,60 | |
97,160 | |
97,260 | |
197,260 | |
197,160 | |
197,60 | |
297,60 | |
297,160 | |
297,260 | |
# 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: 50 | |
# 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_z_offset: 2.5 | |
# The Z height (in mm) of the head when the probe triggers. The | |
# default is 0. | |
manual_probe: false | |
# 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. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment