aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Fichtner <47699362+Crykor90@users.noreply.github.com>2021-10-11 22:26:14 +0200
committerGitHub <noreply@github.com>2021-10-11 16:26:14 -0400
commit5d52a3b19fecaaacc50221e137a56458cf0f9c4e (patch)
tree68f6e113d70f9d596bd99158718fdfbcc046f2cc
parent64e464987772059314a46d67b86aaeb51a0f3a40 (diff)
downloadkutter-5d52a3b19fecaaacc50221e137a56458cf0f9c4e.tar.gz
kutter-5d52a3b19fecaaacc50221e137a56458cf0f9c4e.tar.xz
kutter-5d52a3b19fecaaacc50221e137a56458cf0f9c4e.zip
config: Anycubic Vyper (#4740)
This commit contains a configuration for the Anycubic Vyper printer from 2021. It uses a clone of the STM32F103 chip named GD32F103. There are 2 Mainboard versions out there v0.0.5 and v0.0.6, this config has been tested with the v0.0.6 only. It should probably work for v0.0.5 as well since there are no different changes in the Anycubic Marlin firmware. The LCD is not supported yet (might work, but didn't try yet). Signed-off-by: Marc Neuhaus <marc@neuhaus.nrw> Signed-off-by: Manuel Fichtner <manuel.fichtner@me.com>
-rw-r--r--config/printer-anycubic-vyper-2021.cfg143
-rw-r--r--src/stm32/Kconfig2
-rw-r--r--test/klippy/printers.test1
3 files changed, 145 insertions, 1 deletions
diff --git a/config/printer-anycubic-vyper-2021.cfg b/config/printer-anycubic-vyper-2021.cfg
new file mode 100644
index 00000000..7ef7fa5b
--- /dev/null
+++ b/config/printer-anycubic-vyper-2021.cfg
@@ -0,0 +1,143 @@
+# This file contains a configuration for the Anycubic Vyper printer from 2021.
+# It uses a clone of the STM32F103 chip named GD32F103.
+# There are 2 Mainboard versions out there v0.0.5 and v0.0.6, this config has
+# been tested with the v0.0.6 only. It should probably work for v0.0.5 as well
+# since there are no different changes in the Anycubic Marlin firmware.
+# The LCD is not supported yet (might work, but didn't try yet).
+#
+# To create the Firmware you need to use the following configuration:
+# - Micro-controller: STM32
+# - Processor model: STM32F103
+# - Bootloader offset: 32KiB
+# - Communication interface: Serial (on USART1 PA10/PA9)
+#
+# To install the Firmware rename the klipper bin to `main_board_20xxxxxx.bin`
+# and copy it to an SD Card.
+# Power off the Printer, insert the SD Card and power it on.
+# It should beep several times and the LCD should be stuck on the Splash screen.
+# Now you should be able to connect to the Printer, you might need to change
+# the mcu/serial setting in this config according to your set up.
+#
+# If you want to revert the Firmware back to Marlin you simply need to flash it
+# with a anycubic firmware through the SD Card
+
+[stepper_x]
+step_pin: PC2
+dir_pin: PB9
+enable_pin: !PC3
+microsteps: 16
+rotation_distance: 40
+endstop_pin: !PA7
+position_min: -3
+position_endstop: -3
+position_max: 245
+homing_speed: 30.0
+
+[stepper_y]
+step_pin: PB8
+dir_pin: PB7
+enable_pin: !PC13
+microsteps: 16
+rotation_distance: 32
+endstop_pin: !PC5
+position_min: -17
+position_endstop: -17
+position_max: 245
+homing_speed: 30.0
+
+[stepper_z]
+step_pin: PB6
+dir_pin: !PB5
+enable_pin: !PC14
+microsteps: 16
+rotation_distance: 8
+endstop_pin: PB2
+position_endstop: 0.0
+position_max: 260
+position_min: -3
+homing_speed: 5.0
+
+[stepper_z1]
+step_pin: PC0
+dir_pin: !PC1
+enable_pin: !PC15
+microsteps: 16
+rotation_distance: 8
+endstop_pin: PC6
+
+[extruder]
+step_pin: PB4
+dir_pin: !PB3
+enable_pin: !PA15
+microsteps: 16
+rotation_distance: 22.6789511 #has to be calibrated by everyone
+gear_ratio: 50:17
+full_steps_per_rotation: 200
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+heater_pin: PA1
+sensor_type: ATC Semitec 104GT-2
+sensor_pin: PC4
+control: pid
+pid_kp: 28.937
+pid_ki: 1.295
+pid_kd: 161.688
+min_temp: 0
+max_temp: 260
+
+[heater_fan extruder_fan]
+pin: PB1
+
+[heater_bed]
+heater_pin: PA4
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: PB0
+control: pid
+pid_kp: 67.648
+pid_ki: 1.044
+pid_kd: 1095.893
+min_temp: 0
+max_temp: 110
+
+[fan]
+pin: PA0
+
+[probe]
+pin: !PB12
+z_offset: 0
+activate_gcode:
+ probe_reset
+
+[output_pin probe_reset_pin]
+pin: PB13
+
+[bed_mesh]
+mesh_min: 15,15
+mesh_max: 230, 230
+probe_count: 6,6
+
+[filament_switch_sensor runout]
+pause_on_runout: True
+switch_pin: PA5
+
+[mcu]
+serial: /dev/ttyUSB0
+restart_method: command
+
+[safe_z_home]
+home_xy_position: -3,-17
+z_hop: 10
+
+[printer]
+kinematics: cartesian
+max_velocity: 300
+max_accel: 3000
+max_z_velocity: 10
+max_z_accel: 100
+
+[gcode_macro probe_reset]
+gcode:
+ SET_PIN PIN=probe_reset_pin VALUE=0
+ G4 P300
+ SET_PIN PIN=probe_reset_pin VALUE=1
+ G4 P100
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index ecb6a0e1..26b36d0a 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -158,7 +158,7 @@ choice
config STM32_FLASH_START_7000
bool "28KiB bootloader" if MACH_STM32F103
config STM32_FLASH_START_8000
- bool "32KiB bootloader" if MACH_STM32F207 || MACH_STM32F4x5 || MACH_STM32F446
+ bool "32KiB bootloader" if MACH_STM32F103 || MACH_STM32F207 || MACH_STM32F4x5 || MACH_STM32F446
config STM32_FLASH_START_8800
bool "34KiB bootloader (Chitu v6 Bootloader)" if MACH_STM32F103
config STM32_FLASH_START_20200
diff --git a/test/klippy/printers.test b/test/klippy/printers.test
index 2c636752..72f651ae 100644
--- a/test/klippy/printers.test
+++ b/test/klippy/printers.test
@@ -138,6 +138,7 @@ CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v2.0.cfg
CONFIG ../../config/generic-bigtreetech-skr-mini-mz.cfg
CONFIG ../../config/generic-bigtreetech-skr-cr6-v1.0.cfg
CONFIG ../../config/generic-bigtreetech-skr-e3-dip.cfg
+CONFIG ../../config/printer-anycubic-vyper-2021.cfg
# Printers using the stm32f103 via serial
DICTIONARY stm32f103-serial.dict