V-Core 4 4028 Fan - Cannot Get PWM Working

Hello. I have a V-Core 4 that I have been using for a while, no issues. I wanted to solve the issue of the fan running at 100% while the printer boots and such, so I moved the ground pin to a spare heater terminal on the Octopus board and added it as an enable pin. So what I have now: V-Core 4, 300. Octopus 1.1 mainboard and EBB42 toolhead board. 4028 part cooling fan comes on when I want it to, not during boot. Great! However, it ramps up to full speed and just stays there. So something is wrong with the PWM signal. Wiring: Blue wire (on the Nidec fan, it's supposed to be the PWM wire) routed to the toolboard, bound to PA0 (fan 1). The negative port on that terminal Red wire goes to the positive on Fan7 on the Octopus, with the jumper set appropriately Black wire goes to HE1's negative side, bound to PA3 Config in my printer.cfg, in the user overrides: [fan] pin: !toolboard_t0:PA0 enable_pin: PA3 cycle_time: 0.01 I have tried 0.00004 as the cycle time as well, no dice there. Do I need to route everything to the octopus board instead of having it hit the toolhead board? I redid all of my connections - recrimped the JST's for the toolhead. Just at a loss as to what's going on.
Solution:
What I did wiring wise is: red/positive wire to Fan 7 positive port. Black/negative/ground to one of the heater mosfets, PA3 (enable pin in the config) - HE1. PWM wire (blue for the nidec fan. brown for the Sanyo I swapped to) to the negative terminal on Fan 5 (PD15).
Jump to solution
13 Replies
Bagellord
Bagellord4w ago
For troubleshooting, I just intsalled a jumper on the 12v slot for Fan5 (PD15) on the octopus, and ran a wire from the toolhead to it. Changed my config to this: [fan] #pin: !toolboard_t0:PA0 pin: !PD15 enable_pin: PA3 cycle_time: 0.00004 Still not working. I wonder if it's possible i killed the controller on the fan by having it hooked up to the 24v on the toolhead? I was thinking that I could just leave it, but looking back that was dumb
TheTik
TheTik4w ago
pretty sure the fan is only supposed to see 12V
Bagellord
Bagellord4w ago
I bet that's what I did then. Is this a suitable replacement? https://www.digikey.com/en/products/detail/sanyo-denki-america-inc/9gax0412p3s001/6192330
DigiKey Electronics
9GAX0412P3S001 | DigiKey Electronics
Order today, ships today. 9GAX0412P3S001 – Fan Tubeaxial 12VDC Square - 40mm L x 40mm H Ball 31.8 CFM (0.890m³/min) 4 Wire Leads from Sanyo Denki America Inc.. Pricing and Availability on millions of electronic components from Digi-Key Electronics.
Bagellord
Bagellord4w ago
Went and ordered this, will see if that solves the problem
Midget
Midget3w ago
I have the same issue I did the exact same as you, but I used HE_3 (PB11). The fan either runs at 100% or nothing My config in printer.cfg [fan] pin: !fan_part_cooling_pin cycle_time: 0.00004 enable_pin: PB11
TheTik
TheTik3w ago
100% or nothing strongly suggests the PWM isn't setup/connected properly
Midget
Midget3w ago
prior to moving the ground cable to the HE_3 negative port the PWN was working as expected though. No doubt I messed up something in the config somehow (the only change to my knowledge that I made was adding the above to printer.cfg). This is my first klipper printer so I am still running in the dark mostly hmmmmmm I just tried this [fan] pin: !toolboard_t0:PA0 cycle_time: 0.00004 enable_pin: PB11 and this worked Did I misunderstand the docs thinking that <fan_part_cooling_pin> was a macro / alias?
TheTik
TheTik3w ago
off the top of my head I think thats an alias for the pin on the main board, not the toolboard
Midget
Midget3w ago
ah ok
Bagellord
Bagellord3w ago
Hmm. I'm 99% sure I'd tried that. I'll play with it when I get the replacement fan. I've already got the extra wire run so I'll use that I have the fan in finally, can't get it to kick on. I think I need to tweak my PWM settings now When I enable the fan I am getting 12v DC across the pos/neg wires, but I think the PWM is actually supposed to be at 24v. Nope it is supposed to be 12v, good thing I rechecked the datasheet. Hmm it's not kicking on for some reason Okay finally fixed it. I did actually have my fan in the wrong port on the board, just messed up when installing. The Nidec fan did not respond to PWM control, but the new Sanyo I put in does. I likely damaged the Nidec by having the PWM on a 24v port. I'll get my config later, and post it. I shut the printer down so I could clean up the wiring and put back in the correct place
TheTik
TheTik3w ago
Success! Glad to hear it
Bagellord
Bagellord3w ago
Thanks! Okay finally remembered I needed to update here. Anyways, here is my fan config: [fan] #pin: !toolboard_t0:PA0 pin: !PD15 enable_pin: PA3 cycle_time: 0.00004
Solution
Bagellord
Bagellord3w ago
What I did wiring wise is: red/positive wire to Fan 7 positive port. Black/negative/ground to one of the heater mosfets, PA3 (enable pin in the config) - HE1. PWM wire (blue for the nidec fan. brown for the Sanyo I swapped to) to the negative terminal on Fan 5 (PD15).
Want results from more Discord servers?
Add your server