Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Klipper3d/klipper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Gruber <gruberp@googlemail.com>2022-11-11 22:08:19 +0300
committerGitHub <noreply@github.com>2022-11-11 22:08:19 +0300
commit0233dd32cc79f6542d1481688af30fb503c36d5f (patch)
treef94bc4c1eda0504cd8aaaf19dcd32180c3543483
parent5b1a667659d3fd468adeef864d21b7c4c7fcb650 (diff)
config: create config for Geeetech 301 (#5830)
Create a working config for the Geeetech 301 printer. Signed-off-by: Peter Gruber <gruberp@googlemail.com>
-rw-r--r--config/printer-geeetech-301.cfg163
-rw-r--r--test/klippy/printers.test1
2 files changed, 164 insertions, 0 deletions
diff --git a/config/printer-geeetech-301.cfg b/config/printer-geeetech-301.cfg
new file mode 100644
index 000000000..329ed273a
--- /dev/null
+++ b/config/printer-geeetech-301.cfg
@@ -0,0 +1,163 @@
+# This file contains common pin mappings for the GTM32 PRO board in the Geeetech 301 printer
+# To use this config, the firmware should be compiled for the
+# STM32F103 with "No bootloader", serial (on USART1 PA10/PA9)
+# communication and GPIO pins to set at micro-controller startup set to
+# "!PB4,!PB5,!PB0,!PB1"
+
+# The "make flash" command does not work on the Geeetech 301. Instead,
+# after running "make", run the following command to flash the board:
+# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr -b 115200 /dev/ttyUSB0
+
+# See docs/Config_Reference.md for a description of parameters.
+
+[multi_pin heater]
+pins: PB4,PB5,PB0
+
+[multi_pin extruder_fans]
+pins: PB7,PB8,PB9
+
+[thermistor bed_thermistor]
+temperature1: 24
+resistance1: 104600
+temperature2: 40
+resistance2: 47700
+temperature3: 67
+resistance3: 13000
+
+[stepper_a]
+step_pin: PC6
+dir_pin: PD13
+enable_pin: !PA8
+microsteps: 16
+rotation_distance: 40
+endstop_pin: ^PE4
+homing_speed: 50
+position_endstop: 216
+arm_length: 201
+
+[stepper_b]
+step_pin: PA12
+dir_pin: PA11
+enable_pin: !PA15
+microsteps: 16
+rotation_distance: 40
+endstop_pin: ^PE2
+
+[stepper_c]
+step_pin: PD6
+dir_pin: PD3
+enable_pin: !PB3
+microsteps: 16
+rotation_distance: 40
+endstop_pin: ^PE0
+
+[extruder]
+step_pin: PC14
+dir_pin: !PC13
+enable_pin: !PC15
+microsteps: 16
+rotation_distance: 32
+nozzle_diameter: 0.4
+filament_diameter: 1.75
+pressure_advance: 0.15
+max_extrude_cross_section: 0.5
+max_extrude_only_velocity: 30
+max_extrude_only_accel: 500
+heater_pin: multi_pin:heater
+sensor_type: EPCOS 100K B57560G104F
+pullup_resistor: 4700
+inline_resistor: 220
+sensor_pin: PC0
+min_temp: 0
+max_temp: 250
+control: pid
+pid_Kp: 39
+pid_Ki: 2
+pid_Kd: 210
+
+[extruder1]
+step_pin: PA0
+dir_pin: !PB6
+enable_pin: !PA1
+microsteps: 16
+rotation_distance: 32
+nozzle_diameter: 0.4
+filament_diameter: 1.75
+shared_heater: extruder
+
+[extruder2]
+step_pin: PB2
+dir_pin: !PB11
+enable_pin: !PC4
+microsteps: 16
+rotation_distance: 32
+nozzle_diameter: 0.4
+filament_diameter: 1.75
+shared_heater: extruder
+
+[heater_bed]
+heater_pin: PB1
+sensor_type: bed_thermistor
+sensor_pin: PC3
+min_temp: 0
+max_temp: 150
+control: pid
+pid_Kp: 67
+pid_Ki: 4
+pid_Kd: 310
+
+[temperature_sensor board]
+sensor_type: temperature_mcu
+gcode_id: MCU
+
+[temperature_sensor secondary]
+sensor_pin: PC1
+sensor_type: EPCOS 100K B57560G104F
+pullup_resistor: 4700
+inline_resistor: 220
+gcode_id: SEC
+
+[temperature_sensor ambient]
+sensor_pin: PC2
+sensor_type: EPCOS 100K B57560G104F
+pullup_resistor: 4700
+inline_resistor: 220
+gcode_id: AMB
+
+[homing_heaters]
+heaters: extruder
+
+[heater_fan extruder]
+pin: multi_pin:extruder_fans
+heater: extruder
+max_power: 0.8
+off_below: 0.2
+shutdown_speed: 0
+
+[mcu]
+serial: /dev/ttyUSB0
+restart_method: cheetah
+
+[printer]
+kinematics: delta
+max_velocity: 300
+max_accel: 3000
+max_z_velocity: 150
+delta_radius: 94
+
+[output_pin beep]
+pin: PB10
+
+[output_pin lcd_beep]
+pin: PE12
+
+[display]
+lcd_type: hd44780
+rs_pin: PE6
+e_pin: PE14
+d4_pin: PD8
+d5_pin: PD9
+d6_pin: PD10
+d7_pin: PE15
+encoder_pins: ^PE9,^PE8
+click_pin: ^PE13
diff --git a/test/klippy/printers.test b/test/klippy/printers.test
index 5a60a0214..08fa47867 100644
--- a/test/klippy/printers.test
+++ b/test/klippy/printers.test
@@ -176,6 +176,7 @@ CONFIG ../../config/printer-eryone-er20-2021.cfg
CONFIG ../../config/printer-flsun-q5-2020.cfg
CONFIG ../../config/printer-flsun-qqs-2020.cfg
CONFIG ../../config/printer-fokoos-odin5-f3-2021.cfg
+CONFIG ../../config/printer-geeetech-301.cfg
CONFIG ../../config/printer-tronxy-x5sa-v6-2019.cfg
CONFIG ../../config/printer-tronxy-x5sa-pro-2020.cfg
CONFIG ../../config/printer-tronxy-xy-2-Pro-2020.cfg