Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains pin mappings for the stock 2021 Creality Ender 3
- # S1 & S1 Pro. To use this config, check the STM32 Chip on the
- # Mainboard, during "make menuconfig" select accordingly either the
- # STM32F103 with "28KiB bootloader" or the STM32F401 with
- # "64KiB bootloader" and serial (on USART1 PA10/PA9) for both.
- # For a direct serial connection, in "make menuconfig" select
- # "Enable extra low-level configuration options" and Serial
- # (on USART2 PA3/PA2), which is 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 filename
- # must be changed to "firmware.bin"
- # With STM32F401, you might need to put "firmware.bin" in a
- # folder on the SD card called "STM32F4_UPDATE" in order to flash.
- # See docs/Config_Reference.md for a description of parameters.
- [include macros/*.cfg]
- [respond]
- [virtual_sdcard]
- path: /home/seanc712/printer_data/gcodes
- [display_status]
- [pause_resume]
- [stepper_x]
- step_pin: PC2
- dir_pin: PB9
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA5
- position_endstop: -4.9
- position_max: 248
- position_min: -4.9
- homing_speed: 50
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA6
- position_endstop: -3.9
- position_max: 229
- position_min: -3.9
- homing_speed: 50
- [stepper_z]
- step_pin: PB6
- dir_pin: !PB5
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- position_max: 267
- position_min: -4
- [extruder]
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- gear_ratio: 42:12
- rotation_distance: 27.676950
- nozzle_diameter: 0.600
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- control: pid
- pid_Kp: 23.561
- pid_Ki: 1.208
- pid_Kd: 114.859
- min_temp: 0
- max_temp: 260 # Set to 300 for S1 Pro
- max_extrude_only_distance: 110
- [heater_bed]
- heater_pin: PA7
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- control: pid
- pid_Kp: 71.867
- pid_Ki: 1.536
- pid_Kd: 840.843
- min_temp: 0
- max_temp: 110 # Set to 110 for S1 Pro (100 for regular) - set to 110 after adding insulation
- [heater_fan hotend_fan]
- pin: PC0
- [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: 2000
- max_z_velocity: 5
- max_z_accel: 100
- [bltouch]
- sensor_pin: ^PC14
- control_pin: PC13
- x_offset: -46 #-31.8 default. Remeasured after new mount
- y_offset: 1.1 #-40.5 default. Remeasured after installing 0 offset Y nount
- #z_offset: 2.13
- z_offset: 0
- probe_with_touch_mode: true
- stow_on_each_sample: false
- #tbis didn't help, but save for later use:
- #samples: 3
- #samples_result: median
- #sample_retract_dist: 5.0
- #samples_tolerance: 0.01
- #samples_tolerance_retries: 3
- [bed_mesh]
- speed: 120
- mesh_min: 30, 30 #set this just to not be on absolute corner
- mesh_max: 200, 200
- probe_count: 10, 10
- algorithm: bicubic
- #[gcode_macro BED_MESH_CALIBRATE]
- #description: custom overwrite of the base BED_MESH_CALIBRATE function
- #rename_existing: BED_MESH_CALIBRATE_BASE
- #gcode:
- # BED_MESH_CLEAR
- # G28
- # BED_MESH_CALIBRATE_BASE {rawparams}
- [safe_z_home]
- home_xy_position: 147, 154
- speed: 75
- z_hop: 10
- z_hop_speed: 5
- move_to_previous: true
- [filament_switch_sensor e0_sensor]
- switch_pin: !PC15
- pause_on_runout: true
- runout_gcode: PAUSE
- [bed_screws]
- screw1: 20, 29
- screw2: 195, 29
- screw3: 195, 198
- screw4: 20, 198
- [screws_tilt_adjust] ##I HAD TO ADD THIS MYSELF. TOOK bed_screws and subracted probe offset
- screw1: 65, 29
- screw1_name: front left screw
- screw2: 240, 29
- screw2_name: front right screw
- screw3: 240, 198
- screw3_name: rear right screw
- screw4: 65, 198
- screw4_name: rear left screw
- horizontal_move_z: 5.
- speed: 50.
- screw_thread: CW-M4
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.002500, -0.007500, 0.000000, -0.007500, -0.032500, -0.042500, -0.010000, -0.015000, 0.015000, 0.010000
- #*# -0.020000, -0.022500, -0.020000, -0.030000, -0.042500, -0.077500, -0.035000, -0.020000, -0.010000, -0.012500
- #*# -0.025000, -0.030000, -0.025000, -0.032500, -0.052500, -0.087500, -0.047500, -0.032500, -0.027500, -0.025000
- #*# -0.065000, -0.052500, -0.047500, -0.050000, -0.067500, -0.092500, -0.047500, -0.032500, -0.025000, -0.012500
- #*# -0.012500, -0.007500, -0.002500, -0.015000, -0.040000, -0.067500, -0.035000, -0.025000, -0.022500, -0.022500
- #*# -0.007500, -0.005000, 0.000000, -0.015000, -0.035000, -0.065000, -0.037500, -0.027500, -0.025000, -0.022500
- #*# 0.020000, 0.010000, 0.020000, 0.002500, -0.020000, -0.047500, -0.020000, -0.012500, 0.000000, -0.005000
- #*# -0.002500, -0.002500, 0.010000, 0.005000, -0.017500, -0.035000, -0.012500, 0.000000, 0.005000, 0.015000
- #*# 0.030000, 0.035000, 0.032500, 0.020000, -0.007500, -0.035000, -0.007500, 0.010000, 0.002500, 0.007500
- #*# 0.032500, 0.027500, 0.035000, 0.027500, -0.002500, -0.030000, 0.012500, 0.015000, 0.020000, 0.030000
- #*# x_count = 10
- #*# y_count = 10
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 30.0
- #*# max_x = 199.92
- #*# min_y = 30.0
- #*# max_y = 199.92
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement