2024-09-14 10:00:37 +08:00
|
|
|
# This file contains common pin mappings for the BIGTREETECH Manta E3EZ
|
|
|
|
# To use this config, the firmware should be compiled for the
|
|
|
|
# STM32G0B1 with a "8KiB bootloader" "8 MHz crystal"
|
|
|
|
# and "USB (on PA11/PA12)" or "CAN bus (on PB12/PB13)".
|
|
|
|
|
2024-12-14 03:16:38 +08:00
|
|
|
# This file also contains common pin mappings for the BIGTREETECH EBBCan
|
|
|
|
# Canbus board. To use this config, the firmware should be compiled for the
|
|
|
|
# STM32G0B1 with "8 MHz crystal" and "USB (on PA11/PA12)" or "CAN bus (on PB0/PB1)".
|
|
|
|
# The "EBB Can" micro-controller will be used to control the components on the nozzle.
|
|
|
|
|
2024-09-14 10:00:37 +08:00
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
2024-12-14 03:16:38 +08:00
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Includes
|
|
|
|
########################################
|
|
|
|
|
|
|
|
# Core
|
2024-09-14 10:00:37 +08:00
|
|
|
[include mainsail.cfg]
|
2024-12-14 03:16:38 +08:00
|
|
|
[include macros.cfg]
|
|
|
|
# Toolhead
|
2024-09-14 10:00:37 +08:00
|
|
|
[include stealthburner_leds.cfg]
|
|
|
|
[include OrbiterSensor.cfg]
|
2024-12-14 03:16:38 +08:00
|
|
|
# Plugins
|
2024-09-14 10:00:37 +08:00
|
|
|
[include KAMP_Settings.cfg]
|
2024-12-14 03:16:38 +08:00
|
|
|
|
|
|
|
########################################
|
|
|
|
# Microcontrollers
|
|
|
|
########################################
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[mcu]
|
|
|
|
canbus_uuid: f4ecb7c12108
|
2024-12-14 03:16:38 +08:00
|
|
|
[mcu EBBCan]
|
|
|
|
canbus_uuid: 8313b2b130fc
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# Printer Configuration
|
|
|
|
########################################
|
|
|
|
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
|
|
|
max_velocity: 450
|
|
|
|
max_accel: 10000
|
|
|
|
max_z_velocity: 5
|
|
|
|
max_z_accel: 100
|
|
|
|
|
|
|
|
[safe_z_home]
|
|
|
|
home_xy_position: 115,82.5
|
|
|
|
speed: 150
|
|
|
|
z_hop: 10
|
|
|
|
z_hop_speed: 10
|
|
|
|
|
|
|
|
[firmware_retraction]
|
|
|
|
retract_length: 0.5
|
|
|
|
retract_speed: 35
|
|
|
|
unretract_speed: 35
|
|
|
|
|
|
|
|
[virtual_sdcard]
|
|
|
|
path: /home/biqu/printer_data/gcodes
|
|
|
|
on_error_gcode: CANCEL_PRINT
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# Mainsail Configuration
|
|
|
|
########################################
|
|
|
|
|
|
|
|
[gcode_macro _CLIENT_VARIABLE]
|
|
|
|
variable_speed_move : 50.0
|
|
|
|
variable_use_fw_retract : True
|
|
|
|
variable_idle_timeout : 3600
|
|
|
|
gcode:
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# Printer Components
|
|
|
|
########################################
|
|
|
|
|
|
|
|
[fan]
|
|
|
|
pin: EBBCan: PA0
|
|
|
|
|
|
|
|
[heater_fan hotend_fan]
|
|
|
|
pin: EBBCan: PA1
|
|
|
|
heater: extruder
|
|
|
|
heater_temp: 50.0
|
|
|
|
|
|
|
|
[bltouch]
|
|
|
|
sensor_pin: ^EBBCan:PB8
|
|
|
|
control_pin: EBBCan:PB9
|
|
|
|
x_offset: 0
|
|
|
|
y_offset: 22.5
|
|
|
|
z_offset: 2.005
|
|
|
|
speed: 20
|
|
|
|
samples: 3
|
|
|
|
sample_retract_dist: 5.0
|
|
|
|
samples_result: median
|
|
|
|
samples_tolerance: 0.0125
|
|
|
|
samples_tolerance_retries: 3
|
|
|
|
|
|
|
|
[thermistor DREMC NTC100K B3950]
|
|
|
|
temperature1: 25.0
|
|
|
|
resistance1: 103180.0
|
|
|
|
temperature2: 150.0
|
|
|
|
resistance2: 1366.2
|
|
|
|
temperature3: 250.0
|
|
|
|
resistance3: 168.6
|
|
|
|
|
|
|
|
[heater_bed]
|
|
|
|
heater_pin: PB2 #HB
|
|
|
|
sensor_type: EPCOS 100K B57560G104F #Generic 3950
|
|
|
|
sensor_pin: PA3 #TB
|
|
|
|
control: pid
|
|
|
|
pid_Kp: 68.457
|
|
|
|
pid_Ki: 1.138
|
|
|
|
pid_Kd: 1029.416
|
|
|
|
min_temp: 0
|
|
|
|
max_temp: 130
|
|
|
|
|
|
|
|
########################################
|
|
|
|
# Stepper Configuration
|
|
|
|
########################################
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: PA14
|
|
|
|
dir_pin: !PA10
|
|
|
|
enable_pin: !PA13
|
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
|
|
|
endstop_pin: ^PC4
|
|
|
|
position_endstop: 0
|
|
|
|
position_min: 0
|
|
|
|
position_max: 245
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: PC8
|
|
|
|
dir_pin: !PA15
|
|
|
|
enable_pin: !PC14
|
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 40
|
|
|
|
endstop_pin: ^PB0
|
|
|
|
position_endstop: -20
|
|
|
|
position_min: -20
|
|
|
|
position_max: 210
|
|
|
|
homing_speed: 50
|
|
|
|
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: PD2
|
|
|
|
dir_pin: !PD4
|
|
|
|
enable_pin: !PD3
|
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
|
|
|
endstop_pin: probe:z_virtual_endstop
|
2024-12-14 02:31:22 +08:00
|
|
|
position_min: -1
|
|
|
|
position_max: 260
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[stepper_z1]
|
|
|
|
step_pin: PB7
|
|
|
|
dir_pin: !PB6
|
|
|
|
enable_pin: !PB4
|
|
|
|
microsteps: 16
|
|
|
|
rotation_distance: 8
|
|
|
|
|
2024-12-14 03:16:38 +08:00
|
|
|
[extruder]
|
|
|
|
step_pin: EBBCan: PD0
|
|
|
|
dir_pin: EBBCan: PD1
|
|
|
|
enable_pin: !EBBCan: PD2
|
|
|
|
microsteps: 16
|
|
|
|
full_steps_per_rotation: 200
|
|
|
|
rotation_distance: 4.729266
|
|
|
|
nozzle_diameter: 0.400
|
|
|
|
filament_diameter: 1.750
|
|
|
|
max_extrude_cross_section: 5
|
|
|
|
max_extrude_only_distance: 500
|
|
|
|
max_extrude_only_velocity: 120
|
|
|
|
pressure_advance: 0.025 #to be calibrated
|
|
|
|
pressure_advance_smooth_time: 0.03 #to be calibrated
|
|
|
|
heater_pin: EBBCan: PB13
|
|
|
|
sensor_type: DREMC NTC100K B3950
|
|
|
|
sensor_pin: EBBCan: PA3
|
2024-09-14 10:00:37 +08:00
|
|
|
control: pid
|
2024-12-14 03:16:38 +08:00
|
|
|
pid_Kp: 25.60
|
|
|
|
pid_Ki: 1.369
|
|
|
|
pid_Kd: 116.510
|
|
|
|
min_extrude_temp: 180
|
2024-09-14 10:00:37 +08:00
|
|
|
min_temp: 0
|
2024-12-14 03:16:38 +08:00
|
|
|
max_temp: 300
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
########################################
|
2024-12-14 03:16:38 +08:00
|
|
|
# TMC2209 Configuration
|
2024-09-14 10:00:37 +08:00
|
|
|
########################################
|
|
|
|
|
|
|
|
[tmc2209 stepper_x]
|
|
|
|
uart_pin: PB8
|
|
|
|
run_current: 0.580
|
2024-12-14 02:31:22 +08:00
|
|
|
interpolate: True
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[tmc2209 stepper_y]
|
|
|
|
uart_pin: PC9
|
|
|
|
run_current: 0.580
|
2024-12-14 02:31:22 +08:00
|
|
|
interpolate: True
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[tmc2209 stepper_z]
|
|
|
|
uart_pin: PD0
|
|
|
|
run_current: 0.580
|
2024-12-14 02:31:22 +08:00
|
|
|
interpolate: True
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[tmc2209 stepper_z1]
|
|
|
|
uart_pin: PB5
|
|
|
|
run_current: 0.580
|
2024-12-14 02:31:22 +08:00
|
|
|
interpolate: True
|
2024-09-14 10:00:37 +08:00
|
|
|
|
2024-12-14 03:16:38 +08:00
|
|
|
[tmc2209 extruder]
|
|
|
|
uart_pin: EBBCan: PA15
|
|
|
|
run_current: 0.650 # Max 0.850
|
|
|
|
driver_TBL: 0
|
|
|
|
driver_HEND: 6
|
|
|
|
driver_HSTRT: 7
|
|
|
|
driver_TOFF: 4
|
2024-09-14 10:00:37 +08:00
|
|
|
|
2024-12-14 03:16:38 +08:00
|
|
|
########################################
|
|
|
|
# Bed Leveling
|
|
|
|
########################################
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[bed_screws]
|
|
|
|
screw1: 30, 30
|
|
|
|
screw2: 200, 30
|
|
|
|
screw3: 200, 200
|
|
|
|
screw4: 30, 200
|
|
|
|
|
|
|
|
[screws_tilt_adjust]
|
|
|
|
screw1: 30, 7.5
|
|
|
|
screw1_name: front left screw
|
|
|
|
screw2: 200, 7.5
|
|
|
|
screw2_name: front right screw
|
|
|
|
screw3: 200, 177.5
|
|
|
|
screw3_name: rear right screw
|
|
|
|
screw4: 30, 177.5
|
|
|
|
screw4_name: rear left screw
|
|
|
|
horizontal_move_z: 10
|
|
|
|
speed: 50
|
|
|
|
screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
|
|
|
|
|
|
|
|
[z_tilt]
|
2024-12-14 02:31:22 +08:00
|
|
|
speed: 200
|
2024-09-14 10:00:37 +08:00
|
|
|
z_positions:
|
|
|
|
-30,110
|
|
|
|
260,110
|
|
|
|
points:
|
2024-12-14 02:31:22 +08:00
|
|
|
20,110
|
|
|
|
210,110
|
2024-09-14 10:00:37 +08:00
|
|
|
retries: 20
|
2024-12-14 02:31:22 +08:00
|
|
|
retry_tolerance: 0.0075
|
2024-09-14 10:00:37 +08:00
|
|
|
|
|
|
|
[bed_mesh]
|
2024-12-14 02:31:22 +08:00
|
|
|
speed: 200
|
2024-09-14 10:00:37 +08:00
|
|
|
mesh_min: 10,10 # Need to handle head distance with cr-touch (bl_touch)
|
|
|
|
mesh_max: 220,200 # Max probe range
|
|
|
|
probe_count: 11,11
|
|
|
|
fade_start: 1
|
|
|
|
fade_end: 10
|
|
|
|
fade_target: 0
|
|
|
|
algorithm: bicubic
|
|
|
|
bicubic_tension: 0.5
|
|
|
|
|
2024-12-14 03:16:38 +08:00
|
|
|
########################################
|
|
|
|
# Resonance Compensation
|
|
|
|
########################################
|
|
|
|
|
|
|
|
[adxl345 hotend]
|
|
|
|
cs_pin: EBBCan: PB12
|
|
|
|
spi_software_sclk_pin: EBBCan: PB10
|
|
|
|
spi_software_mosi_pin: EBBCan: PB11
|
|
|
|
spi_software_miso_pin: EBBCan: PB2
|
|
|
|
|
|
|
|
[adxl345 bed]
|
|
|
|
cs_pin: PC15
|
|
|
|
spi_software_miso_pin: PC11
|
|
|
|
spi_software_mosi_pin: PC12
|
|
|
|
spi_software_sclk_pin: PC10
|
|
|
|
|
|
|
|
[resonance_tester]
|
|
|
|
accel_chip_x: adxl345 hotend
|
|
|
|
accel_chip_y: adxl345 bed
|
|
|
|
probe_points: 115,82.5,10
|
|
|
|
|
2024-09-14 10:00:37 +08:00
|
|
|
[shaketune]
|
|
|
|
result_folder: ~/printer_data/config/ShakeTune_results
|
|
|
|
number_of_results_to_keep: 3
|
|
|
|
keep_raw_csv: False
|
|
|
|
show_macros_in_webui: True
|
|
|
|
timeout: 300
|
|
|
|
|
|
|
|
[input_shaper]
|
2024-12-14 02:31:22 +08:00
|
|
|
shaper_freq_x: 59.6
|
|
|
|
shaper_freq_y: 56.4
|
2024-10-17 09:47:47 +08:00
|
|
|
shaper_type_x: ei
|
2024-09-14 10:00:37 +08:00
|
|
|
shaper_type_y: ei
|
2024-12-14 02:31:22 +08:00
|
|
|
damping_ratio_x: 0.040
|
|
|
|
damping_ratio_y: 0.039
|