I just installed my enclosure and plugged the fan in as directed. I then modified the macro.cfg file adding “SET_FAN_SPEED FAN=fan3 SPEED=1” to the START_PRINT macro and added “SET_FAN_SPEED FAN=fan3 SPEED=0” to the END_PRINT and CANCEL_PRINT macros. Everything is functioning well but It would be nice to have better control of the fan.
I would like to control the fan based on the toolhead temperature as its an available chamber temperature but I’m getting an error using “Toolhead_Temp”:
pin ADC_TEMPERATURE used multiple times in config
A search of the config files doesn’t find a reference to “ADC_TEMPERATURE”
I was using this code to control fan3 when I got the error
Your configuration snippet seems wrong. The pin for the toolhead fan is on the extra_mcu, you have it pointed to a pin on the mainboard.
The issue may be in an [include] file (like macro.cfg).
To see the ENTIRE configuration in one place do the following. Go into the web UI (Orca device tab or with a browser) and download klippy.log to your PC. Goto the link below and use it to extract the setup from the log, then save it as a .txt file. Open that file in notepad (or similar) and search for your keywords.
You’ll still have to find/edit the [Include] file but it is MUCH easier to locate conflicts with everything in one place
If you can’t sort it out zip and upload your klippy.log and I’ll look it over.
My goal is to use an existing sensor to control the exhaust fan on the enclosure kit. The exhaust fan that is connected to the main mcu and the toolhead board temp is the best way I know of to get an idea of chamber temp.
I have done a search through all the config files including the macro.cfg file. I’ll looked at the klippy.log file as well and that was no help.
My current method turning it on and off in the start and end print macros is working well enough and the enclosure fan doesn’t seem to impact the temperature enough to need fine control so I may abandon this idea.
Neither of those sensors will get you anything close to a chamber temp. One isn’t in the chamber at all, the other will always run warmer than the chamber by tens of degrees. You need a separate sensor, NOT on the toolhead.
I realize the toolhead is warmer than the chamber but my thought was there is a relationship and given a 10 degree difference that can be an offset of 10 degrees. None the less, I think I’ll see how I can add a discrete sensor for chamber temp.
It can be a lot more than 10 degrees. I’ve seen my toolhead temps running 50C during prints, while my unenclosed printer is in a 20C room. Sure, the air above the bed is probably warmer than 20C, but it’s not likely to be more than 30C. The sensor in the toolhead is optimized to get the mcu processor temp, but also gets some heat transfer from the hotend..
I am running an SV08 with the factory enclosure. I am fully aware that the toolhead temperature is not a perfect solution but I also know the toohead temperature goes up in an enclosed printer. This may be usable but I am not looking to argue that point but rather find an answer to my original question that you are overlooking.