From b456e20fd6a70cc3d73b3e16cfe23c73e32b110f Mon Sep 17 00:00:00 2001 From: Ender3 venya Date: Wed, 28 Jan 2026 20:54:49 +0300 Subject: [PATCH] initial commit --- .gitignore | 2 + fluidd.cfg | 1 + moonraker.conf | 46 ++++++++++++ printer.cfg | 185 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 234 insertions(+) create mode 100644 .gitignore create mode 120000 fluidd.cfg create mode 100644 moonraker.conf create mode 100644 printer.cfg diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1cf7c03 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.*.sw* +.*.bkp diff --git a/fluidd.cfg b/fluidd.cfg new file mode 120000 index 0000000..b322b11 --- /dev/null +++ b/fluidd.cfg @@ -0,0 +1 @@ +/home/venya/fluidd-config/fluidd.cfg \ No newline at end of file diff --git a/moonraker.conf b/moonraker.conf new file mode 100644 index 0000000..1a3f9c0 --- /dev/null +++ b/moonraker.conf @@ -0,0 +1,46 @@ +[server] +host: 0.0.0.0 +port: 7125 +klippy_uds_address: /home/venya/printer_data/comms/klippy.sock + +[authorization] +trusted_clients: + 192.168.0.0/16 + 10.0.0.0/8 + 127.0.0.0/8 + 169.254.0.0/16 + 172.16.0.0/12 + 192.168.0.0/16 + FC00::/7 + FE80::/10 + ::1/128 +cors_domains: + *.lan + *.local + *://localhost + *://localhost:* + *://my.mainsail.xyz + *://app.fluidd.xyz + +[octoprint_compat] + +[history] + +[update_manager] +channel: dev +refresh_interval: 168 + +[update_manager fluidd] +path: /home/venya/fluidd +repo: fluidd-core/fluidd +channel: stable +type: web +persistent_files: + config.json + +[update_manager fluidd-config] +managed_services: klipper +origin: https://github.com/fluidd-core/fluidd-config.git +path: /home/venya/fluidd-config +primary_branch: master +type: git_repo diff --git a/printer.cfg b/printer.cfg new file mode 100644 index 0000000..d0ed508 --- /dev/null +++ b/printer.cfg @@ -0,0 +1,185 @@ +# This file contains common pin mappings for the BIGTREETECH SKR V1.4 +# board. To use this config, the firmware should be compiled for the +# LPC1768 or LPC1769(Turbo). + +# See docs/Config_Reference.md for a description of parameters. + +[stepper_x] +step_pin: P2.2 +dir_pin: P2.6 +enable_pin: !P2.1 +microsteps: 16 +rotation_distance: 40 +endstop_pin: !P1.29 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[stepper_y] +step_pin: P0.19 +dir_pin: P0.20 +enable_pin: !P2.8 +microsteps: 16 +rotation_distance: 40 +endstop_pin: !P1.28 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[stepper_z] +step_pin: P0.22 +dir_pin: !P2.11 +enable_pin: !P0.21 +microsteps: 16 +rotation_distance: 8 +endstop_pin: !P1.27 +position_endstop: 0.0 +position_max: 300 + +[extruder] +step_pin: P2.13 +dir_pin: !P0.11 +enable_pin: !P2.12 +microsteps: 16 +rotation_distance: 33.500 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: P2.7 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: P0.24 +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 +min_temp: 0 +max_temp: 260 + +#[extruder1] +#step_pin: P1.15 +#dir_pin: P1.14 +#enable_pin: !P1.16 +#heater_pin: P2.4 +#sensor_pin: P0.23 +#... + +[heater_bed] +heater_pin: P2.5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: P0.25 +control: pid +pid_Kp: 54.027 +pid_Ki: 0.770 +pid_Kd: 948.182 +min_temp: 0 +max_temp: 130 + +[fan] +pin: P2.3 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 + +[printer] +kinematics: cartesian +max_velocity: 400 +max_accel: 500 +max_z_velocity: 10 +max_z_accel: 100 + + +######################################## +# TMC2208 configuration +######################################## + +#[tmc2208 stepper_x] +#uart_pin: P1.10 +#run_current: 0.800 +#stealthchop_threshold: 999999 +# +#[tmc2208 stepper_y] +#uart_pin: P1.9 +#run_current: 0.800 +#stealthchop_threshold: 999999 +# +#[tmc2208 stepper_z] +#uart_pin: P1.8 +#run_current: 0.650 +#stealthchop_threshold: 999999 +# +#[tmc2208 extruder] +#uart_pin: P1.4 +#run_current: 0.800 +#stealthchop_threshold: 999999 +# +#[tmc2208 extruder1] +#uart_pin: P1.1 +#run_current: 0.800 +#stealthchop_threshold: 999999 + + +######################################## +# TMC2130 configuration +######################################## + +#[tmc2130 stepper_x] +#cs_pin: P1.10 +#spi_software_miso_pin: P0.5 +#spi_software_mosi_pin: P1.17 +#spi_software_sclk_pin: P0.4 +#run_current: 0.800 +#stealthchop_threshold: 999999 +#diag1_pin: P1.29 + +#[tmc2130 stepper_y] +#cs_pin: P1.9 +#spi_software_miso_pin: P0.5 +#spi_software_mosi_pin: P1.17 +#spi_software_sclk_pin: P0.4 +#run_current: 0.800 +#stealthchop_threshold: 999999 +#diag1_pin: P1.28 + +#[tmc2130 stepper_z] +#cs_pin: P1.8 +#spi_software_miso_pin: P0.5 +#spi_software_mosi_pin: P1.17 +#spi_software_sclk_pin: P0.4 +#run_current: 0.650 +#stealthchop_threshold: 999999 +#diag1_pin: P1.27 + +#[tmc2130 extruder] +#cs_pin: P1.4 +#spi_software_miso_pin: P0.5 +#spi_software_mosi_pin: P1.17 +#spi_software_sclk_pin: P0.4 +#run_current: 0.800 +#stealthchop_threshold: 999999 +#diag1_pin: P1.26 + +#[tmc2130 extruder1] +#cs_pin: P1.1 +#spi_software_miso_pin: P0.5 +#spi_software_mosi_pin: P1.17 +#spi_software_sclk_pin: P0.4 +#run_current: 0.800 +#stealthchop_threshold: 999999 +#diag1_pin: P1.25 + + +######################################## +# EXP1 / EXP2 (display) pins +######################################## + +[board_pins] +aliases: + # EXP1 header + EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=, + EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>, + # EXP2 header + EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=, + EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=, EXP2_10= + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0" + +# See the sample-lcd.cfg file for definitions of common LCD displays. +