aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKianusch Sayah Karadji <kianusch@gmail.com>2020-06-21 14:51:35 +0200
committerKevin O'Connor <kevin@koconnor.net>2020-06-25 12:37:10 -0400
commit2ae6c220e369b59899a29bf0b00fbf2da6482a5e (patch)
tree98444dd758c39f6d3bf1decccf347931faa4e8d2
parent014c06f8a20dd931fcd41e0068150dadafc7f74f (diff)
downloadkutter-2ae6c220e369b59899a29bf0b00fbf2da6482a5e.tar.gz
kutter-2ae6c220e369b59899a29bf0b00fbf2da6482a5e.tar.xz
kutter-2ae6c220e369b59899a29bf0b00fbf2da6482a5e.zip
config: Example configuration for MKS Robin E3D/E3
Signed-off-by: Kianusch Sayah Karadji <kianusch@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--config/generic-mks-robin-e3.cfg126
-rw-r--r--test/klippy/printers.test1
2 files changed, 127 insertions, 0 deletions
diff --git a/config/generic-mks-robin-e3.cfg b/config/generic-mks-robin-e3.cfg
new file mode 100644
index 00000000..c68a2650
--- /dev/null
+++ b/config/generic-mks-robin-e3.cfg
@@ -0,0 +1,126 @@
+# This file contains common pin mappings for MKS Robin E3 boards. To
+# use this config, the firmware should be compiled for the STM32F103.
+# When running "make menuconfig", enable "extra low-level
+# configuration setup", select the 20KiB bootloader, disable "USB for
+# communication", and select USART1 for the "Serial Port".
+
+# Note that the "make flash" command does not work with MKS Robin
+# boards. After running "make", run the following command:
+# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_e3.bin
+# Copy the file out/Robin_e3.bin to an SD card and then restart the
+# printer with that SD card.
+
+# MKS Robin E3 has onboard TMC2209. This config can also be used for
+# MKS Robin E3D if equipped with TMC2209 stepper drivers.
+
+# See the example.cfg file for a description of available parameters.
+
+[stepper_x]
+step_pin: PC0
+dir_pin: PB2
+enable_pin: !PC13
+step_distance: .0125
+endstop_pin: ^PA12
+position_endstop: 0
+position_max: 165
+homing_speed: 50
+
+[stepper_y]
+step_pin: PC2
+dir_pin: PB9
+enable_pin: !PB12
+step_distance: .0125
+endstop_pin: ^PA11
+position_endstop: 0
+position_max: 165
+homing_speed: 50
+
+[stepper_z]
+step_pin: PB7
+dir_pin: !PB6
+enable_pin: !PB8
+step_distance: .0025
+endstop_pin: ^PC6
+position_endstop: 0
+position_max: 200
+
+[extruder]
+step_pin: PB4
+dir_pin: PB3
+enable_pin: !PB5
+step_distance: 0.010753
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+heater_pin: PC9
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PA0
+control: pid
+pid_Kp: 21.527
+pid_Ki: 1.063
+pid_Kd: 108.982
+min_temp: 0
+max_temp: 250
+
+[tmc2209 stepper_x]
+uart_pin: PC7
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[tmc2209 stepper_y]
+uart_pin: PD2
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 250
+
+[tmc2209 stepper_z]
+uart_pin: PC12
+microsteps: 16
+run_current: 0.650
+hold_current: 0.450
+stealthchop_threshold: 30
+
+[tmc2209 extruder]
+uart_pin: PC11
+microsteps: 16
+run_current: 0.800
+hold_current: 0.500
+stealthchop_threshold: 5
+
+[fan]
+pin: PA8
+
+#[heater_bed]
+#heater_pin: PC8
+#sensor_pin: PA1
+#...
+
+#[bltouch]
+#sensor_pin: ^PC6
+#control_pin: PA3
+#...
+
+[mcu]
+serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
+restart_method: command
+
+[printer]
+kinematics: cartesian
+max_velocity: 300
+max_accel: 1500
+max_z_velocity: 5
+max_z_accel: 100
+
+# EXP1 / EXP2 (display) pins
+[board_pins]
+aliases:
+ # EXP1 header
+ EXP1_1=PC3, EXP1_3=PA4, EXP1_5=PA6, EXP1_7=PC4, EXP1_9=<GND>,
+ EXP1_2=PC1, EXP1_4=PA5, EXP1_6=PA7, EXP1_8=PC5, EXP1_10=<5V>,
+ # EXP2 header
+ EXP2_1=PB14, EXP2_3=PB11, EXP2_5=PB0, EXP2_7=PC10, EXP2_9=<GND>,
+ EXP2_2=PB13, EXP2_4=PA15, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>
+
+# See the sample-lcd.cfg file for definitions of common LCD displays.
diff --git a/test/klippy/printers.test b/test/klippy/printers.test
index b983e0b7..5168ca9f 100644
--- a/test/klippy/printers.test
+++ b/test/klippy/printers.test
@@ -120,6 +120,7 @@ CONFIG ../../config/generic-bigtreetech-skr-e3-dip.cfg
DICTIONARY stm32f103-serial.dict
CONFIG ../../config/generic-fysetc-cheetah-v1.1.cfg
CONFIG ../../config/generic-fysetc-cheetah-v1.2.cfg
+CONFIG ../../config/generic-mks-robin-e3.cfg
CONFIG ../../config/generic-mks-robin-nano.cfg
CONFIG ../../config/printer-alfawise-u30-2018.cfg
CONFIG ../../config/printer-twotrees-sapphire-pro-2020.cfg