PWM Fan Problem

Basic Information:

Printer Model: Cr10s
MCU / Printerboard: linux computer
printer.cfg (10.4 KB)

Hello I have a problem. I installed two pwm 3010 fans for my heat break and one for my nozzle. I plugged everything into the two pin for pwm fan which is located on my creality v2.2 motherboard that you can see attached. Except the problem is that I added in my print.cfg a section:

[heater_fan hotend_fan]
pine: PH6
max_power: 1.0
fan_speed: 1
kick_start_time: 0
heater: extruder
heater_temp: 50.0

however when the nozzle heats up to 50 both activate except that I would like only the fan for the heatbreak to activate

Did you connect both fans to the same fan connector (Layer Fan on the picture?)?
Then both fans act the same way and you only defined one heater fan in your config.

You have to connect one fan to the upper and one fan to the lower fan connector on the board and define a heater fan (Configuration reference - Klipper documentation) as already done that cools the heatsink of the hotend and the other fan is declared as normal fan (Configuration reference - Klipper documentation) that can be controlled via M106.

Yes I connected the fans separately but I can’t find which pin corresponds to the upper fan for klipper

Just to clear this up: both fans act the same but are connected to those separate connectors?
That would mean they are electronically connected and can’t be controlled separately.

My web research did not result in success finding a second fan pin.

from Reddit - Dive into anything

I would guess PH4, since you are not using that pin in your printer.cfg. But, you may measure first to confirm that. I don’t own that board and just made a quick www search.

Good luck, hcet14

I have the same picture open.
PH4 is defined as Heater1.

exactly when I remove the section :
“[Fan]
pin: PH6”
is that instead I put the section " [heater_fan heatbreak_cooling_fan]
pin: PH6"
Both activate. I tried with all PWM pins but only PH6 makes the fans work. So I think it’s impossible

jamonterrell named it Heater1 or H1, I would have named it FAN2 (or whatever) according to the white print on the board. That’s why I recommended

According to the Marlin configuration files for this board, the only controllable fan pin is PH6 and PH4 is indeed Heater 1.
It is quite typical for such low-end boards to only have 1 PWM capable fan port

I’m just guessing here, I don’t have this board! I agree with Sineos with that (above quote). I guess all 4 mosfets are the same. @Pepitoo, you may check.

If yes, you can connect whatever you want to those 4 pins (PH6, PH4, PB4, and PH5 (if jamonterrell measured right)). But, Marlin confirms it.

My impression is, you can connect hotend, heatbed, or fans to above mentioned pins. Don’t get confused. If Creality uses the same mosfets for above mentioned pins, it doesn’t matter how they are named. You define it with PH6, PH4, PB4, and PH5 in your printer.cfg. datasheet (have a look at 13.3.2 and 13.3.8).

But, Ender 5 Plus (Creality V2.2 PCB) · Issue #2330 · Klipper3d/klipper · GitHub. @Pepitoo I would go with another board if you can afford it.

@hcet14 is correct:
Any pin that is equipped with a MOSFET can be used to run either a fan, hotend or heated bead. What you can run depends on the rating of the MOSFET. As such, you cannot run a hotend on a fan’s MOSFET as it will be killed quite quickly, but the other way round will work.

As an alternative, you can use supplementary boards like https://www.amazon.com/Anmbest-High-Power-Adjustment-Electronic-Brightness/dp/B07NWD8W26/ to turn any free pin into a fan driving pin.
If you want to change the fan’s speed, then you need to choose a PWM capable pin. Otherwise, at least an on/off operation will be possible.

The ATMEGA chip is offering quite some possibilities:

@Pepitoo sorry to bug you. I have the same board as you but I’m having some issues flashing. what settings did you use in the “make menuconfig” setup?

Thanks,