Chamber Heater Support

Is there any configuration/macros in RatOS supporting chamber heaters? Or do we just use standard klipper configs to add heaters and temp sensors?
6 Replies
Pinky
Pinky7mo ago
There are a few ways to implement a heater within klipper. So if RatOs would start supporting that or it wil force a user in a specific setup or it has to cover all potential setups. For me for example i use just the extra heater port to switch an external temp controller on (this tem controller handles all for the heater and temp settings) then i have a second temp sensor and just do a temp wait on it. So during a print i detect if i print ABS (Gcode froms slicer) if so > Heater on (Temp is set by buttons on controller) and heater goes to that temp and idles. Then a temp wait before continue printing and when second sensor reaces temp continue with print / start macro.
miklschmidt
miklschmidt7mo ago
While pinky is correct, i have implemented a way for you to handle this yourself without too much work. https://os.ratrig.com/docs/configuration/macros#_user_start_print_heat_chamber and if you want to change the existing behavior (uses the nozzle as measurement) you can override https://os.ratrig.com/docs/configuration/macros#_start_print_heat_chamber
Configuring RatOS Macros | RatOS
RatOS comes with a bunch of flexible predefined macro's that can be customized via variables and macro hooks.
miklschmidt
miklschmidt7mo ago
https://os.ratrig.com/docs/configuration/macros#_start_print_heat_chamber This one will run if you supply the CHAMBER_TEMP parameter to START_PRINT from your slicer.
Configuring RatOS Macros | RatOS
RatOS comes with a bunch of flexible predefined macro's that can be customized via variables and macro hooks.
Raymond
Raymond7mo ago
I already implemented another way but might revert and adopt yours with some customization. At least I use the START_PRINT parameters. I have 2 X 300W PTC heaters with fans (220v) connected to an SSR and connected to the HE1 port on Octopus MAX EZ. The thermistor is connected to TH3.
Raymond
Raymond6mo ago
Need some further help, please. Most likely simple but I am missing something. This is under the "USER OVERIDES" section in printer.cfg: This is how my Chamber Heater is defined: [heater_generic Chamber_Heater] heater_pin: PA0 max_power: 1.0 sensor_type: Generic 3950 sensor_pin: PA7 control: watermark #control: pid min_temp: 0 max_temp: 80 #pid_kp = 72.024 #pid_ki = 0.884 #pid_kd = 1466.590 [verify_heater Chamber_Heater] max_error: 120 check_gain_time: 180 hysteresis: 2 heating_gain: 2 I have copied the following Macro into the printer.cfg and modified it to used the Chamber heater: *[gcode_macro _START_PRINT_HEAT_CHAMBER] description: Uses the extruder sensor to wait for chamber temp. Override the _START_PRINT_HEAT_CHAMBER macro to implement heated chamber handling. gcode: {% if params.CHAMBER_TEMP is defined and params.BED_TEMP is defined and params.CHAMBER_TEMP|int > 0 %} {% set z = printer["gcode_macro RatOS"].start_print_park_z_height|float %} {% set zSpeed = printer["gcode_macro RatOS"].macro_z_speed|float * 60 %} G0 Z{z} F{zSpeed} M84 M117 Heating chamber... RESPOND MSG="Heating chamber..." M140 S{params.BED_TEMP} SET_HEATER_TEMPERATURE HEATER=Chamber_Heater TARGET={params.CHAMBER_TEMP} TEMPERATURE_WAIT SENSOR=Chamber_Heater MINIMUM={params.CHAMBER_TEMP} MAYBE_HOME {% endif %} * It seems the "temperature_wait" function cannot use the "Chamber_Heater" sensor as I get errors What am I missing? And why does the message come up 3 times?
No description
Raymond
Raymond6mo ago
Never mind..... by chance changed the wait line to the Full heater/sensor name and now it is working. As I said... it was something simple..... TEMPERATURE_WAIT SENSOR="heater_generic Chamber_Heater" MINIMUM={params.CHAMBER_TEMP}