Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configs #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ out
.config
.config.old
klippy/.version
config/g2-sam3xc-due.cfg
config/g2-sam3xc.cfg
108 changes: 108 additions & 0 deletions config/g2printrboard
Original file line number Diff line number Diff line change
@@ -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
202 changes: 202 additions & 0 deletions config/printer-printrbot-Play-V2_Einsy_Rambo-2016.cfg
Original file line number Diff line number Diff line change
@@ -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
Loading