Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------------------------------------------------------------
- # ____ _ __ __ ____
- # / __ \___ ___ ___ / |/ /__ ___ / /_/ / /__ _____ ___
- # / /_/ / _ \/ -_) _ \/ / -_) _ \/ __/_ _/ // / _ \/ -_)
- # \____/ .__/\__/_//_/_/|_/\__/ .__/\__/ /_/ \_,_/_//_/\__/
- # /_/ /_/
- #----------------------------------------------------------------------------
- ; Neptune 4 Series Custom Image by (OpenNeptune3D/OpenNept4une):
- #----------------------------------------------------------------------------
- ; Wiki : https://github.com/OpenNeptune3D/OpenNept4une/wiki
- ; Discord : https://discord.com/invite/X6kwchT6WM
- #############################################################################
- # External Config Includes
- #############################################################################
- [include mainsail.cfg] ; mainsail runs on port 81 (http://IP_ADDRESS:81)
- [include fluidd.cfg]
- [include KAMP_Settings.cfg]
- [include ./KAMP/Smart_Park.cfg]
- [include ./KAMP/Line_Purge.cfg]
- #[include klipper_debug.cfg]
- #[include adxl.cfg] ; Comment this out when you disconnect the Pico/MellowFly
- #############################################################################
- # Base Config
- #############################################################################
- [mcu]
- serial: /dev/ttyS0 ; The hardware use USART1 PA10/PA9 connect to RK3328
- baud: 250000
- restart_method: command
- [printer]
- kinematics:cartesian
- max_velocity: 250
- max_accel: 3000
- max_z_velocity: 8
- max_z_accel: 120
- square_corner_velocity: 5.0
- minimum_cruise_ratio: 0.0
- [respond]
- [gcode_arcs]
- [pause_resume]
- [display_status]
- [exclude_object]
- [firmware_retraction]
- [virtual_sdcard]
- path: ~/printer_data/gcodes
- [force_move]
- enable_force_move : True
- [idle_timeout]
- timeout: 2100 ; 35min idle timeout (when not paused or printing)
- #############################################################################
- # Print Start & End Macros
- #############################################################################
- [gcode_macro PRINT_START]
- gcode:
- Frame_Light_ON
- Part_Light_ON
- G92 E0
- G90 ; Use absolute coordinates
- BED_MESH_CLEAR
- {% set BED_TEMP = params.BED_TEMP|default(60)|float %}
- {% set BED_HEAT_SOAK_MINUTES = params.BED_HEAT_SOAK_MINUTES|default(0)|float %}
- {% set BED_MESH = params.BED_MESH|default('adaptive')|string %} ; One of: adaptive (default), full, default (or any other value as the bed mesh profile name), none
- {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(200)|float %}
- SET_BED_TEMPERATURE TARGET={BED_TEMP} ; Heat Bed to target temp
- BED_TEMPERATURE_WAIT MINIMUM={BED_TEMP-2} MAXIMUM={BED_TEMP+4} ; Waits until the bed reaches close to target
- {% if BED_HEAT_SOAK_MINUTES > 0 %}
- RESPOND MSG="Waiting {BED_HEAT_SOAK_MINUTES} minutes for the bed to settle."
- G4 P{BED_HEAT_SOAK_MINUTES * 60000}
- {% endif %}
- CG28
- {% if BED_MESH == 'full' %}
- BED_MESH_CALIBRATE
- {% elif BED_MESH == 'adaptive' %}
- BED_MESH_CALIBRATE ADAPTIVE=1
- {% elif BED_MESH != 'none' %}
- BED_MESH_PROFILE LOAD={BED_MESH}
- {% endif %}
- Smart_Park
- SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=1
- SET_HEATER_TEMPERATURE HEATER=extruder TARGET={EXTRUDER_TEMP} ; Set and heat the final extruder temperature
- TEMPERATURE_WAIT SENSOR=extruder MINIMUM={EXTRUDER_TEMP-4} MAXIMUM={EXTRUDER_TEMP+10} ; Wait for extruder to reach near target temperature
- LINE_PURGE ; KAMP Line Purge near print
- G92 E0 ; Reset Extruder
- G1 Z2.0 F3000 ; Move Z Axis up
- M117 Printing
- [gcode_macro PRINT_END]
- gcode:
- Frame_Light_OFF
- Part_Light_OFF
- M400 ; wait for buffer to clear
- TURN_OFF_HEATERS
- G92 E0 ; zero the extruder
- G91 ; Relative positioning
- G1 E-2 F2700 ; Retract a bit
- G1 X5 Y5 F3000 ; Wipe out
- G1 E-2 Z0.2 F1600 ; Retract and raise Z
- G1 Z4 F3000 ; Raise Z more
- G90 ; Absolute positioning
- G1 X0 Y315 ; Present print
- M107 ; turn off fan
- M84 ; turn off steppers
- SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
- M117
- END_TUNE ; Print End Beeper Jingle
- #############################################################################
- # Pause, Resume & Cancel Macros
- #############################################################################
- [gcode_macro PAUSE]
- rename_existing: BASE_PAUSE
- gcode:
- PAUSE_TUNE
- {% set z = params.Z|default(30)|int %} ; z hop amount 30mm
- {% if printer['pause_resume'].is_paused|int == 0 %}
- SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=zhop VALUE={z} ; set z hop variable for reference in resume macro
- SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=etemp VALUE={printer['extruder'].target} ; set hotend temp variable for reference in resume macro
- SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0 ; disable filament sensor
- SAVE_GCODE_STATE NAME=PAUSE ; save the current print position for resume, before z-hop
- BASE_PAUSE ; pause print
- G91
- {% if (printer.gcode_move.position.z + z) < printer.toolhead.axis_maximum.z %} ; check that zhop doesn't exceed z max
- G1 E-2 F2700 ; Retract 2mm
- G1 X3 Y3 F3000 ; Wipe out
- G1 E-2 Z{z} F1600 ; Retract 2mm more & raise z by z hop amount
- SAVE_GCODE_STATE NAME=ZLIFT ; save the current print position for resume, after z-hop
- {% else %}
- { action_respond_info("Pause zhop exceeds maximum Z height.") } ; if z max is exceeded, show message and set zhop value for resume to 0
- SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=zhop VALUE=0
- G1 E-2 F2700 ; Retract 2mm
- G1 X3 Y3 F3000 ; Wipe out
- G1 E-2 F1600 ; Retract 2mm more
- SAVE_GCODE_STATE NAME=ZLIFT
- {% endif %}
- G90
- G1 X{printer.toolhead.axis_minimum.x+5} Y{printer.toolhead.axis_maximum.y-5} F6000 ; park toolhead at the rear left of the bed
- SAVE_GCODE_STATE NAME=PAUSEPARK ; save the parked position
- SET_HEATER_TEMPERATURE HEATER=extruder TARGET=160 ; cool down hotend to no-drip temp
- SET_IDLE_TIMEOUT TIMEOUT=43200 ; set idle timeout to 12 hours (in seconds)
- {% endif %}
- [gcode_macro RESUME]
- rename_existing: BASE_RESUME
- variable_zhop: 0
- variable_etemp: 0
- gcode:
- {% if printer['pause_resume'].is_paused|int == 1 %}
- SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=1 ; enable filament sensor
- SET_IDLE_TIMEOUT TIMEOUT={printer.configfile.settings.idle_timeout.timeout} ; set timeout back to configured value
- {% if etemp > 0 %}
- SET_HEATER_TEMPERATURE HEATER=extruder TARGET={etemp|int}
- TEMPERATURE_WAIT SENSOR=extruder MINIMUM={etemp|int - 4} MAXIMUM={etemp|int + 10} ; wait for hotend to heat back up to print temp
- {% endif %}
- RESTORE_GCODE_STATE NAME=PAUSEPARK MOVE=1 MOVE_SPEED=100 ; go back to park position in case toolhead was moved during pause ; enable extruder stepper motor
- G91 ; relative positioning
- M83 ; set extruder to relative mode
- G1 E80 F200 ; extrude 80mm of filament to prime the nozzle
- G4 P2000 ; wait for 2 seconds to stabilise pressure
- G1 X20 F15000 ; wiggle movement to ensure free movement of purge
- G1 X-20
- G1 X20
- G1 X-20
- G1 X20
- G1 X-20
- RESTORE_GCODE_STATE NAME=ZLIFT MOVE=1 MOVE_SPEED=60 ; restore to the zlift position above the print
- G1 X-3 Y-3 F3000 ; Undo the pause Wipe out
- G1 Z{zhop * -1} F900
- RESTORE_GCODE_STATE NAME=PAUSE MOVE=1 MOVE_SPEED=60 ; restore to the paused position (lowers to final print location)
- M400 ; wait for all moves to complete
- BASE_RESUME ; resume print
- {% endif %}
- [gcode_macro CANCEL_PRINT]
- rename_existing: BASE_CANCEL_PRINT
- gcode:
- SET_IDLE_TIMEOUT TIMEOUT={printer.configfile.settings.idle_timeout.timeout} ; set timeout back to configured value
- CLEAR_PAUSE
- SDCARD_RESET_FILE
- PRINT_END
- BASE_CANCEL_PRINT
- #############################################################################
- # Filament Sensor & Change Macros
- #############################################################################
- [filament_switch_sensor filament_sensor]
- pause_on_runout: True
- insert_gcode:
- M117 Insert Detected
- runout_gcode:
- M117 Runout Detected
- UNLOAD_FILAMENT
- event_delay: 3.0
- pause_delay: 1.0
- switch_pin: PA12
- [delayed_gcode DISABLE_FILAMENT_SENSOR]
- initial_duration: 1
- gcode:
- SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
- [gcode_macro M600]
- description: Pause for colour change
- gcode:
- PAUSE
- UNLOAD_FILAMENT
- [gcode_macro LOAD_FILAMENT]
- variable_load_distance: 25
- variable_purge_distance: 30
- gcode:
- SET_HEATER_TEMPERATURE HEATER=extruder TARGET=200
- TEMPERATURE_WAIT SENSOR=extruder MINIMUM={200-4} MAXIMUM={200+40}
- {% set speed = params.SPEED|default(300) %}
- {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 30 %}
- SAVE_GCODE_STATE NAME=load_state
- G91
- G92 E0
- G1 E{load_distance} F{max_velocity} ; fast-load
- G1 E{purge_distance} F{speed} ; purge
- RESTORE_GCODE_STATE NAME=load_state
- [gcode_macro UNLOAD_FILAMENT]
- variable_unload_distance: 55
- variable_purge_distance: 15
- gcode:
- SET_HEATER_TEMPERATURE HEATER=extruder TARGET=200
- TEMPERATURE_WAIT SENSOR=extruder MINIMUM={200-4} MAXIMUM={200+40}
- {% set speed = params.SPEED|default(300) %}
- {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 30 %}
- SAVE_GCODE_STATE NAME=unload_state
- G91
- G92 E0
- G1 E{purge_distance} F{speed} ; purge
- G1 E-{unload_distance} F{max_velocity} ; fast-unload
- RESTORE_GCODE_STATE NAME=unload_state
- #############################################################################
- # X/Y/Z Stepper Config
- #############################################################################
- [stepper_x]
- step_pin: PC14
- dir_pin: PC13
- enable_pin: !PC15
- microsteps: 16
- rotation_distance: 40
- full_steps_per_rotation:200 ; set to 400 for 0.9 degree stepper
- endstop_pin: tmc2209_stepper_x:virtual_endstop
- position_min: -12
- position_endstop: -10
- position_max: 330
- homing_speed: 50
- homing_retract_dist: 0
- homing_positive_dir: false
- [stepper_y]
- step_pin: PB4
- dir_pin: !PB3
- enable_pin: !PC15
- microsteps: 16
- rotation_distance: 40
- full_steps_per_rotation:200 ; set to 400 for 0.9 degree stepper
- endstop_pin: tmc2209_stepper_y:virtual_endstop
- position_min: -2
- position_endstop: 0
- position_max: 330
- homing_speed:50
- homing_retract_dist: 0
- homing_positive_dir:false
- [stepper_z]
- step_pin: PC10
- dir_pin: !PA13
- enable_pin: !PC11
- microsteps: 16
- rotation_distance: 8
- full_steps_per_rotation: 200
- endstop_pin: probe:z_virtual_endstop
- position_max: 405
- position_min: -5
- homing_speed: 8
- second_homing_speed: 3
- homing_retract_dist: 0
- [mcu cartographer] # See https://www.klipper3d.org/Config_Reference.html#mcu
- # Remove either the serial or canbus_uuid line dependant on your setup.
- serial: /dev/serial/by-id/usb-Cartographer_stm32g431xx_68005E000650303448383620-if00
- restart_method: command # Not needed for probes using CAN.
- [cartographer]
- mcu: cartographer
- x_offset: 0 # This is the offset of your probe from the nozzle tip, to the centre of the coil.
- y_offset: 20.7 # This is the offset of your probe from the nozzle tip, to the centre of the coil.
- [bed_mesh]
- zero_reference_position: 160, 160 # The centre of your bed.
- speed: 300
- horizontal_move_z: 3
- mesh_min: 10, 21 # The first probed coordinate, nearest to the origin. This coordinate is relative to the probe's location.
- mesh_max: 300.75, 315.45 # The probed coordinate farthest from the origin. This is not necessarily the last point probed, as the probing process occurs in a zig-zag fashion. As with mesh_min, this coordinate is relative to the probe's location.
- probe_count: 20, 20
- adaptive_margin: 10
- mesh_pps: 0,0 # Disable interpolation - mesh is probably dense enough
- [temperature_sensor cartographer]
- sensor_type: temperature_mcu
- sensor_mcu: cartographer
- min_temp: 5
- max_temp: 105
- [adxl345]
- # Select 1 of the cs_pin below depending on the probe you have.
- # Having the wrong one selected will cause an Endless Bootloop
- # Cartographer V4 has int2 connected to the probes PA1 pin
- cs_pin: cartographer:PA0 # For Cartographer V4
- spi_bus: spi1
- #############################################################################
- # TMC Stepper-driver UART Config
- #############################################################################
- [tmc2209 stepper_x]
- uart_pin: PB9
- run_current: 1.0
- interpolate: True
- stealthchop_threshold: 999999
- driver_SGTHRS: 90
- diag_pin: ^PC0
- [tmc2209 stepper_y]
- uart_pin: PD2
- run_current: 1.1
- interpolate: True
- stealthchop_threshold: 999999
- driver_SGTHRS: 80
- diag_pin: ^PB8
- [tmc2209 stepper_z]
- uart_pin: PC5
- run_current: 0.8
- interpolate: True
- [tmc2209 extruder]
- uart_pin: PC4
- run_current: 0.8
- interpolate: false
- #############################################################################
- # Extruder Config
- #############################################################################
- [extruder]
- step_pin:PA5
- dir_pin:!PA6
- enable_pin:!PA4
- microsteps: 16
- rotation_distance: 29.812 ; 31.4 Bondtech 5mm Drive Gears
- gear_ratio: 52:10
- full_steps_per_rotation: 200 ; 200 for 1.8 degree, 400 for 0.9 degree
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- min_temp: 0
- max_temp: 330
- heater_pin: PA7
- sensor_type:NTC 100K MGB18-104F39050L32
- sensor_pin: PA1
- max_power: 1
- #control: pid
- #pid_Kp: 35.144
- #pid_Ki: 9.762
- #pid_Kd: 31.630
- pressure_advance: 0.02725
- pressure_advance_smooth_time: 0.02
- max_extrude_cross_section: 5 ; standard klipper default 4* (NozzleDiam^2)
- instantaneous_corner_velocity: 5.0
- max_extrude_only_distance: 100
- max_extrude_only_velocity:45
- max_extrude_only_accel:2000
- step_pulse_duration:0.000002
- [verify_heater extruder]
- max_error: 30
- check_gain_time: 10
- hysteresis: 10
- heating_gain: 2
- #############################################################################
- # Bed Heater Config
- #############################################################################
- [heater_bed]
- heater_pin:PB10
- sensor_type: NTC 100K MGB18-104F39050L32
- sensor_pin: PA0
- max_power: 1.0
- control: pid
- pid_Kp: 75.397
- pid_Ki: 0.823
- pid_Kd: 1727.531
- min_temp: 0
- max_temp: 120
- pwm_cycle_time: 0.3
- [verify_heater heater_bed]
- max_error: 120
- check_gain_time: 120
- hysteresis: 10
- heating_gain: 2
- [gcode_macro SET_BED_TEMPERATURE]
- gcode:
- SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={params.TARGET}
- [gcode_macro BED_TEMPERATURE_WAIT]
- gcode:
- {% if params.MINIMUM is defined and params.MAXIMUM is defined %}
- TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={params.MINIMUM} MAXIMUM={params.MAXIMUM}
- {% elif params.MINIMUM is defined %}
- TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={params.MINIMUM}
- {% elif params.MAXIMUM is defined %}
- TEMPERATURE_WAIT SENSOR=heater_bed MAXIMUM={params.MAXIMUM}
- {% else %}
- RESPOND TYPE=error MSG="Error on 'BED_TEMPERATURE_WAIT': missing MINIMUM or MAXIMUM."
- {% endif %}
- #############################################################################
- # Probe Config
- #############################################################################
- #[probe]
- #pin:^PA11
- #x_offset: -24.25
- #y_offset: 20.45
- ##z_offset = 0.0
- #speed: 6.0
- #samples: 3
- #samples_result: median
- #sample_retract_dist: 3.0
- #samples_tolerance: 0.025
- #samples_tolerance_retries: 3
- #[bed_mesh]
- #speed:150
- #horizontal_move_z:5
- #mesh_min: 10,21
- #mesh_max: 300.75,315.45
- #probe_count:11,11
- #algorithm:bicubic
- #bicubic_tension:0.2
- #mesh_pps: 4, 4
- #fade_start: 1.0
- #fade_end: 10.0
- #############################################################################
- # LED Config
- #############################################################################
- [output_pin Frame_Light]
- pin: rpi:gpiochip2/gpio2
- [output_pin Part_Light]
- pin: rpi:gpiochip2/gpio15
- [gcode_macro Frame_Light_ON]
- gcode:
- SET_PIN PIN=Frame_Light VALUE=1
- [gcode_macro Frame_Light_OFF]
- gcode:
- SET_PIN PIN=Frame_Light VALUE=0
- [gcode_macro Part_Light_ON]
- gcode:
- SET_PIN PIN=Part_Light VALUE=1
- [gcode_macro Part_Light_OFF]
- gcode:
- SET_PIN PIN=Part_Light VALUE=0
- #############################################################################
- # Beeper Config
- #############################################################################
- [pwm_cycle_time beeper]
- pin: PA2
- value: 0
- shutdown_value: 0
- cycle_time: 0.0005 ; Default PWM frequency: 2 kHz
- [gcode_macro M300]
- gcode:
- {% set S = params.S|default(2000)|int %} ; Set frequency (S), default to 2 kHz if omitted or invalid
- {% set P = params.P|default(100)|int %} ; Set duration (P), default to 100ms if omitted or invalid
- SET_PIN PIN=beeper VALUE=0.8 CYCLE_TIME={ 1.0/S if S > 0 else 1 } ; Activate the beeper at a 80% duty cycle
- G4 P{P} ; Hold the beep for the specified duration
- SET_PIN PIN=beeper VALUE=0 ; Turn off the beeper
- [gcode_macro PAUSE_TUNE]
- gcode:
- M300 S784 P300
- M300 S587 P600
- [gcode_macro END_TUNE]
- gcode:
- M300 S392 P250
- M300 S494 P250
- M300 S587 P250
- M300 S523 P300
- #############################################################################
- # Fan & Temp Monitoring Config
- #############################################################################
- [controller_fan heatbreak+mainboard_fan]
- pin: PC7
- fan_speed: 1.0
- idle_speed: 0.5
- idle_timeout: 43200 ; 50% speed for 12h then OFF
- shutdown_speed: 1
- heater: extruder, heater_bed
- stepper: stepper_x, stepper_y, stepper_z, extruder
- [fan]
- pin: PB7
- [fan_generic fan3]
- pin: PC9
- [fan_generic fan4]
- pin: PA8
- [fan_generic fan5]
- pin: PA15
- [delayed_gcode start_fan_at_idle_speed]
- initial_duration: 5. ; 5s wait after boot
- gcode:
- # Gcode Hack to trigger the mainboard fan from printer boot
- SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=1 ; bed heat to 1degC
- G4 P2000 ; wait 2s
- SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=0 ; bed heat off
- [temperature_sensor RockchipHost]
- sensor_type: temperature_host
- min_temp: 10
- max_temp: 80
- [temperature_sensor STM32MCU]
- sensor_type: temperature_mcu
- min_temp: 10
- max_temp: 85
- #############################################################################
- # Homing & Levelling Config/Macros
- #############################################################################
- [gcode_macro CG28]
- gcode:
- {% if "xyz" not in printer.toolhead.homed_axes %}
- G28
- {% else %}
- {% endif %}
- [safe_z_home]
- home_xy_position: 160, 160
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- [axis_twist_compensation]
- calibrate_start_x: 25
- calibrate_end_x: 295
- calibrate_y: 160
- [gcode_macro Axis_Twist_Comp_Tune]
- gcode:
- CG28
- AXIS_TWIST_COMPENSATION_CALIBRATE
- [screws_tilt_adjust]
- screw1: 189.25,204.55
- screw1_name: middle-rear bed mount (shim adjust)
- screw2: 189.25,86.55
- screw2_name: middle-front bed mount (shim adjust)
- screw3: 59.75,277.05
- screw3_name: rear left screw
- screw4: 59.75,144.55
- screw4_name: center left screw
- screw5: 59.75,12.05
- screw5_name: front left screw
- screw6: 315.75,12.05
- screw6_name: front right screw
- screw7: 315.75,144.55
- screw7_name: center right screw
- screw8: 315.75,277.05
- screw8_name: rear right screw
- horizontal_move_z: 5
- speed: 150
- screw_thread: CW-M4
- [gcode_macro Bed_Level_Screws_Tune]
- gcode:
- BED_MESH_CLEAR
- SET_BED_TEMPERATURE TARGET=60
- BED_TEMPERATURE_WAIT MINIMUM=58 MAXIMUM=65
- CG28
- SCREWS_TILT_CALCULATE
- [gcode_macro Calibrate_Probe_Z_Offset]
- gcode:
- CG28
- PROBE_CALIBRATE
- [gcode_macro Auto_Full_Bed_Level]
- gcode:
- RESPOND PREFIX="info" MSG="Running Custom Bed Leveling Macro"
- BED_MESH_CLEAR
- SET_BED_TEMPERATURE TARGET=60
- BED_TEMPERATURE_WAIT MINIMUM=58 MAXIMUM=65
- CG28
- BED_MESH_CALIBRATE
- #############################################################################
- # PID Tuning Macros
- #############################################################################
- [gcode_macro PID_Tune_EXTRUDER]
- gcode:
- {% set temperature = params.TEMPERATURE|default(210) %}
- CG28
- M106 S255
- PID_CALIBRATE HEATER=extruder TARGET={temperature}
- SAVE_CONFIG
- [gcode_macro PID_Tune_BED]
- gcode:
- {% set temperature = params.TEMPERATURE|default(60) %}
- CG28
- M106 S255 ;Sets Print Fans to 100%
- PID_CALIBRATE HEATER=heater_bed TARGET={temperature}
- SAVE_CONFIG
- #############################################################################
- # SPI Accelerometer Config
- #############################################################################
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345 x]
- cs_pin: rpi:gpiochip0/gpio25
- spi_bus: spidev0.0
- axes_map: x,z,-y
- [adxl345 y]
- cs_pin: rpi:gpiochip0/gpio8
- spi_bus: spidev0.1
- axes_map: -x,-y,-z
- [resonance_tester]
- accel_chip_x: adxl345 x
- accel_chip_y: adxl345 y
- max_smoothing: 0.15
- probe_points:
- 162.5, 162.5, 20
- #############################################################################
- # Input Shaper Config
- #############################################################################
- [input_shaper]
- #shaper_type_x: mzv
- #shaper_freq_x: 59.8
- #shaper_type_y: ei
- #shaper_freq_y: 30.0
- #############################################################################
- [include user_settings.cfg] ; Users custom macros
- #############################################################################
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [cartographer scan_model default]
- #*# coefficients = 1.6389249226730482,2.328381433180167,0.7954633281821514,-0.657403547462265,0.2633212270993758,2.4395602395278955,0.03544490586156769,-2.360724960803905,0.06869895886300623,0.955052004953649
- #*# domain = 3.322908121986859e-07,3.423881694645284e-07
- #*# z_offset = -0.13
- #*# reference_temperature = 27.08
- #*# software_version = 1.4.0
- #*# mcu_version = Cartographer HT 5.1.0
- #*#
- #*# [cartographer touch_model default]
- #*# threshold = 500
- #*# speed = 2
- #*# z_offset = -0.05
- #*# software_version = 1.4.0
- #*# mcu_version = Cartographer HT 5.1.0
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 25.478
- #*# pid_ki = 2.295
- #*# pid_kd = 70.701
- #*#
- #*# [input_shaper]
- #*# shaper_type_x = mzv
- #*# shaper_freq_x = 68.0
- #*# shaper_type_y = mzv
- #*# shaper_freq_y = 37.0
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.271781, 0.083368, 0.107279, 0.108561, 0.093677, 0.099589, 0.093677, 0.075610, 0.066255, 0.045896, 0.023256, 0.017161, 0.010536, 0.010536, 0.017966, 0.031968, 0.045896, 0.068854, 0.076632, 0.097532
- #*# -0.222925, 0.069637, 0.093677, 0.094961, 0.083878, 0.087237, 0.087235, 0.076122, 0.053229, 0.034599, 0.022736, 0.021131, 0.013188, 0.014513, 0.021935, 0.037233, 0.053229, 0.076904, 0.084658, 0.100097
- #*# -0.268264, 0.064957, 0.082078, 0.077416, 0.074826, 0.076120, 0.080784, 0.066255, 0.051921, 0.038546, 0.025898, 0.020611, 0.013188, 0.015837, 0.029851, 0.052437, 0.061053, 0.078197, 0.098307, 0.114444
- #*# -0.227299, 0.066255, 0.083874, 0.084658, 0.077416, 0.074826, 0.074317, 0.061053, 0.044587, 0.031969, 0.021935, 0.015837, 0.010536, 0.017966, 0.031969, 0.051129, 0.073531, 0.090594, 0.104212, 0.114444
- #*# -0.265337, 0.076120, 0.098308, 0.094456, 0.092389, 0.094456, 0.085440, 0.072233, 0.058447, 0.044076, 0.027732, 0.028534, 0.024057, 0.028534, 0.043278, 0.078197, 0.089817, 0.113165, 0.121582, 0.129975
- #*# -0.208410, 0.095740, 0.113165, 0.109333, 0.098815, 0.088526, 0.082078, 0.063657, 0.041169, 0.025898, 0.018772, 0.011861, 0.007065, 0.015319, 0.041169, 0.073531, 0.088526, 0.119545, 0.116488, 0.130480
- #*# -0.269748, 0.070937, 0.093168, 0.085947, 0.084657, 0.073018, 0.067554, 0.047208, 0.024576, -0.000919, -0.015103, -0.015103, -0.012424, -0.011087, 0.014513, 0.045899, 0.067043, 0.088526, 0.113165, 0.115214
- #*# -0.209513, 0.080784, 0.096516, 0.099589, 0.082078, 0.072233, 0.066255, 0.052434, 0.026701, 0.006546, -0.002773, -0.004401, -0.008411, -0.000397, 0.023775, 0.048515, 0.070937, 0.106771, 0.111886, 0.128707
- #*# -0.257044, 0.084658, 0.101652, 0.100874, 0.087235, 0.075610, 0.068854, 0.054537, 0.034599, 0.017966, 0.006546, 0.006546, 0.009209, 0.010536, 0.031685, 0.068854, 0.089817, 0.109839, 0.136311, 0.151716
- #*# -0.216229, 0.082074, 0.098307, 0.087235, 0.069637, 0.058959, 0.052434, 0.036433, 0.023256, 0.004407, -0.001439, -0.004401, -0.002251, 0.004927, 0.029851, 0.048515, 0.074041, 0.108561, 0.115718, 0.143397
- #*# -0.265302, 0.067554, 0.079489, 0.076120, 0.066255, 0.052434, 0.046411, 0.024057, 0.014513, -0.000397, -0.013763, -0.013763, -0.003585, -0.005441, 0.016643, 0.047204, 0.067554, 0.092389, 0.116488, 0.133016
- #*# -0.212405, 0.079220, 0.089817, 0.092389, 0.076122, 0.063657, 0.061053, 0.044587, 0.029851, 0.014513, 0.004927, 0.006546, 0.000414, 0.009209, 0.030653, 0.055841, 0.077416, 0.111886, 0.123624, 0.140108
- #*# -0.195077, 0.125400, 0.140108, 0.132511, 0.122088, 0.110610, 0.108052, 0.093677, 0.077416, 0.063143, 0.049308, 0.049030, 0.049823, 0.055046, 0.074041, 0.107279, 0.126163, 0.149200, 0.175538, 0.193944
- #*# -0.124557, 0.155492, 0.165530, 0.161772, 0.145160, 0.129975, 0.126669, 0.115214, 0.097024, 0.079489, 0.071450, 0.068341, 0.063657, 0.071450, 0.089817, 0.120310, 0.140868, 0.170536, 0.188238, 0.213221
- #*# -0.173820, 0.145919, 0.150960, 0.140868, 0.126163, 0.116992, 0.114444, 0.096516, 0.082585, 0.064957, 0.051921, 0.045896, 0.045099, 0.045899, 0.066255, 0.098308, 0.119038, 0.144658, 0.172538, 0.190721
- #*# -0.154429, 0.131242, 0.135046, 0.124126, 0.102932, 0.093677, 0.088016, 0.076904, 0.061842, 0.042480, 0.034599, 0.031969, 0.023775, 0.032483, 0.049030, 0.074825, 0.097024, 0.131242, 0.143900, 0.168037
- #*# -0.206618, 0.113936, 0.113165, 0.098307, 0.083368, 0.070154, 0.069127, 0.054537, 0.042480, 0.026413, 0.014513, 0.007877, 0.005217, 0.004407, 0.019806, 0.048510, 0.075337, 0.104212, 0.132511, 0.148945
- #*# -0.159589, 0.108561, 0.113165, 0.097799, 0.078709, 0.062358, 0.057144, 0.045896, 0.030366, 0.013188, 0.000414, -0.003585, -0.011085, -0.008411, 0.007877, 0.032487, 0.054537, 0.085168, 0.102159, 0.131242
- #*# -0.196174, 0.103439, 0.098307, 0.074826, 0.059749, 0.044587, 0.037233, 0.024057, 0.009209, -0.009748, -0.026146, -0.032892, -0.036944, -0.038296, -0.028846, -0.002773, 0.013188, 0.043790, 0.071450, 0.091880
- #*# -0.363998, -0.135213, -0.150176, -0.163814, -0.189870, -0.207517, -0.212405, -0.227295, -0.247233, -0.268258, -0.279583, -0.295449, -0.303515, -0.302014, -0.289464, -0.263811, -0.240451, -0.206620, -0.184681, -0.148762
- #*# min_x = 10.0
- #*# min_y = 21.0
- #*# max_x = 300.75
- #*# max_y = 315.45
- #*# x_count = 20
- #*# y_count = 20
- #*# mesh_x_pps = 0
- #*# mesh_y_pps = 0
- #*# algo = bicubic
- #*# tension = 0.2
Advertisement
Add Comment
Please, Sign In to add comment