📄 Kalico

Kalico config things


https://github.com/KalicoCrew/kalico For install, follow the instructions to use KIAUH

You will need to update and reinstall beacon_klipper

Cool things I recommend trying out in Kalico

https://docs.kalico.gg/Danger_Features.html#additional-configuration-options - Some of the new behavior, the [constants] section could help quite a bit with changing/trying stuff like sensorless homing

https://docs.kalico.gg/Danger_Features.html#sensorless-homing NO MORE MACROS FOR SENSORLESS HOMING! It "just works" now after doing the initial round of tuning. Can be used with the [constants] section to easily change the sensitivity and homing currents.

https://docs.kalico.gg/Danger_Features.html#heaters-fans-and-pid-changes MPC is amazing - seriously. It uses the filament energy values and calibrates your heater to the fan losses to ensure your temperature stays stable ahead of time!


Things to add to the beacon config:

is_non_critical: True

Things to add to your start_print macro

SET_PIN PIN=beacon_toggle VALUE=1 #Toggles the FET high, closing off power to beacon, turning it off

Things to add to your end_print macro

SET_PIN PIN=beacon_toggle VALUE=0 #Turns your beacon on

Jupiter config:

# This file contains common pin mappings for the Jupiter V0.1c.

# To use this config, the firmware should be compiled for the STM32G431

# with "No bootloader" and "16MHz Crystal" with "USB on PA11/PA12" communication.


# See docs/Config_Reference.md for a description of parameters.


# SW0: ^PA8  SW1: ^PA9  ALRM: !PB10


[multi_pin heaters]

pins: JUPITER:PC13, JUPITER:PC14

# PC13 HE0  PC14 HE1


[extruder]

step_pin: JUPITER:PC15 #STEP

dir_pin: JUPITER:PB9 #DIR

enable_pin: !JUPITER:PA15 #EN

microsteps: 32

rotation_distance: 7.805 #calibrate

#gear_ratio: 50:10

max_extrude_only_distance: 500000.0

max_extrude_cross_section: 50.0

nozzle_diameter: 0.400

filament_diameter: 1.750

heater_pin: multi_pin:heaters

sensor_type: PT1000

sensor_pin: JUPITER:PA2 #TH1

pullup_resistor: 1500

control = mpc

heater_power: 120

block_heat_capacity = 27.7226

sensor_responsiveness = 0.0734415

ambient_transfer = 0.0674302

fan_ambient_transfer = 0.0674302, 0.123275, 0.15319

min_extrude_temp: 150

min_temp: 0

max_temp: 485

pressure_advance: 0

#max_power: .33 #this is ONLY USED when running a 24v heater on 48v


[tmc5160 extruder]

cs_pin: JUPITER:PB6

#spi_bus: JUPITER:spi1a

spi_software_sclk_pin: JUPITER:PB3

spi_software_mosi_pin: JUPITER:PB5

spi_software_miso_pin: JUPITER:PB4

run_current: 0.600

stealthchop_threshold: 0

sense_resistor: 0.1


#[fan]

#pin: JUPITER:PC0 #F0 PWM

#enable_pin: JUPITER:PA3 #F0

# ABOVE SECTION FOR 4 PIN FANS ONLY

#pin: JUPITER:PA3 #F0

#max_power: 1

#hardware_pwm: True

#tachometer_pin: ^JUPITER:PC12 #F0

#tachometer_ppr: 2

#tachometer_poll_interval: 0.0015


#[fan_generic fan1]

#pin: PC2 #F1 PWM

#enable_pin: ^PA4 #F1

# ABOVE SECTION FOR 4 PIN FANS ONLY

#pin: PA4 #F1

#max_power: 1

#off_below: 0

#hardware_pwm: True

#tachometer_pin: ^PC10 #F1

#tachometer_ppr: 2

#tachometer_poll_interval: 0.0015

[heater_fan toolhead_fan]

#pin: PC3 #F2 PWM

#enable_pin: ^PA5 #F2

# ABOVE SECTION FOR 4 PIN FANS ONLY

pin: JUPITER:PA5 #F2

max_power: 1

heater: extruder

heater_temp: 65.0

#off_below: 0

#hardware_pwm: True

tachometer_pin: ^PC11 #F2

tachometer_ppr: 4

#tachometer_poll_interval: 0.0015


[output_pin beacon_toggle]

pin: JUPITER:PC9

#   The pin to configure as an output. This parameter must be

#   provided.

pwm: False

#   Set if the output pin should be capable of pulse-width-modulation.

#   If this is true, the value fields should be between 0 and 1; if it

#   is false the value fields should be either 0 or 1. The default is

#   False.

value: 0

#   The value to initially set the pin to during MCU configuration.

#   The default is 0 (for low voltage).

shutdown_value: 0




#[fan_generic beacon_pwr]

#pin: JUPITER:PC9 #BEACON PORT CONTROL

#max_power: 1

#off_below: 1 # on or off


[temperature_sensor T0_STM32_INTERNAL]

sensor_type: temperature_mcu

min_temp: 0

max_temp: 135


[thermistor onboard]

temperature1: 25.0

resistance1: 10000.0

beta: 3950


[temperature_sensor T0_STM32]

sensor_type: onboard

sensor_pin: JUPITER:PB12 #BOARD TEMP 0

min_temp: 0

max_temp: 135


[temperature_sensor T1_5160]

sensor_type: onboard

sensor_pin: JUPITER:PB14 #BOARD TEMP 1

min_temp: 0

max_temp: 150


[temperature_sensor T2_HEATERS_12VREG]

sensor_type: onboard

sensor_pin: JUPITER:PB15 #BOARD TEMP 2

min_temp: 0

max_temp: 150


[temperature_sensor T3_FANS_5VREG]

sensor_type: onboard

sensor_pin: JUPITER:PC4 #BOARD TEMP 3

min_temp: 0

max_temp: 150



#[temperature_sensor extruder_casing]

#sensor_type: Generic 3950

#sensor_pin: PA1 #TH1

#pullup_resistor: 1500

#min_temp: 0

#max_temp: 150


[mcu JUPITER]

serial: /dev/serial/by-id/usb-Klipper_stm32g431xx_4C0035001050484D38383720-if00

restart_method: command


#[printer]

#kinematics: none

#max_velocity: 1000

#max_accel: 1000


[verify_heater extruder]

max_error: 120000

#   The maximum "cumulative temperature error" before raising an

#   error. Smaller values result in stricter checking and larger

#   values allow for more time before an error is reported.

#   Specifically, the temperature is inspected once a second and if it

#   is close to the target temperature then an internal "error

#   counter" is reset; otherwise, if the temperature is below the

#   target range then the counter is increased by the amount the

#   reported temperature differs from that range. Should the counter

#   exceed this "max_error" then an error is raised. The default is

#   120.

#check_gain_time:

#   This controls heater verification during initial heating. Smaller

#   values result in stricter checking and larger values allow for

#   more time before an error is reported. Specifically, during

#   initial heating, as long as the heater increases in temperature

#   within this time frame (specified in seconds) then the internal

#   "error counter" is reset. The default is 20 seconds for extruders

#   and 60 seconds for heater_bed.

hysteresis: 10

#   The maximum temperature difference (in Celsius) to a target

#   temperature that is considered in range of the target. This

#   controls the max_error range check. It is rare to customize this

#   value. The default is 5.

#heating_gain: 2

#   The minimum temperature (in Celsius) that the heater must increase

#   by during the check_gain_time check. It is rare to customize this

#   value. The default is 2.