Created
August 14, 2023 11:15
-
-
Save x86-39/010f97a1115370936a9af776464b56c0 to your computer and use it in GitHub Desktop.
3D printer configs
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 pin mappings for the stock 2020 Creality Ender 3 | |
# V2. To use this config, during "make menuconfig" select the | |
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9) | |
# communication. | |
# If you prefer a direct serial connection, in "make menuconfig" | |
# select "Enable extra low-level configuration options" and select | |
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
# cable used for the LCD module as follows: | |
# 3: Tx, 4: Rx, 9: GND, 10: VCC | |
# Flash this firmware by copying "out/klipper.bin" to a SD card and | |
# turning on the printer with the card inserted. The firmware | |
# filename must end in ".bin" and must not match the last filename | |
# that was flashed. | |
# See docs/Config_Reference.md for a description of parameters. | |
[include mainsail.cfg] | |
[include timelapse.cfg] | |
[stepper_x] | |
step_pin: PB9 | |
dir_pin: PC2 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PA5 | |
position_endstop: -10 | |
position_min: -15 | |
position_max: 210 | |
homing_speed: 75 | |
[stepper_y] | |
step_pin: PB7 | |
dir_pin: PB8 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PA6 | |
position_endstop: -10 | |
position_min: -15 | |
position_max: 220 | |
homing_speed: 75 | |
[stepper_z] | |
step_pin: PB5 | |
dir_pin: !PB6 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 8 | |
endstop_pin: probe:z_virtual_endstop | |
#position_endstop: 0.0 | |
position_min: -5 | |
position_max: 250 | |
[extruder] | |
max_extrude_only_distance: 100.0 | |
step_pin: PB3 | |
dir_pin: PB4 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 7.531 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PA1 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PC5 | |
control: pid | |
# tuned for stock hardware with 200 degree Celsius target | |
pid_Kp: 21.527 | |
pid_Ki: 1.063 | |
pid_Kd: 108.982 | |
min_temp: 0 | |
max_temp: 300 | |
[heater_bed] | |
heater_pin: PA2 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PC4 | |
control: pid | |
# tuned for stock hardware with 50 degree Celsius target | |
pid_Kp: 54.027 | |
pid_Ki: 0.770 | |
pid_Kd: 948.182 | |
min_temp: 0 | |
max_temp: 130 | |
[fan] | |
pin: PA0 | |
[mcu] | |
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 | |
restart_method: command | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3000 | |
max_z_velocity: 5 | |
max_z_accel: 100 | |
[bltouch] | |
sensor_pin: ^PROBE_IN | |
control_pin: PROBE_OUT | |
x_offset: -35 | |
y_offset: -45 | |
z_offset: 3.65 | |
probe_with_touch_mode: true | |
stow_on_each_sample: false | |
[bed_mesh] | |
speed: 150 | |
mesh_min: 5, 5 | |
mesh_max: 175, 175 | |
probe_count: 5,5 | |
algorithm: bicubic | |
[safe_z_home] | |
home_xy_position: 137.5,157.5 | |
speed: 75 | |
z_hop: 10 | |
z_hop_speed: 5 | |
###################################################################### | |
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay | |
###################################################################### | |
# This section is used for a Creality "12864" display with a single | |
# ribbon cable between the display's EXP3 plug and the | |
# micro-controller board's EXP1 connector. | |
[display] | |
lcd_type: st7920 | |
cs_pin: EXP1_7 | |
sclk_pin: EXP1_6 | |
sid_pin: EXP1_8 | |
encoder_pins: ^EXP1_5, ^EXP1_3 | |
click_pin: ^!EXP1_2 | |
[display_status] | |
[output_pin beeper] | |
pin: EXP1_1 | |
[board_pins] | |
aliases: | |
EXP1_1=PC6,EXP1_3=PB10,EXP1_5=PB14,EXP1_7=PB12,EXP1_9=<GND>, | |
EXP1_2=PB2,EXP1_4=PB11,EXP1_6=PB13,EXP1_8=PB15,EXP1_10=<5V>, | |
PROBE_IN=PB1,PROBE_OUT=PB0,FIL_RUNOUT=PC6 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment