aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic-mks-robin-nano-v2.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-02-20 09:59:45 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-02-20 10:17:16 -0500
commit83552f6ea6776497d534fe4fc0df740f4aad61f1 (patch)
tree6067e661049dfe69410b593f6667341537bda623 /config/generic-mks-robin-nano-v2.cfg
parent023eeceb2af86449ad09065cca89148a63a00a41 (diff)
downloadkutter-83552f6ea6776497d534fe4fc0df740f4aad61f1.tar.gz
kutter-83552f6ea6776497d534fe4fc0df740f4aad61f1.tar.xz
kutter-83552f6ea6776497d534fe4fc0df740f4aad61f1.zip
config: Add example generic-mks-robin-nano-v2.cfg config
Reported by @mks-viva. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/generic-mks-robin-nano-v2.cfg')
-rw-r--r--config/generic-mks-robin-nano-v2.cfg112
1 files changed, 112 insertions, 0 deletions
diff --git a/config/generic-mks-robin-nano-v2.cfg b/config/generic-mks-robin-nano-v2.cfg
new file mode 100644
index 00000000..80c707d7
--- /dev/null
+++ b/config/generic-mks-robin-nano-v2.cfg
@@ -0,0 +1,112 @@
+# This file contains common pin mappings for MKS Robin Nano V2
+# 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 28KiB bootloader, disable "USB for
+# communication", and select USART3 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_nano35.bin
+# Copy the file out/Robin_nano35.bin to an SD card and then restart the
+# printer with that SD card.
+
+# See docs/Config_Reference.md for a description of parameters.
+
+[stepper_x]
+step_pin: PE3
+dir_pin: !PE2
+enable_pin: !PE4
+microsteps: 16
+rotation_distance: 40
+endstop_pin: PA15
+position_endstop: 0
+position_max: 300
+homing_speed: 50
+
+[stepper_y]
+step_pin: PE0
+dir_pin: !PB9
+enable_pin: !PE1
+microsteps: 16
+rotation_distance: 40
+endstop_pin: !PA12
+position_endstop: 0
+position_max: 300
+homing_speed: 50
+
+[stepper_z]
+step_pin: PB5
+dir_pin: PB4
+enable_pin: !PB8
+microsteps: 16
+rotation_distance: 8
+endstop_pin: !PA11
+position_endstop: 0.5
+position_max: 200
+
+[extruder]
+step_pin: PD6
+dir_pin: !PD3
+enable_pin: !PB3
+microsteps: 16
+rotation_distance: 33.500
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+heater_pin: PC3
+sensor_type: ATC Semitec 104GT-2
+sensor_pin: PC1
+control: pid
+pid_Kp: 14.669
+pid_Ki: 0.572
+pid_Kd: 94.068
+min_temp: 0
+max_temp: 250
+
+#[extruder1]
+#step_pin: PA6
+#dir_pin: !PA1
+#enable_pin: !PA3
+#heater_pin: PB0
+#sensor_pin: PC2
+#...
+
+[heater_bed]
+heater_pin: PA0
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PC0
+control: pid
+pid_Kp: 325.10
+pid_Ki: 63.35
+pid_Kd: 417.10
+min_temp: 0
+max_temp: 130
+
+[fan]
+pin: PB1
+
+[mcu]
+serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
+restart_method: command
+
+[printer]
+kinematics: cartesian
+max_velocity: 250
+max_accel: 4500
+max_z_velocity: 25
+max_z_accel: 100
+
+########################################
+# EXP1 / EXP2 (display) pins
+########################################
+
+[board_pins]
+aliases:
+ # EXP1 header
+ EXP1_2=PE13, EXP1_4=PC6, EXP1_6=PE15, EXP1_8=PD10, EXP1_10=<5V>,
+ EXP1_1=PC5, EXP1_3=PD13, EXP1_5=PE14, EXP1_7=PD11, EXP1_9=<GND>,
+ # EXP2 header
+ EXP2_2=PA5, EXP2_4=PE0, EXP2_6=PE10, EXP2_8=<RST>, EXP2_10=<3.3v>,
+ EXP2_1=PA6, EXP2_3=PE8, EXP2_5=PE11, EXP2_7=PE12, EXP2_9=<GND>
+ # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"
+
+# See the sample-lcd.cfg file for definitions of common LCD displays.