Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Rat Rig V-core 3 Klipper Config
- # Documentation: https://os.ratrig.com
- # The first thing you'll need to do is go through this file and comment out / uncomment
- # the files and/or settings you need.
- # You'll be able to print just fine with this config as it is, but it is recommended
- # that you follow these steps to properly calibrate your printer:
- # 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html
- # 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html
- # 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html
- # 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html
- # Read more about klipper here: https://www.klipper3d.org/Overview.html
- #############################################################################################################
- ### CONTROL BOARD
- ### Pick the board you have installed and wired in your printer.
- #############################################################################################################
- [include RatOS/boards/btt-octopus-11/config.cfg]
- #############################################################################################################
- ### BASE SETUP
- #############################################################################################################
- [include RatOS/printers/v-core-3/v-core-3.cfg]
- [include RatOS/homing.cfg]
- [include RatOS/macros.cfg]
- [include RatOS/shell-macros.cfg]
- [include RatOS/printers/v-core-3/macros.cfg]
- #############################################################################################################
- ### STEPPER MOTORS, DRIVERS & SPEED LIMITS
- ### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations.
- #############################################################################################################
- [include RatOS/printers/v-core-3/steppers.cfg]
- # UNCOOLED TMC 2209 + LDO-42STH48-2504AC
- #[include RatOS/printers/v-core-3/tmc2209.cfg]
- #[include RatOS/printers/v-core-3/speed-limits-basic.cfg]
- #[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-x.cfg]
- #[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-y.cfg]
- #[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z.cfg]
- #[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z1.cfg]
- #[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z2.cfg]
- # COOLED TMC 2209 + LDO-42STH48-2504AC
- # This increases motor torque, positional accuracy and speed limits.
- # don't enable this before your printer is fully configured and you have a fan blowing on your stepper drivers.
- [include RatOS/printers/v-core-3/speed-limits-performance.cfg]
- [include RatOS/printers/v-core-3/tmc2209-performance.cfg]
- [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-x.cfg]
- [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-y.cfg]
- [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-z.cfg]
- [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-z1.cfg]
- [include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-z2.cfg]
- # STEALTH MODE (Enables stealthchop and limits velocity and acceleration)
- # NOTE: You still need to include one of the above stepper motor definitions.
- # NOTE: This will make your printer quiter but less accurate, it's an inherent side effect of stealthchop.
- #[include RatOS/printers/v-core-3/speed-limits-stealth.cfg]
- #[include RatOS/printers/v-core-3/tmc2209-stealth.cfg]
- #############################################################################################################
- ### PHYSICAL DIMENSIONS
- ### Pick your printer size
- #############################################################################################################
- # Remove the # from your printer size below.
- # Similarly add a # in front of [include RatOS/printers/v-core-3/300.cfg] if you have a bigger machine.
- [include RatOS/printers/v-core-3/300.cfg]
- #############################################################################################################
- ### HOMING
- ### Pick your probe and endstops
- #############################################################################################################
- # BL Touch
- #[include RatOS/z-probe/bltouch.cfg]
- # Inductive/Capacitive probe
- #[include RatOS/z-probe/probe.cfg]
- # Beacon (everything is already installed, just connect it and run BEACON_CALIBRATE)
- [include RatOS/z-probe/beacon.cfg]
- # Euclid probe (please read the RatOS documentation for instructions)
- #[include RatOS/z-probe/euclid.cfg]
- # Klicky probe (please read the RatOS documentation for instructions)
- #[include RatOS/z-probe/klicky.cfg]
- #[include RatOS/z-probe/unklicky.cfg]
- # Physical endstop on X
- [include RatOS/printers/v-core-3/physical-endstop-x.cfg]
- # Physical endstop on Y
- [include RatOS/printers/v-core-3/physical-endstop-y.cfg]
- #############################################################################################################
- ### INPUT SHAPER
- ### Enable/disable input shaper calibration
- #############################################################################################################
- # Uncomment this next line if you have an ADXL345 connected to your control board
- #[include RatOS/printers/v-core-3/input-shaper.cfg]
- #############################################################################################################
- ### TOOLHEAD
- ### Pick your extruder and hotend
- #############################################################################################################
- # Extruder
- #[include RatOS/extruders/bmg.cfg]
- #[include RatOS/extruders/lgx.cfg]
- #[include RatOS/extruders/lgx-lite.cfg]
- #[include RatOS/extruders/orbiter.cfg]
- [include RatOS/extruders/orbiter-1004.cfg] # Use this with the LDO-36STH20-1004AHG motor
- #[include RatOS/extruders/hemera.cfg]
- #[include RatOS/extruders/titan.cfg]
- # Hotend
- #[include RatOS/hotends/v6.cfg]
- #[include RatOS/hotends/revo.cfg]
- #[include RatOS/hotends/dragonfly.cfg]
- [include RatOS/hotends/rapido.cfg]
- #[include RatOS/hotends/copperhead.cfg]
- #[include RatOS/hotends/mosquito.cfg]
- #[include RatOS/hotends/mosquito-magnum.cfg]
- #[include RatOS/hotends/dragon-standard-flow.cfg]
- #[include RatOS/hotends/dragon-high-flow.cfg]
- #############################################################################################################
- ### FANS
- ### If your board has 4 pin fan headers and you want to use them, you can enable them here.
- ### NOTE: If none are uncommented, the default 2pin fan headers will be used.
- #############################################################################################################
- # Part cooling
- #[include RatOS/4pin-fans/part-cooling-fan-25khz.cfg]
- #[include RatOS/4pin-fans/part-cooling-fan-100hz.cfg]
- # Hotend / Toolhead cooling
- #[include RatOS/4pin-fans/toolhead-fan-25khz.cfg]
- #[include RatOS/4pin-fans/toolhead-fan-100hz.cfg]
- # Control board cooling
- #[include RatOS/4pin-fans/controller-fan-25khz.cfg]
- #[include RatOS/4pin-fans/controller-fan-100hz.cfg]
- #############################################################################################################
- ### MACRO CONFIGURATION
- ### Configure the behavior of RatOS macros
- #############################################################################################################
- [gcode_macro RatOS]
- ### Relative Extrusion ###
- # Use absolute extrusion mode
- # Set to True to use relative extrusion mode
- variable_relative_extrusion: False
- ### Speed ###
- # Set the speed for travel moves in RatOS Macros in mm/s.
- variable_macro_travel_speed: 600
- variable_macro_z_speed: 20
- ### Homing ###
- # The x coordinate for where to return the toolhead to when homing Z
- variable_safe_home_x: "150" # "middle" or number
- # The y coordinate for where to return the toolhead to when homing Z
- variable_safe_home_y: "150" # "middle" or number
- # How much to raise the toolhead after homing Z. Probe configs may change this value.
- variable_homing_z_hop: 15
- ### Heating ###
- # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp.
- # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle.
- # Set to False to disable
- variable_preheat_extruder: False
- # The bed temperature to use when heating the chamber when the CHAMBER_TEMP parameter is supplied to the START_PRINT macro.
- #variable_start_print_heat_chamber_bed_temp: 60
- # The temperature to preheat the extruder to, to soften the material at the nozzle tip
- variable_preheat_extruder_temp: 190
- ### Bed Mesh Calibration ###
- # Calibrate the bed mesh in the START_PRINT macro.
- # Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH
- # with the name "ratos", be sure to save your bed_mesh profile with that name.
- # or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic.
- variable_calibrate_bed_mesh: True
- # If you want it to load a mesh, you can set variable_bed_mesh_profile to the name of the profile you want it to load.
- #variable_bed_mesh_profile: ""
- # RatOS comes with it's own adaptive meshing (functionality was previously handled by PAM by Helge Keck)
- variable_adaptive_mesh: False
- ### Nozzle Priming ###
- # Print a prime line or blob at the end of the START_PRINT macro
- # set to "primeline" or "primeblob", or False to disable nozzle_priming.
- variable_nozzle_priming: "primeblob" # "primeline", "primeblob", false
- variable_nozzle_prime_start_x: "10" # min, max or number
- variable_nozzle_prime_start_y: "10" # min, max or number
- variable_nozzle_prime_direction: "auto" # auto, forwards, backwards
- ### Filament loading/unloading ###
- # How much to retract in mm when unloading filament after the tip has been formed
- variable_filament_unload_length: 130
- # How fast to retract the filament_unload_length filament in mm/s
- variable_filament_unload_speed: 5
- # How much to extrude in mm when loading filament to get the filament to the nozzle
- variable_filament_load_length: 100
- # How fast to extrude the filament_load_length in mm/s
- variable_filament_load_speed: 10
- ### Parking ###
- # Where to park the toolhead during final nozzle heating.
- variable_start_print_park_in: "front" # back, center, front
- # Custom X coordinate to park the toolhead during final nozzle heating.
- variable_start_print_park_x: "10"
- # The z height at which to park the toolhead during final nozzle heating.
- variable_start_print_park_z_height: 20
- # Where to park the toolhead after ending or canceling a print.
- variable_end_print_park_x: ""
- # How many mm to lift the nozzle when after ending or cancelling a print.
- variable_end_print_park_z_hop: 20
- # Where to park the toolhead when pausing a print.
- variable_pause_print_park_in: "back" # back, center, front
- # Custom X coordinate to park the toolhead when pausing a print.
- variable_pause_print_park_x: ""
- #############################################################################################################
- ### TOOLBOARD
- ### If you have a toolboard installed, select it here
- ### See: https://os.ratrig.com/docs/configuration/toolboards
- #############################################################################################################
- [include RatOS/boards/btt-ebb42-12/toolboard-config.cfg]
- # If you have a toolboard installed, uncomment the following
- [include RatOS/boards/toolboard.cfg]
- # Bltouch
- #[include RatOS/toolboard/bltouch.cfg]
- # To use the toolboard's ADXL345 for resonance testing (input shaper calibration) uncomment the following
- [include RatOS/toolboard/input-shaper.cfg]
- # Probe
- #[probe]
- #z_offset: 0.0 # Adjust this to fit your setup
- #pin: ^toolboard:probe_pin # For NPN NC probes such as the SuperPinda / Vinda / SupCR / Decoprobe probes.
- #pin: ^!toolboard:probe_pin # NPN NO (refer to the specs on your probe)
- #pin: toolboard:probe_pin # PNP NO (refer to the specs on your probe)
- #pin: !toolboard:probe_pin # PNP NC (refer to the specs on your probe)
- # BLTouch configuration
- #[bltouch]
- #z_offset: 0.0 # Adjust this to fit your setup
- # ADXL345 resonance testing configuration
- [resonance_tester]
- probe_points:
- 150,150,20 # 300mm printer
- #############################################################################################################
- ### PRINTER CONFIGURATION
- ### Customize the defaults to your specific build
- #############################################################################################################
- [stepper_x]
- endstop_pin: toolboard:x_endstop_pin
- [stepper_y]
- endstop_pin: y_endstop_pin
- [stepper_z]
- dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction
- [stepper_z1]
- dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction
- [stepper_z2]
- dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction
- [temperature_sensor Chamber]
- sensor_pin: PF5
- sensor_type: Generic 3950
- #############################################################################################################
- ### FAN
- #############################################################################################################
- # octopus 1.1 TMC2209 drivers cooling fan connectors for FAN2 (PD12)
- #[controller_fan controller_fan_octopus]
- #pin: fan_controller_board_pin
- #stepper:
- # stepper_x, stepper_y, stepper_z, stepper_z1, stepper_z2
- # toolboard BTT-EBB42-12
- # fan part on toolboard (sanyo-denki 12v 9GAX0412P3S001 4028)
- # sanyo-denki 12v 9GAX0412P3S001 4028 RPM MAX=25K, CFM=31.8, max static pressure=1000Pa
- # use of a regulator 12volt
- # +12volt to fan red wire
- # gnd to fan black wire
- # fan0 to fan brown wire PWM invert (control)
- # optional to fan yellow wire (sensor)
- [fan]
- pin: !toolboard:fan_part_cooling_pin
- cycle_time: 0.00004
- # FAN0
- [heater_fan toolhead_cooling_fan]
- pin: toolboard:fan_toolhead_cooling_pin
- cycle_time: 0.01
- #############################################################################################################
- ### LED
- #############################################################################################################
- # Octopus 1.1 FAN3 (PD13) TOP LED 24 volts
- [output_pin LED]
- pin: PD13 # use the pin connected to your LED
- pwm: True
- hardware_pwm: True
- cycle_time: 0.001
- value: 1.0
- shutdown_value: 1.0
- [gcode_macro Toggle_Led]
- description: Toggle The LED Bar On/Off, Alternativly Set It To A Specific Intensity
- variable_state: 'off'
- gcode:
- {% if params.S is defined%}
- {% set S = params.S|default(0.0)|float %}
- SET_PIN PIN=LED VALUE={S}
- {%else%}
- {%if printer['output_pin LED'].value == 0 %}
- SET_PIN PIN=LED VALUE=1
- {% else %}
- SET_PIN PIN=LED VALUE=0
- {%endif%}
- {%endif%}
- #############################################################################################################
- ### EMERGENCY Switch
- #############################################################################################################
- # Red Button Emergency switch
- [gcode_button Emergency_Button]
- # J28
- pin: !PG12
- press_gcode:
- M112
- # Z level minimum switch Front Left
- [gcode_button Emergency_Z_level_FL]
- # J30
- pin: !PG13
- press_gcode:
- M112
- # Z level minimum switch Front Right
- [gcode_button Emergency_Z_level_FR]
- # J32
- pin: !PG14
- press_gcode:
- M112
- # Z level minimum switch Rear
- [gcode_button Emergency_Z_level_Rear]
- # J34
- pin: !PG15
- press_gcode:
- M112
- #############################################################################################################
- ### USER OVERRIDES
- ### Anything custom you want to add, or RatOS configuration you want to override, do it here.
- ### See: https://os.ratrig.com/docs/configuration/includes-and-overrides
- #############################################################################################################
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 21.828
- #*# pid_ki = 1.516
- #*# pid_kd = 78.580
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 62.641
- #*# pid_ki = 3.188
- #*# pid_kd = 307.722
- #*#
- #*# [input_shaper]
- #*# shaper_freq_x = 51.4
- #*# shaper_type_x = mzv
- #*# shaper_freq_y = 36.2
- #*# shaper_type_y = mzv
- #*#
- #*# [printer]
- #*#
- #*# [beacon model default]
- #*# model_coef = 1.4650650549530284,
- #*# 1.7812993583863765,
- #*# 0.7960147928576693,
- #*# 0.43671883405922884,
- #*# 0.19741227084081525,
- #*# 0.06352313904118007,
- #*# 0.049787158713551834,
- #*# 0.09318802877384298,
- #*# 0.0925178166896116,
- #*# 0.02730810333503913
- #*# model_domain = 3.1759686053979777e-07,3.3279347048627933e-07
- #*# model_range = 0.200000,5.000000
- #*# model_temp = 26.144924
- #*# model_offset = -0.07500
- #*#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement