diff --git a/config/generic-mellow-fly-d5.cfg b/config/generic-mellow-fly-d5.cfg new file mode 100644 index 000000000..7a63cae63 --- /dev/null +++ b/config/generic-mellow-fly-d5.cfg @@ -0,0 +1,170 @@ +# This file contains common pin mappings for the Mellow Fly D5 + +# Important! Do not use this config with a Fly DP5 board! + +# To use this board in serial mode, during "make menuconfig", select "Enable +# low-level configuration options", select the STM32F072 +# micro-controller, select a "8KiB bootloader", and select a "8Mhz +# crystal", "USB (On PA11/PA12)" + +# To use this board in CAN bus bridge mode(along with a CAN bus toolhead +# board), during "make menuconfig", select "Enable low-level +# configuration options", select the STM32F072 micro-controller, +# select a "8KiB bootloader", and select a "8Mhz crystal", +# "USB to CAN bus bridge (USB on PA11/PA12)". In this mode, the mainboard +# it self will also work in CAN bus mode, so you will need a canbus_uuid +# instead of serial. + +# See docs/Config_Reference.md for a description of parameters. + +[mcu] +serial: /dev/serial/by-id/usb-klipper-stm32f072xx-1234567890987654321 # Replace with your serial address here, see docs/FAQ.md#wheres-my-serial-port for more +#canbus_uuid: 11aa22bb33cc # Replace with your canbus uuid here, see docs/CANBUS.md for more + +[temperature_sensor Fly-D5] # Mainboard Temperature +sensor_type: temperature_mcu + +[printer] +kinematics: corexy # Replace with your machine's kinematic!(e.g. cartesian/delta) +max_velocity: 350 +max_accel: 10000 +max_z_velocity: 10 +max_z_accel: 200 + +[extruder] +step_pin: PC5 +dir_pin: !PC4 +enable_pin: !PB0 +microsteps: 64 +nozzle_diameter: 0.4 +filament_diameter: 1.75 +rotation_distance: 23.310912 +gear_ratio: 50:10 +heater_pin: PC6 +sensor_pin: PC1 +sensor_type: Generic 3950 +control: pid # Run "PID_CALIBRATE HEATER=extruder TARGET=250" to calibrate flowing pid control values before print! They are just placeholders! +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 300 + +#[tmc2209 extruder] # Uncomment this section if using a TMC2209 stepper driver, replace it with your TMC model. Applies to the other [tmc2209] section. +#uart_pin: PA7 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +[stepper_x] +step_pin: PC15 +dir_pin: PC14 +enable_pin: !PC2 +microsteps: 64 +rotation_distance: 40 # See docs/Rotation_Distance.md +endstop_pin:^PB4 +position_endstop: 0 +position_max: 200 + +#[tmc2209 stepper_x] +#uart_pin: PC13 +#cs_pin: PC13 # References for SPI TMC drivers(tmc5160, tmc2240, etc.) +#spi_bus: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +#[tmc5160 stepper_x] +#cs_pin: PC13 +#spi_bus: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +[stepper_y] +step_pin: PA1 +dir_pin: PA0 +enable_pin: !PA2 +microsteps: 64 +rotation_distance: 40 # Same as above +endstop_pin: ^PB3 +position_endstop: 0 +position_max: 200 + +#[tmc2209 stepper_y] +#uart_pin: PC3 +#cs_pin: PC3 +#spi_bud: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +#[tmc5160 stepper_y] +#cs_pin: PC3 +#spi_bud: spi2 +#interpolate: True +#run_current: 1.2 +#stealthchop_threshold: 0 + +[stepper_z] +step_pin: PA5 +dir_pin: PA4 +enable_pin: !PA6 +microsteps: 64 +rotation_distance: 8 +endstop_pin: ^PD2 +position_endstop: 0 +position_max: 200 + +#[tmc2209 stepper_z] +#uart_pin: PA3 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +#[stepper_z1] # Uncomment this when using dual Z motors. Pins are the "E1" motor pins on the board. +#step_pin: PB10 +#dir_pin: PB2 +#enable_pin: !PB11 +#microsteps: 64 +#rotation_distance: 8 +#position_endstop: 0 +#position_max: 200 + +#[tmc2209 stepper_z1] +#uart_pin: PB1 +#interpolate: True +#run_current: 0.8 +#stealthchop_threshold: 0 + +#[bltouch] +#sensor_pin: ^PB5 +#control_pin: PA8 + +#[safe_z_home] #When using a probe for Z-endstop, it is recommended to use [safe_z_home] section to home the Z axis at the centre of your print bed. + +[fan] +pin: PC8 + +[heater_fan Heatbreak_Fan] +pin: PC9 + +[heater_bed] +heater_pin: PC7 +sensor_pin: PC0 +sensor_type: Generic 3950 +control: pid #Run "PID_CALIBRATE HEATER=heater_bed TARGET=70" to calibrate flowing pid control values before print! They are just placeholders! +pid_Kp: 10 +pid_Ki: 10 +pid_Kd: 10 +min_temp: 0 +max_temp: 100 + +[board_pins] +aliases: +# EXP1 header + EXP1_1=NC, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=NC, EXP1_9=, + EXP1_2=PA15, EXP1_4=PA14, EXP1_6=PA13, EXP1_8=NC, EXP1_10=<5V>, +# EXP2 header + EXP2_1=PB14, EXP2_3=PC12, EXP2_5=PB6, EXP2_7=NC, EXP2_9=, + EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=, EXP2_10= diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 92c340cb8..0c8904e33 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -142,6 +142,7 @@ CONFIG ../../config/generic-th3d-ezboard-lite-v1.2.cfg # Printers using the stm32f070 DICTIONARY stm32f070.dict +CONFIG ../../config/generic-mellow-fly-d5.cfg CONFIG ../../config/printer-monoprice-mini-delta-2017.cfg CONFIG ../../config/printer-monoprice-select-mini-v2-2018.cfg