From eedbe3750649548f90f375110ef78d34abdcdab2 Mon Sep 17 00:00:00 2001 From: Philip Mally Date: Sat, 9 Mar 2019 16:47:38 -0800 Subject: [PATCH] configs --- .gitignore | 2 + config/g2printrboard | 108 +++++++++ ...ter-printrbot-Play-V2_Einsy_Rambo-2016.cfg | 202 +++++++++++++++++ ...rintrbot-Simple-Pro-2016xy Einsy-Rambo.cfg | 208 ++++++++++++++++++ ...rinter-printrbot-simple-pro Einsy-2016.cfg | 133 ++++++++--- 5 files changed, 617 insertions(+), 36 deletions(-) create mode 100644 config/g2printrboard create mode 100644 config/printer-printrbot-Play-V2_Einsy_Rambo-2016.cfg create mode 100644 config/printer-printrbot-Simple-Pro-2016xy Einsy-Rambo.cfg diff --git a/.gitignore b/.gitignore index f9521672a473..72eab71ffcf9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ out .config .config.old klippy/.version +config/g2-sam3xc-due.cfg +config/g2-sam3xc.cfg diff --git a/config/g2printrboard b/config/g2printrboard new file mode 100644 index 000000000000..4912c6d92a19 --- /dev/null +++ b/config/g2printrboard @@ -0,0 +1,108 @@ +[mcu] +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 +baud: 250000 + +[stepper_x] +step_pin: B15 +dir_pin: A16 +enable_pin: B16 +step_distance: .005 +endstop_pin: ^B26 +position_endstop: 0 +position_max: 170 + +[stepper_y] +step_pin: A21 +dir_pin: A26 +enable_pin: A25 +step_distance: .005 +endstop_pin: ^A11 +position_endstop: 0 +position_max: 220 + +[stepper_z] +step_pin: A29 +dir_pin: B1 +enable_pin: B0 +step_distance: .005 +endstop_pin: ^A10 +position_endstop: 0 +position_max: 190 + +[extruder] +step_pin: B14 +dir_pin: B23 +enable_pin: !B22 +step_distance: .002 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: A5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: A23 +control: pid +pid_Kp: 22.2 +pid_Ki: 1.08 +pid_Kd: 114 +min_temp: 0 +max_temp: 250 + + + +[output_pin stepper_x_current] +pin: PB17, PB +pwm: True +scale: 2.0 +cycle_time: .000030 +hardware_pwm: True +static_value: 1.3 + +[output_pin stepper_y_current] +pin: B18 +pwm: True +scale: 2.0 +cycle_time: .000030 +hardware_pwm: True +static_value: 1.3 + +[output_pin stepper_z_current] +pin: B19 +pwm: True +scale: 2.0 +cycle_time: .000030 +hardware_pwm: True +static_value: 1.3 + +[output_pin stepper_e_current] +pin: A2 +pwm: True +scale: 2.0 +cycle_time: .000030 +hardware_pwm: True +static_value: 1.3 + + +[driver drv8825_32 stepper x] +type = DRV8825 +microsteps = 16 + +[static_digital_output stepper_config] +pins: + A19, B20, A27, B10 + +[fan] +pin: a6 +#pin: b25 +#pin: b27 + +#[heater_fan nozzle_cooling_fan] +#pin: b25 + +[printer] +kinematics: cartesian +max_velocity: 400 +max_accel: 3000 +max_z_velocity: 25 +max_z_accel: 30 + +[static_digital_output yellow_led] +pins: B3 \ No newline at end of file diff --git a/config/printer-printrbot-Play-V2_Einsy_Rambo-2016.cfg b/config/printer-printrbot-Play-V2_Einsy_Rambo-2016.cfg new file mode 100644 index 000000000000..157488226636 --- /dev/null +++ b/config/printer-printrbot-Play-V2_Einsy_Rambo-2016.cfg @@ -0,0 +1,202 @@ +# This file contains common pin mappings for Einsy Rambo boards. To use +# this config, the firmware should be compiled for the AVR atmega2560. +# See the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: PC0 +dir_pin: PL0 +enable_pin: !PA7 +step_distance: 0.00625 +endstop_pin: tmc2130_stepper_x:virtual_endstop +position_endstop: 0 +position_max: 171 +homing_speed: 50.0 +homing_retract_dist: 0 +homing_positive_dir: false + +[tmc2130 stepper_x] +cs_pin: PG0 +microsteps: 32 +run_current: .9 +sense_resistor: 0.220 +diag1_pin: !PK2 +driver_SGT: 4 +interpolate: true + +[stepper_y] +step_pin: PC1 +dir_pin: !PL1 +enable_pin: !PA6 +step_distance: 0.00625 +endstop_pin: tmc2130_stepper_y:virtual_endstop +position_endstop: 200 +position_max: 200 +position_min: 0 +homing_speed: 50.0 +homing_retract_dist: 0 +homing_positive_dir: true + +[tmc2130 stepper_y] +cs_pin: PG2 +microsteps: 32 +run_current: .9 +hold_current: .75 +sense_resistor: 0.220 +diag1_pin: !PK7 +driver_SGT: 5 + +[stepper_z] +step_pin: PC2 +dir_pin: !PL2 +enable_pin: !PA5 +step_distance: .0025 +endstop_pin: probe:z_virtual_endstop +position_min: -2 +position_max: 190 +homing_positive_dir: false +homing_speed: 8 + +[homing_override] +set_position_z: 0 +axes: z +gcode: + G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start + G1 Z3 F600 + G28 X0 Y0 + G1 X100 Y100 F3600 + G28 Z0 + +[probe] +x_offset: 20 +z_offset: 1.86 +pin: ^PB4 +speed: 10 + +[bed_mesh] +#horizontal_move_z: 1 +samples: 2 +sample_retract_dist: 4 +min_point: 0,20 +max_point: 130,175 +probe_count: 4,4 +bicubic_tension: .2 +mesh_pps: 2,2 +algorithm: bicubic + +[gcode_macro G29] +gcode: + BED_MESH_CALIBRATE + +[tmc2130 stepper_z] +cs_pin: PK5 +microsteps: 16 +run_current: .9 +sense_resistor: 0.220 +diag1_pin: !PK6 +interpolate: true + +[extruder] +step_pin: PC3 +dir_pin: PL6 +enable_pin: !PA4 +step_distance: 0.007874 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +max_extrude_cross_section: 4.0 +pressure_advance: 0.075 +pressure_advance_lookahead_time: 0.010 +#max_extrude_only_distance: 50.0 +#max_extrude_only_velocity: +#max_extrude_only_accel: +heater_pin: PE5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PF0 +#control = pid +#pid_kp = 29.852 +#pid_ki = 2.843 +#pid_kd = 78.361 +min_extrude_temp: 165 +min_temp: 0 +max_temp: 275 +[verify_heater extruder] +heating_gain: 2 +check_gain_time:25 +hysteresis: 5 +max_error: 140 +[idle_timeout] +gcode: M84 +timeout: 600 + +[tmc2130 extruder] +cs_pin: PK4 +microsteps: 16 +run_current: .9 +sense_resistor: 0.220 +diag1_pin: !PK3 +interpolate: true + +[heater_bed] +heater_pin: PG5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PF2 +control: watermark +min_temp: 0 +max_temp: 110 + +[heater_fan my_nozzle_fan] +pin: PH3 +heater: extruder +heater_temp: 50.0 +fan_speed: 1.0 + +[fan] +pin: PH5 + +[mcu] +serial: /dev/ttyACM0 + +[printer] +kinematics: cartesian +max_velocity: 350 +max_accel: 1800 +max_accel_to_decel:1000 +max_z_velocity: 10 +max_z_accel: 300 +square_corner_velocity: 5.0 + +[endstop_phase stepper_z] +endstop_align_zero: False + +#[display] +#lcd_type:hd44780 + +[static_digital_output yellow_led] +pins: !PB7 + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bed_mesh default] +#*# points = +#*# 0.011250, -0.067500, -0.093750, -0.071250 +#*# 0.051250, -0.036250, -0.061250, -0.006250 +#*# 0.075000, 0.032500, 0.005000, 0.021250 +#*# 0.045000, 0.112500, 0.055000, -0.030000 +#*# x_count = 4 +#*# y_count = 4 +#*# min_x = 0.0 +#*# max_x = 129.99 +#*# min_y = 20.0 +#*# max_y = 174.98 +#*# x_offset = 20.0 +#*# y_offset = 0.0 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 29.852 +#*# pid_ki = 2.843 +#*# pid_kd = 78.361 diff --git a/config/printer-printrbot-Simple-Pro-2016xy Einsy-Rambo.cfg b/config/printer-printrbot-Simple-Pro-2016xy Einsy-Rambo.cfg new file mode 100644 index 000000000000..8c76cf4582e5 --- /dev/null +++ b/config/printer-printrbot-Simple-Pro-2016xy Einsy-Rambo.cfg @@ -0,0 +1,208 @@ +# This file contains common pin mappings for Einsy Rambo boards. To use +# this config, the firmware should be compiled for the AVR atmega2560. +# See the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: PC0 +dir_pin: PL0 +enable_pin: !PA7 +step_distance: 0.00625 +endstop_pin: tmc2130_stepper_x:virtual_endstop +position_endstop: 0 +position_max: 200 +homing_speed: 60.0 +homing_retract_dist: 0 +homing_positive_dir: false + +[tmc2130 stepper_x] +cs_pin: PG0 +microsteps: 32 +run_current: .9 +hold_current: .75 +sense_resistor: 0.220 +diag1_pin: !PK2 +driver_SGT: 0 +interpolate: true + +[stepper_y] +step_pin: PC1 +dir_pin: PL1 +enable_pin: !PA6 +step_distance: 0.00625 +endstop_pin: tmc2130_stepper_y:virtual_endstop +position_endstop: 140 +position_max: 140 +position_min: 0 +homing_speed: 60.0 +homing_retract_dist: 0 +homing_positive_dir: true + +[tmc2130 stepper_y] +cs_pin: PG2 +microsteps: 32 +run_current: .9 +hold_current: .75 +sense_resistor: 0.220 +diag1_pin: !PK7 +driver_SGT: 3 +interpolate: true + +[stepper_z] +step_pin: PC2 +dir_pin: PL2 +enable_pin: !PA5 +step_distance: .0025 +endstop_pin: probe:z_virtual_endstop +position_max: 190 +position_min: -2 +homing_positive_dir: false +homing_speed: 8 + +[homing_override] +set_position_z: 0 +axes: z +gcode: + G90 ; Uncomment these 2 lines to blindly lift the Z 5mm at start + G1 Z5 F600 + G28 X0 Y0 + G1 X110 Y75 F3600 + G28 Z0 + +[probe] +x_offset: 20 +z_offset: -.35 +pin: ^PB4 +speed: 10 + +[bed_mesh] +#horizontal_move_z: 1 +samples: 2 +sample_retract_dist: 4 +min_point: 0,20 +max_point: 200,130 +probe_count: 4,4 +bicubic_tension: .2 +mesh_pps: 2,2 +algorithm: bicubic + +[gcode_macro G29] +gcode: + BED_MESH_CALIBRATE + +[tmc2130 stepper_z] +cs_pin: PK5 +microsteps: 16 +run_current: .9 +hold_current: .75 +sense_resistor: 0.220 +diag1_pin: !PK6 +interpolate: true + +[extruder] +step_pin: PC3 +dir_pin: PL6 +enable_pin: !PA4 +step_distance: 0.007874 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +max_extrude_cross_section: 4.0 +pressure_advance: 0.025 +pressure_advance_lookahead_time: 0.010 +#max_extrude_only_distance: 50.0 +#max_extrude_only_velocity: +#max_extrude_only_accel: +heater_pin: PE5 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PF0 +#control = pid +#pid_kp = 29.852 +#pid_ki = 2.843 +#pid_kd = 78.361 +min_extrude_temp: 165 +min_temp: 0 +max_temp: 275 +[verify_heater extruder] +heating_gain: 2 +check_gain_time:25 +hysteresis: 5 +max_error: 140 +[idle_timeout] +gcode: M84 +timeout: 600 + +[tmc2130 extruder] +cs_pin: PK4 +microsteps: 16 +run_current: .9 +sense_resistor: 0.220 +diag1_pin: !PK3 +interpolate: true + +#[heater_bed] +#heater_pin: PG5 +#sensor_type: EPCOS 100K B57560G104F +#sensor_pin: PF2 +#control: watermark +#min_temp: 0 +#max_temp: 110 + +[heater_fan my_nozzle_fan] +pin: PH3 +heater: extruder +heater_temp: 50.0 +fan_speed: 1.0 + +[fan] +pin: PH5 + +[mcu] +serial: /dev/ttyACM0 + +[printer] +kinematics: cartesian +max_velocity: 350 +max_accel: 1800 +max_z_velocity: 10 +max_z_accel: 100 +max_accel_to_decel:1500 +square_corner_velocity: 5.0 + +[endstop_phase stepper_z] +endstop_align_zero: False + +#[display] +#lcd_type:hd44780 + +[static_digital_output yellow_led] +pins: !PB7 + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bed_mesh default] +#*# points = +#*# 0.048945, 0.189505, 0.143070, 0.114205 +#*# 0.117970, 0.086595, 0.038905, 0.033885 +#*# 0.128010, -0.112950, -0.160640, -0.160640 +#*# -0.376500, -0.371480, -0.392815, -0.415405 +#*# x_count = 4 +#*# y_count = 4 +#*# min_x = 0.0 +#*# max_x = 199.98 +#*# min_y = 20.0 +#*# max_y = 129.98 +#*# x_offset = 20.0 +#*# y_offset = 0.0 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 23.727 +#*# pid_ki = 1.818 +#*# pid_kd = 77.409 +#*# +#*# [endstop_phase stepper_z] +#*# endstop_phase = 7 \ No newline at end of file diff --git a/config/printer-printrbot-simple-pro Einsy-2016.cfg b/config/printer-printrbot-simple-pro Einsy-2016.cfg index d30074b57bde..82d6e87d6656 100644 --- a/config/printer-printrbot-simple-pro Einsy-2016.cfg +++ b/config/printer-printrbot-simple-pro Einsy-2016.cfg @@ -1,13 +1,12 @@ # This file contains common pin mappings for Einsy Rambo boards. To use # this config, the firmware should be compiled for the AVR atmega2560. - # See the example.cfg file for a description of available parameters. [stepper_x] step_pin: PC0 dir_pin: PL0 enable_pin: !PA7 -step_distance: .0125 +step_distance: 0.00625 endstop_pin: tmc2130_stepper_x:virtual_endstop position_endstop: 0 position_max: 171 @@ -17,21 +16,21 @@ homing_positive_dir: false [tmc2130 stepper_x] cs_pin: PG0 -microsteps: 16 -run_current: .8 +microsteps: 32 +run_current: .9 sense_resistor: 0.220 diag1_pin: !PK2 -driver_SGT: 10 +driver_SGT: 4 interpolate: true [stepper_y] step_pin: PC1 -dir_pin: PL1 +dir_pin: !PL1 enable_pin: !PA6 -step_distance: .0125 +step_distance: 0.00625 endstop_pin: tmc2130_stepper_y:virtual_endstop -position_endstop: 220 -position_max: 220 +position_endstop: 200 +position_max: 200 position_min: 0 homing_speed: 50.0 homing_retract_dist: 0 @@ -39,48 +38,54 @@ homing_positive_dir: true [tmc2130 stepper_y] cs_pin: PG2 -microsteps: 16 -run_current: .8 +microsteps: 32 +run_current: .9 hold_current: .5 sense_resistor: 0.220 diag1_pin: !PK7 -driver_SGT: 10 +driver_SGT: 5 [stepper_z] step_pin: PC2 -dir_pin: PL2 +dir_pin: !PL2 enable_pin: !PA5 step_distance: .0025 endstop_pin: probe:z_virtual_endstop +position_min: -2 position_max: 190 homing_positive_dir: false homing_speed: 8 + [homing_override] set_position_z: 0 axes: z gcode: - G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start - G1 Z2 F600 + G90 ; Uncomment these 2 lines to blindly lift the Z 2mm at start + G1 Z3 F600 G28 X0 Y0 G1 X100 Y100 F3600 G28 Z0 [probe] x_offset: 20 -z_offset: 1.95 +z_offset: 1.86 pin: ^PB4 speed: 10 [bed_mesh] -horizontal_move_z: 0 -samples: 1 -sample_retract_dist: 2.0 -min_point: 0,5 -max_point: 150,200 -probe_count: 3,3 -#fade_start: 1.5 -algorithm: bicubic +#horizontal_move_z: 1 +samples: 2 +sample_retract_dist: 4 +min_point: 0,20 +max_point: 130,175 +probe_count: 4,4 bicubic_tension: .2 +mesh_pps: 2,2 +algorithm: bicubic + +[gcode_macro G29] +gcode: + BED_MESH_CALIBRATE [tmc2130 stepper_z] cs_pin: PK5 @@ -94,18 +99,33 @@ interpolate: true step_pin: PC3 dir_pin: PL6 enable_pin: !PA4 -step_distance: .00813 -nozzle_diameter: 0.500 +step_distance: 0.007874 +nozzle_diameter: 0.400 filament_diameter: 1.750 +max_extrude_cross_section: 4.0 +pressure_advance: 0.075 +pressure_advance_lookahead_time: 0.010 +#max_extrude_only_distance: 50.0 +#max_extrude_only_velocity: +#max_extrude_only_accel: heater_pin: PE5 sensor_type: EPCOS 100K B57560G104F sensor_pin: PF0 -control: pid -pid_Kp: 22.2 -pid_Ki: 1.08 -pid_Kd: 114 +#control = pid +#pid_kp = 29.852 +#pid_ki = 2.843 +#pid_kd = 78.361 +min_extrude_temp: 165 min_temp: 0 -max_temp: 250 +max_temp: 275 +[verify_heater extruder] +heating_gain: 2 +check_gain_time:25 +hysteresis: 5 +max_error: 140 +[idle_timeout] +gcode: M84 +timeout: 600 [tmc2130 extruder] cs_pin: PK4 @@ -121,7 +141,13 @@ sensor_type: EPCOS 100K B57560G104F sensor_pin: PF2 control: watermark min_temp: 0 -max_temp: 130 +max_temp: 110 + +[heater_fan my_nozzle_fan] +pin: PH3 +heater: extruder +heater_temp: 50.0 +fan_speed: 1.0 [fan] pin: PH5 @@ -131,11 +157,46 @@ serial: /dev/ttyACM0 [printer] kinematics: cartesian -max_velocity: 400 -max_accel: 3000 +max_velocity: 350 +max_accel: 1800 +max_accel_to_decel:1000 max_z_velocity: 10 -max_z_accel: 100 +max_z_accel: 300 square_corner_velocity: 5.0 +[endstop_phase stepper_z] +endstop_align_zero: False + +#[display] +#lcd_type:hd44780 + [static_digital_output yellow_led] -pins: !PB7 \ No newline at end of file +pins: !PB7 + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [bed_mesh default] +#*# points = +#*# 0.011250, -0.067500, -0.093750, -0.071250 +#*# 0.051250, -0.036250, -0.061250, -0.006250 +#*# 0.075000, 0.032500, 0.005000, 0.021250 +#*# 0.045000, 0.112500, 0.055000, -0.030000 +#*# x_count = 4 +#*# y_count = 4 +#*# min_x = 0.0 +#*# max_x = 129.99 +#*# min_y = 20.0 +#*# max_y = 174.98 +#*# x_offset = 20.0 +#*# y_offset = 0.0 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 29.852 +#*# pid_ki = 2.843 +#*# pid_kd = 78.361