Skip to content

Commit

Permalink
maxowatt toiminnassa
Browse files Browse the repository at this point in the history
  • Loading branch information
matti125 committed Jun 19, 2021
1 parent 6e75498 commit e3f8284
Show file tree
Hide file tree
Showing 8 changed files with 477 additions and 21 deletions.
5 changes: 3 additions & 2 deletions extruders_std/printer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ sensor_pin: analog15
pressure_advance = 0.1
min_temp: 0
max_temp: 260
max_extrude_only_distance: 200.0

[extruder1]
step_pin: ar26
Expand All @@ -34,7 +35,7 @@ sensor_pin: analog13
pressure_advance = 0.1
min_temp: 0
max_temp: 260
max_extrude_only_distance: 200.0

[input_shaper]
shaper_freq_x: 36 # frequency for the X mark of the test model
shaper_freq_y: 34 # frequency for the Y mark of the test model
shaper_freq_x: 34 # frequency for the X mark of the test model
23 changes: 23 additions & 0 deletions extruders_titan/extruder0_titan_maxiwatt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# The definition for the primary extruder
[extruder]
step_pin: ar57
dir_pin: !ar58
enable_pin: !ar59
microsteps: 16
gear_ratio: 4:1
rotation_distance: 30
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar11
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog15
pressure_advance = 0.1
min_temp: 0
max_temp: 260
max_extrude_only_distance: 200.0
max_extrude_cross_section: 3

[input_shaper]
shaper_freq_x: 35 # frequency for the X mark of the test model


19 changes: 19 additions & 0 deletions extruders_titan/extruder1_titan_maxiwatt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

[extruder1]
step_pin: ar26
dir_pin: !ar28
enable_pin: !ar24
microsteps: 16
gear_ratio: 4:1
rotation_distance: 30
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog13
pressure_advance = 0.1
min_temp: 0
max_temp: 260

[input_shaper]
shaper_freq_x: 35 # frequency for the X mark of the test model
35 changes: 24 additions & 11 deletions macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ gcode:
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(190)|float %}
# Start bed heating
M140 S{BED_TEMP}
# Start extruder heating
M104 S{EXTRUDER_TEMP}
# Use absolute coordinates
# Use absolute coordinates
G90
#reset E
G92 E0
Expand All @@ -49,18 +47,33 @@ gcode:
# Home the printer
G28
# Move the nozzle near the bed
G1 X2 Y50 Z5 F3000
# Move the nozzle very close to the bed
G1 Z0.3 F300
# Wait for bed to reach temperature
G0 Z0.5 Y45 F3000
G1 X2
# Wait for bed to reach temperature
M190 S{BED_TEMP}
# Set and wait for nozzle to reach temperature
M109 S{EXTRUDER_TEMP}
#Prime
G0 X-50 F3000
G1 E3 F300
#Wipe

G28 X
PRIME_LINE

[gcode_macro PRIME_LINE]
gcode:
M117 Prime Line
G90 ; XYZ to abs mode
M83 ; set E to rel mode
# move z axis
G1 Z2 F3000 ;Move Z Axis up
# move to prime position
G0 Y50 Z0.28 F1500
G0 X2 ;Move to start position
G1 Y200 E10 ;Draw the first line
G0 X3 ;Move to side a little
G1 Y70 E10 ;Draw the second line
G1 Z1 F3000 ;Move Z Axis up
M82 ;set e to abs mode
G92 E0 ;Reset E

[gcode_macro END_PRINT]
gcode:
M117 End printing.
Expand Down
133 changes: 133 additions & 0 deletions printer-20210610_174944.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
[include kiauh_macros.cfg]
[include macros.cfg]
#[include extruders_titan/printer.cfg]
[include extruders_std/printer.cfg]
[mcu]
baud: 250000
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
pin_map: arduino

[resonance_inducer]
probe_points: 110,110,30

[pause_resume]

[display_status]

[virtual_sdcard]
path: ~/gcode_files

[printer]
kinematics: cartesian
max_z_velocity: 20
max_z_accel: 60

[bed_screws]
screw1: 25,35
screw2: 25,185
screw3: 195,185
screw4: 195,35

[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar3
position_endstop: -48
position_max: 220
position_min: -50
homing_speed: 40
homing_positive_dir: false

# Definition for the secondary carriage and extruder1
[dual_carriage]
axis: x
step_pin: ar36
dir_pin: ar34
enable_pin: !ar30
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar2
position_endstop: 265
position_min: 0
position_max: 265
homing_speed: 40

[stepper_y]
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar14
position_endstop: 0
position_max: 220
homing_speed: 30

[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
microsteps: 16
rotation_distance: 4
endstop_pin: ^!ar18
position_max: 250
position_min: -0.2

[stepper_z1]
step_pin: ar65
dir_pin: ar66
enable_pin: !ar64
microsteps: 16
rotation_distance: 4
endstop_pin: ^!ar19

[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
min_temp: 0
max_temp: 110
control: pid

[fan]
pin: ar9
max_power: 1.0
shutdown_speed: 0
cycle_time: 0.010
hardware_pwm: False
kick_start_time: 0.100
off_below: 0.0

[heater_fan fan]
pin: ar5
heater: extruder,extruder1
heater_temp: 80.0
fan_speed: 1.0


#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 20.738
#*# pid_ki = 1.106
#*# pid_kd = 97.207
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 66.306
#*# pid_ki = 0.781
#*# pid_kd = 1407.349
#*#
#*# [extruder1]
#*# control = pid
#*# pid_kp = 24.794
#*# pid_ki = 1.531
#*# pid_kd = 100.417
#*#
#*# [stepper_z]
#*# position_endstop = 0.0
132 changes: 132 additions & 0 deletions printer-20210616_125451.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
[include kiauh_macros.cfg]
[include macros.cfg]
#[include extruders_titan/printer.cfg]
[include extruders_std/printer.cfg]
[include extruders_titan/extruder1_titan_maxiwatt]
[mcu]
baud: 250000
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
pin_map: arduino

[resonance_inducer]
probe_points: 110,110,30

[pause_resume]

[display_status]

[virtual_sdcard]
path: ~/gcode_files

[printer]
kinematics: cartesian
max_z_velocity: 20
max_z_accel: 60

[bed_screws]
screw1: 25,35
screw2: 25,185
screw3: 195,185
screw4: 195,35

[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar3
position_endstop: -48
position_max: 220
position_min: -50
homing_speed: 40
homing_positive_dir: false

# Definition for the secondary carriage and extruder1
[dual_carriage]
axis: x
step_pin: ar36
dir_pin: ar34
enable_pin: !ar30
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar2
position_endstop: 265
position_min: 0
position_max: 265
homing_speed: 40

[stepper_y]
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
rotation_distance: 40
microsteps: 16
endstop_pin: ^!ar14
position_endstop: 0
position_max: 220
homing_speed: 30

[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
microsteps: 16
rotation_distance: 4
endstop_pin: ^!ar18
position_max: 250
position_min: -0.2

[stepper_z1]
step_pin: ar65
dir_pin: ar66
enable_pin: !ar64
microsteps: 16
rotation_distance: 4
endstop_pin: ^!ar19

[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
min_temp: 0
max_temp: 110
control: pid

[fan]
pin: ar9
max_power: 1.0
shutdown_speed: 0
cycle_time: 0.010
hardware_pwm: False
kick_start_time: 0.100
off_below: 0.0

[heater_fan fan]
pin: ar5
heater: extruder,extruder1
heater_temp: 80.0
fan_speed: 1.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 20.738
#*# pid_ki = 1.106
#*# pid_kd = 97.207
#*#
#*# [heater_bed]
#*# pid_kp = 66.306
#*# pid_ki = 0.781
#*# pid_kd = 1407.349
#*#
#*# [extruder1]
#*# control = pid
#*# pid_kp = 24.794
#*# pid_ki = 1.531
#*# pid_kd = 100.417
#*#
#*# [stepper_z]
#*# position_endstop = -0.123
Loading

0 comments on commit e3f8284

Please sign in to comment.