SV08 Enclosure Fan Control-With Mainline and Demon Macros

I have spent the last several days working on trying to make my enclosure fan work with Demon macro automations, and I’ve been hitting my head against a wall.

After going with mainline klipper on my SV08, I noticed the thermistor subfolder in “/config/options” and after reading into it a bit, decided to order a Raspberry Pi Pico, BME280, and some jumpers to wire it all up.

After following the instructions available I could manually turn the fan on, but could not figure out how to change it from a generic_fan to a temperature_fan, as Demon Macros calls for. Demon Macros will utilize the enclosure fan (or fans in my case) appropriately, making them turn on or off depending on the type of filament that was reported in your slicer.

For my particular configuration, the sensor I chose was 5v compatible-most are 3.3v so double check the wiring from the Pico to the Sensor that you choose.

Here is the configuration that works now, as a temperature fan:

This is the configuration page under config/options/thermistor/pico.cfg:

Everything on that page is commented out except the MCU definition, which could be added to printer.cfg instead of the pico.cfg if desired. Keep in mind that if you do add the thermistor to your printer, the serial value will be different and you need to use what is shown after following the guide at Sovol-SV08-Mainline/pico-thermistor at main · Rappetor/Sovol-SV08-Mainline · GitHub

After doing this the printer starts without errors from Klipper. Make sure to go into Config/Demon
_User_Files/demon_user_settings_v***.cfg and enable the chamber fans option, as shown below:

After doing this, your chamber fans will automatically work how they should depending on the type of filament that is chosen when slicing the object you print, and any heatsoak macros will also function properly by starting and stopping at the defined temperatures in the macro.

My knowledge on this is very limited, which is why I had a difficult time getting this up and running, but if you have any questions, please feel free to ask below! I will do my best to assist.

2 Likes