From dafb74e3aba707db364ed773bb2135084ac0fffa Mon Sep 17 00:00:00 2001 From: Demetrius Apostolopoulos <75643490+dapostol73@users.noreply.github.com> Date: Thu, 15 Jul 2021 11:11:55 -0700 Subject: [PATCH] config: New printer profile for Eryone ER20 and minor update for Eryone Thinker Series (#4491) This config was a community effort and was author and tested by sihawken, 3D.Subzwari & dapostol73. Signed-off-by: Demetrius Apostolopoulos --- config/printer-eryone-er20-2021.cfg | 185 ++++++++++++++++++ .../printer-eryone-thinker-series-v2-2020.cfg | 3 +- test/klippy/printers.test | 1 + 3 files changed, 188 insertions(+), 1 deletion(-) create mode 100644 config/printer-eryone-er20-2021.cfg diff --git a/config/printer-eryone-er20-2021.cfg b/config/printer-eryone-er20-2021.cfg new file mode 100644 index 00000000..ff730dad --- /dev/null +++ b/config/printer-eryone-er20-2021.cfg @@ -0,0 +1,185 @@ +# This file contains common pin mappings for the Eryone ER-20 board +# board. To use this config, the firmware should be compiled for the +# STM32F103 with a 16KiB HID Bootloader. + +# Extra settings to support BL Touch, Filament Runout sensor and +# have setting for fixing GCode errors, these configus can be found on +# Eryone's Facebook Group under files. +# Facebook like to files: https://www.facebook.com/groups/247271792709370/files + +# See docs/Config_Reference.md for a description of parameters. + +[stepper_x] +step_pin: PB15 +dir_pin: PB14 +rotation_distance: 40 +enable_pin: !PD10 +microsteps: 16 +endstop_pin: tmc2209_stepper_x:virtual_endstop +position_endstop: 0 +position_max: 250 +homing_speed: 40 +homing_retract_dist: 0 + +[tmc2209 stepper_x] +uart_pin: PC11 +tx_pin: PC10 +diag_pin: ^PD8 +uart_address: 2 +run_current: 0.6 +hold_current: 0.3 +stealthchop_threshold: 999999 +driver_SGTHRS: 80 + +[stepper_y] +step_pin: PD14 +dir_pin: !PD13 +enable_pin: !PC6 +microsteps: 16 +rotation_distance: 40 +endstop_pin: tmc2209_stepper_y:virtual_endstop +position_min: -9 +position_endstop: -9 +position_max: 235 +homing_speed: 50 +homing_retract_dist: 0 + +[tmc2209 stepper_y] +uart_pin: PC11 +tx_pin: PC10 +diag_pin: ^PD15 +uart_address: 3 +run_current: 0.7 +hold_current: 0.35 +stealthchop_threshold: 999999 +driver_SGTHRS: 100 + +[stepper_z] +step_pin: PC8 +dir_pin: !PC7 +enable_pin: !PA8 +microsteps: 16 +rotation_distance: 8 +endstop_pin: probe:z_virtual_endstop +position_max: 250 +position_min: -1 + +[tmc2209 stepper_z] +uart_pin: PC11 +tx_pin: PC10 +diag_pin: ^PC9 +uart_address: 1 +run_current: 0.7 +hold_current: 0.35 +stealthchop_threshold: 999999 +driver_SGTHRS: 0 + +[extruder] +step_pin: PE13 +dir_pin: PE14 +enable_pin: !PB13 +microsteps: 16 +# Stock extruder [200 steps/rot]*[16 steps]/[93 steps/mm] +rotation_distance: 34.4 +nozzle_diameter: 0.4 +filament_diameter: 1.75 +max_extrude_only_distance: 150 +heater_pin: PD11 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PC1 +control: pid +pid_kp: 26.11 +pid_ki: 2.01 +pid_kd: 85 +min_temp: 0 +max_temp: 250 + +[tmc2209 extruder] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 0 +run_current: 0.7 +hold_current: 0.35 +stealthchop_threshold: 999999 + +[heater_bed] +heater_pin: PD12 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PC2 +control: pid +pid_kp: 100.12 +pid_ki: 5 +pid_kd: 305 +min_temp: 0 +max_temp: 100 + +[fan] +pin: PB5 + +[heater_fan nozzle_cooling_fan] +pin: PB4 + +[mcu] +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 +restart_method: command + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 1500 +max_z_velocity: 5 +max_z_accel: 100 + +###################################################################### +# Probing/Mesh Leveling settings for stock BL Touch. +# Please make sure you set the correct values for your offsets. +###################################################################### + +[bltouch] +sensor_pin: ^PA11 +control_pin: PA12 +pin_move_time: 0.700 +x_offset: 34 +y_offset: 0 +z_offset: 2.6 +pin_up_touch_mode_reports_triggered: False + +[safe_z_home] +home_xy_position: 5,5 +z_hop: 5.0 +z_hop_speed: 5.0 + +[bed_mesh] +speed: 80 +mesh_min: 40,20 +mesh_max: 210,205 +probe_count: 5,5 + +###################################################################### +# "RepRapDiscount 128x64 Full Graphic Smart Controller" type display +###################################################################### + +[display] +lcd_type: st7920 +cs_pin: EXP1_4 +sclk_pin: EXP1_5 +sid_pin: EXP1_3 +encoder_pins: ^EXP2_3, ^EXP2_5 +click_pin: ^!EXP1_2 +#kill_pin: ^!EXP2_8 + +[output_pin beeper] +pin: EXP1_1 + +###################################################################### +# EXP1 / EXP2 (display) pins +###################################################################### + +[board_pins] +aliases: + # EXP1 header + EXP1_1=PE12, EXP1_3=PE10, EXP1_5=PE8, EXP1_7=PB2, + EXP1_2=PE11, EXP1_4=PE9, EXP1_6=PE7, EXP1_8=PB1, + # EXP2 header + EXP2_3=PE4, EXP2_5=PE3 + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi2" diff --git a/config/printer-eryone-thinker-series-v2-2020.cfg b/config/printer-eryone-thinker-series-v2-2020.cfg index cd7563d4..31a6d5fd 100644 --- a/config/printer-eryone-thinker-series-v2-2020.cfg +++ b/config/printer-eryone-thinker-series-v2-2020.cfg @@ -84,7 +84,8 @@ min_temp: 0 max_temp: 100 [mcu] -serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 +serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 +restart_method: command [printer] kinematics: cartesian diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 0e1327ba..deba9628 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -155,6 +155,7 @@ CONFIG ../../config/printer-creality-ender3-v2-2020.cfg CONFIG ../../config/printer-creality-ender3max-2021.cfg CONFIG ../../config/printer-creality-ender3pro-2020.cfg CONFIG ../../config/printer-creality-ender6-2020.cfg +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