4028 fan configuration (again, sorry)

Can someone help me with the configuration of my 4028 fan, I have tried every combination I can think of from the guide, https://os.ratrig.com/docs/guides/4028/ I have a 001 fan that I think was mislabeled, it was more than a year ago I bought it from RatRig, and at one point I had it running but it would not turn of when set to 0% I have a octopus 1.1 board and was trying to connect as this picture, from the above guide. So I have connected power (black and red) to PD15 and PWM (brown) to PA8, like it shows in the guide. The yellow cable I have cut and is not used by me. I can get the fan to (with various combinations of code that I obviously don't understad at all): go 100% all the time 100% when booting, and spin at 100% when it is set to 0% and when set to 100% it stops And probably som other combinations as well but I can't get it to work as intended I'm running RatOS 2.0.0
Connecting a 4028 fan | RatOS
4028 server fans are becoming a popular option for part cooling because of their light weight and great pressure and flow rates. In this guide we'll go over how to connect one and use it for part cooling. 4-pin fans usually aren't used in 3d printers, and many boards only provide 2-pin ports, but fear not! There's always a way.
No description
No description
No description
16 Replies
Helge Keck
Helge Keck•13mo ago
you need to use the enable pin feature all documented on the ratrig docu you need to connect your FAN GND to an empty heater output GND of the octopus, this is then the enable:pin this will cut off the power if PWM is set to 0
flat-fuchsia
flat-fuchsia•13mo ago
Hi Helge, thank you. But could I trouble you for a exaple code, what exatly to write in printer.cfg file cus I just dom't get it. example..
Helge Keck
Helge Keck•13mo ago
https://os.ratrig.com/docs/guides/4028/#my-fan-doesnt-shut-off-at-0 you just need to add a additional line to the fan config enable_pin: YOUR_PIN_NUMBER
flat-fuchsia
flat-fuchsia•13mo ago
I think I might have a condition with a lot of letters in it, but it gets me confused when showing a picture of one thing and the saying I should connect one to a heater...
Helge Keck
Helge Keck•13mo ago
this isnt needed for all fans thats why it isnt in the default wiring guide but everything is described on the page you shared
flat-fuchsia
flat-fuchsia•13mo ago
But that's the page I'm reffering to... Obviously I'm missing a whole lot..
Helge Keck
Helge Keck•13mo ago
No description
Helge Keck
Helge Keck•13mo ago
read the whole page
flat-fuchsia
flat-fuchsia•13mo ago
The two bottom blue boxes says the axact same thing?
Helge Keck
Helge Keck•13mo ago
just connect the Fan GND to a empty heater GND, then add this pin to your fan config thats all the heater ouput is a GND switching mosfet in the moment you define the enable_pin, klipper handles this
flat-fuchsia
flat-fuchsia•13mo ago
I mean no offence, but it's so easy when you know how... I don't. so i should not look at the picture in the guide?
Helge Keck
Helge Keck•13mo ago
its everything described ion the lin kyou shared like in the wiring guide, but you need to put the GND cable to the heater outpu GND
flat-fuchsia
flat-fuchsia•13mo ago
Ok, I'll give it another go, thanks! If it can help anyone else I did what Helge said and entered this in my config: [fan] pin: !PA8 cycle_time: 0.01 enable_pin: PA3 Now it all works like a charm 🥳
Helge Keck
Helge Keck•13mo ago
we are updating the documentation to make it easier visible for everyone
miklschmidt
miklschmidt•13mo ago
this is now online
Helge Keck
Helge Keck•13mo ago
Nice