Cannot turn on 4028 fan with default Pin synthax
The default config I have after doing the setup is :
[fan_generic part_fan_t0]
4-pin fan connected to 2-pin header on T0 (EBB42 v1.2) - digital pwm
pin: !toolboard_t0:PA0
cycle_time: 0.00004
It does not allow the fan to spin up while using the sliding cursor on mainsail.
I made this following modification and it works:
[fan_generic part_fan_t0]
4-pin fan connected to 2-pin header on T0 (EBB42 v1.2) - digital pwm
pin: PA0
cycle_time: 0.00004
However, Isame issue occurs for toolhead #1 and if I try again to use the PA0, it through an error as the pin is already used (in the code)
I am not sure where I am wrong.
Solution:Jump to solution
OK, Sorted now. On the JST PH2 connector, I inverted the polarity.
Now I am controlling the 2pin fan via PWM on the Kraken. T0 is plugged to PA0 and T1 to PA1....
8 Replies
Your working example is telling klipper to use the main board fan port. Unless you have two fans plugged into the same port there's no way that you are also using PA0 for your second fan. Show us a picture of your wiring and where the fans are plugged into
Pwm comes from the toolboard
This is T0?
Yes it is T0.
My controlboard is a kraken. Which i might change soon. Red and black cable are on The kraken PA0 port.
Ok. I guess i spotted the issue. Kraken board Fan0 port is (+Vfan | pwm controlled ground) by PA0.
I will.have a try again
Solution
OK, Sorted now. On the JST PH2 connector, I inverted the polarity.
Now I am controlling the 2pin fan via PWM on the Kraken. T0 is plugged to PA0 and T1 to PA1.
I need more sleep
How can I close the ticket and mark it as solved?