forked from Klipper3d/klipper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Klipper3d:master' into master
- Loading branch information
Showing
49 changed files
with
2,132 additions
and
234 deletions.
There are no files selected for viewing
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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
# This file contains a configuration for the Anycubic Kobra Go printer. | ||
# | ||
# See docs/Config_Reference.md for a description of parameters. | ||
# | ||
# To build the firmware, use the following configuration: | ||
# - Micro-controller: Huada Semiconductor HC32F460 | ||
# - Communication interface: Serial (PA3 & PA2) - Anycubic | ||
# | ||
# Installation: | ||
# 1. Rename the klipper bin to `firmware.bin` and copy it to an SD Card. | ||
# 2. Power off the Printer, insert the SD Card and power it on. | ||
# 3. The the LCD will be stuck on the Firmware-update screen. | ||
# Just Wait for 3-5 minutes to ensure the firmware is flashed. | ||
# 4. After waiting, shutdown the printer and remove the SD Card. | ||
|
||
[stepper_x] | ||
step_pin: PA12 | ||
dir_pin: PA11 | ||
enable_pin: !PA15 | ||
microsteps: 16 | ||
rotation_distance: 40 | ||
endstop_pin: !PH2 | ||
position_endstop: -13 | ||
position_min:-13 | ||
position_max: 238 | ||
homing_speed: 50 | ||
|
||
[stepper_y] | ||
step_pin: PA9 | ||
dir_pin: PA8 | ||
enable_pin: !PA15 | ||
microsteps: 16 | ||
rotation_distance: 40 | ||
endstop_pin: ^!PC13 | ||
position_endstop: -9 | ||
position_min:-9 | ||
position_max: 238 | ||
homing_speed: 50 | ||
|
||
[stepper_z] | ||
step_pin: PC7 | ||
dir_pin: !PC6 | ||
enable_pin: !PA15 | ||
microsteps: 16 | ||
rotation_distance: 8 | ||
endstop_pin: ^PC14 | ||
position_endstop: 0 | ||
position_min: -10 | ||
position_max: 250 | ||
homing_speed: 5 | ||
|
||
[extruder] | ||
step_pin: PB15 | ||
dir_pin: PB14 | ||
enable_pin: !PA15 | ||
microsteps: 16 | ||
rotation_distance: 31.07 | ||
max_extrude_only_velocity: 25 | ||
max_extrude_only_accel: 1000 | ||
nozzle_diameter: 0.400 | ||
filament_diameter: 1.750 | ||
heater_pin: PB8 | ||
sensor_type: ATC Semitec 104GT-2 | ||
sensor_pin: PC3 | ||
min_extrude_temp: 170 | ||
min_temp: 0 | ||
max_temp: 250 | ||
control: pid | ||
pid_kp: 19.56 | ||
pid_ki: 1.62 | ||
pid_kd: 200.00 | ||
|
||
[heater_bed] | ||
heater_pin: PB9 | ||
sensor_type: EPCOS 100K B57560G104F | ||
sensor_pin: PC1 | ||
min_temp: 0 | ||
max_temp: 120 | ||
control: pid | ||
pid_kp: 97.1 | ||
pid_ki: 1.41 | ||
pid_kd: 1675.16 | ||
|
||
[bed_mesh] | ||
speed: 200 | ||
horizontal_move_z: 2.5 | ||
mesh_min: 5, 5 | ||
mesh_max: 217.2, 207.8 | ||
probe_count: 5, 5 | ||
|
||
[probe] | ||
pin: PA1 | ||
x_offset: -20.8 | ||
y_offset: 0 | ||
z_offset: 0 | ||
samples: 3 | ||
samples_result: average | ||
samples_tolerance_retries: 3 | ||
sample_retract_dist: 0.5 | ||
speed: 2 | ||
lift_speed: 4 | ||
|
||
[safe_z_home] | ||
home_xy_position: 0, 0 | ||
speed: 5 | ||
z_hop: 10 | ||
z_hop_speed: 15 | ||
|
||
[controller_fan controller_fan] | ||
pin: PB12 | ||
|
||
[heater_fan extruder_fan] | ||
pin: PB13 | ||
|
||
[fan] | ||
pin: PB5 | ||
cycle_time: 0.00005 #20kHz | ||
|
||
[output_pin enable_pin] | ||
pin: PB6 | ||
static_value: 1 | ||
#This pin enables the bed, hotend, extruder fan, part fan. | ||
|
||
[mcu] | ||
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 | ||
restart_method: command | ||
|
||
[printer] | ||
kinematics: cartesian | ||
max_velocity: 300 | ||
max_accel: 500 | ||
max_z_velocity: 4 | ||
max_z_accel: 100 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
# This file contains pin mappings for a full Ratrig V-Minion kit | ||
# with an Octopus Pro v1.1 board. | ||
# | ||
# This will not work with RatOS | ||
# | ||
# To use this config, during "make menuconfig" select the STM32F446 | ||
# with a "32KiB bootloader", USB (on PA11/PA12) communication, and | ||
# a "12MHZ Crystal" | ||
# | ||
# Flash this firmware on the MCU by copying "out/klipper.bin" to an SD | ||
# card and turning the printer on with the card inserted. The firmware | ||
# filename must be named "firmware.bin" | ||
# | ||
# See docs/Config_Reference.md for a description of parameters. | ||
|
||
[stepper_x] | ||
step_pin: PF13 | ||
dir_pin: !PF12 | ||
enable_pin: !PF14 | ||
endstop_pin: ^PG6 | ||
rotation_distance: 40 | ||
microsteps: 64 | ||
position_max: 180 | ||
position_min: 0 | ||
homing_speed: 60 | ||
position_endstop: 0 | ||
|
||
[tmc2209 stepper_x] | ||
uart_pin: PC4 | ||
run_current: 0.8 | ||
interpolate: false | ||
stealthchop_threshold: 0 | ||
|
||
[stepper_y] | ||
step_pin: PG0 | ||
dir_pin: PG1 | ||
enable_pin: !PF15 | ||
endstop_pin: ^PG9 | ||
rotation_distance: 40 | ||
microsteps: 64 | ||
position_max: 180 | ||
position_min: 0 | ||
homing_speed: 60 | ||
position_endstop: 0 | ||
|
||
[tmc2209 stepper_y] | ||
uart_pin: PD11 | ||
run_current: 0.8 | ||
interpolate: false | ||
stealthchop_threshold: 0 | ||
|
||
[stepper_z] | ||
step_pin: PC13 | ||
dir_pin: !PF0 | ||
enable_pin: !PF1 | ||
endstop_pin: probe:z_virtual_endstop | ||
rotation_distance: 4 | ||
position_min: -5 | ||
microsteps: 64 | ||
position_max: 180 | ||
|
||
[tmc2209 stepper_z] | ||
uart_pin: PE4 | ||
run_current: 0.8 | ||
interpolate: false | ||
stealthchop_threshold: 0 | ||
|
||
[extruder] | ||
rotation_distance: 5.57 | ||
full_steps_per_rotation: 200 | ||
filament_diameter: 1.750 | ||
step_pin: PF11 | ||
dir_pin: !PG3 | ||
enable_pin: !PG5 | ||
microsteps: 64 | ||
nozzle_diameter: 0.4 | ||
heater_pin: PA2 | ||
sensor_type: Generic 3950 | ||
sensor_pin: PF4 | ||
control: pid | ||
pid_Kp: 22.2 | ||
pid_Ki: 1.08 | ||
pid_Kd: 114 | ||
|
||
min_temp: 0 | ||
max_temp: 290 | ||
|
||
[tmc2209 extruder] | ||
uart_pin: PC6 | ||
run_current: 0.70 | ||
stealthchop_threshold: 0 | ||
interpolate: False | ||
|
||
[probe] | ||
pin: ^PB7 | ||
x_offset: -24.0 | ||
y_offset: -13.0 | ||
z_offset: 0.0 | ||
speed: 5 | ||
samples: 2 | ||
sample_retract_dist: 2 | ||
lift_speed: 5.0 | ||
samples_result: median | ||
samples_tolerance: 0.02 | ||
samples_tolerance_retries: 5 | ||
|
||
[bed_mesh] | ||
speed: 300 | ||
horizontal_move_z: 5 | ||
mesh_min: 15,15 | ||
mesh_max: 150,160 | ||
probe_count: 5,5 | ||
fade_start: 1.0 | ||
fade_end: 10.0 | ||
mesh_pps: 2,2 | ||
algorithm: bicubic | ||
bicubic_tension: .2 | ||
|
||
[screws_tilt_adjust] | ||
screw1: 80, 108 | ||
screw1_name: Left Screw | ||
screw2: 155, 72 | ||
screw2_name: Front Right Screw | ||
screw3: 155, 147 | ||
screw3_name: Rear Right Screw | ||
horizontal_move_z: 10 | ||
speed: 300 | ||
screw_thread: CCW-M4 | ||
|
||
[safe_z_home] | ||
home_xy_position: 90,90 | ||
z_hop: 5 | ||
speed: 300 | ||
|
||
[heater_bed] | ||
heater_pin: PA1 | ||
sensor_type: EPCOS 100K B57560G104F | ||
sensor_pin: PF3 | ||
control: pid | ||
pid_kp: 54.027 | ||
pid_ki: 0.770 | ||
pid_kd: 948.182 | ||
min_temp: 0 | ||
max_temp: 120 | ||
|
||
[fan] | ||
pin: PA8 | ||
shutdown_speed: 0.0 | ||
|
||
[heater_fan hotend_cooling_fan] | ||
pin: PE5 | ||
fan_speed: 1.0 | ||
heater: extruder | ||
heater_temp: 50.0 | ||
|
||
[controller_fan controller_fan] | ||
pin: PD12 | ||
fan_speed: 1.0 | ||
stepper: stepper_x, stepper_y, stepper_z | ||
|
||
[printer] | ||
kinematics: cartesian | ||
max_velocity: 500 | ||
max_accel: 20000 | ||
max_z_velocity: 15 | ||
max_z_accel: 2000 | ||
|
||
[mcu] | ||
serial: INSERTSERIALIDHERE | ||
|
||
[board_pins octopus_11_tmc2209] | ||
aliases: | ||
## Expansion ports | ||
# EXP1 header | ||
EXP1_1=PE8, EXP1_3=PE9, EXP1_5=PE12, EXP1_7=PE14, EXP1_9=<GND>, | ||
EXP1_2=PE7, EXP1_4=PE10, EXP1_6=PE13, EXP1_8=PE15, EXP1_10=<5V>, | ||
# EXP2 header | ||
EXP2_1=PA6, EXP2_3=PB1, EXP2_5=PB2, EXP2_7=PC15, EXP2_9=<GND>, | ||
EXP2_2=PA5, EXP2_4=PA4, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=PC5, | ||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi2" |
Oops, something went wrong.