This is a remix from Ibot_3D to fit a e.g. 120mm fan to the base plate of the Sovol SV08 printer.
Attention: This is for a hardware mod to replace the loud & small mainboard fan with a bigger silent fan. You will lose your guarantee and it may not work with all replacement fans.
(Or use a 12V fan with buck converter, but you will lose the ability to control the fan over mainboard temp sensor, see printer.cfg code. The buck converter is not PWM compatible with 2-pin connectors, and then the fan doesn't spin at all when using the code below. 12V fan will work and spin at fixed speed voltage adjusted. Remove all code for pin: PA1
and it will spin forever. Do a long term spinning test!).
To make the 24V fan temperature controlled add this line to printer.cfg in Klipper:
[temperature_fan CPUfan] # MOD mainboard fan control
pin: PA1
kick_start_time: 0.5
max_power: 1.0
min_temp: 0
max_temp: 90
cycle_time: 0.010
hardware_pwm: true
target_temp: 57
sensor_type: temperature_host
max_speed: 1.0
min_speed: 0.30
off_below: 0.32
control: pid
pid_Kp: 2
pid_Ki: .5
pid_Kd: 0.25
pid_deriv_time: 5.0
The author remixed this model.
Remix to fit a fan low profile on a base plate of SV08 or similar printer.