4028 wont PWN ratOS 2.0 EBB42 1.2
Cant PWM the fan, PWM (brown) connected to PA1 on the EBB +/- connected to Octopus 1.1
32 Replies
fair-rose•2y ago
On line 325-327 Instead of
Try:
fan_toolhead_cooling_pin points to the hotend cooling pin on the octopus. You want the part cooling pin on the toolboard which is
toolboard:fan_part_cooling_pin
. But you can just use the include 🙂
You can also just use PA0 directly. Like:
provided toolboard:fan_part_cooling_pin
isn't used elsewhere in the config.
I just realized you did connect it to the toolhead cooling pin (PA1) for some reason.. why is that? Do you want to cool your hotend with the 4028?
You should connect it to PA0, like the wiring diagram shows.
Else you'd have to change the [heater_fan toolhead_cooling_fan]
as well. Easier to just stick to the defaults.fair-rose•2y ago
I looked at 1.0 diagram thats why 🤯
I will give it a go and try ❤️
They're the same 😄
Oh your mean the pinout from BTT
fair-rose•2y ago
So i run like this
[fan]
pin: !toolboard:PA0
cycle_time: 0.00004
enable_pin: PA9
but fan keeps on spinning at 0%
tryed the other config suggestions aswell,same result
And you have the negative wire from the fan connected to PA9 on your control board?
this shouldn't even be necessary for the 001, it shuts off at 0% by itself, only the 003 doesn't
fair-rose•2y ago
Maybe its a fake? =/
that is possible. But if you have the negative wire connected to PA9 there's no way it can spin at 0% because there's no power.
So check your wiring 🙂
fair-rose•2y ago
I dont know,can't find PA9 on the wiring pinout and PA8 aint working at all,FAN6/Fan7/ headers the fan spinns. i will keep working on this tomorrow,thanks for the help ❤️
Then why did you use PA9 in the first place?
I'm not sure what you're doing here. If you didn't connect the negative wire of the fan to a heater port on your main board, don't use the enable_pin.
Did you follow the guide?
fair-rose•2y ago
ya trying atleast,not very good it seam (the following part no the guide) 😳
aight fair enough, when you get back to it tomorrow, try wiring the negative wire of the fan (the black wire), to the negative terminal on a spare heater port on your control board, then use that pin as the
enable_pin
then it'll stop spinning at 0%.
As klipper will cut power via that negative heater port terminal.I am trying to wire the 9GAX0412P3S001 to the EBB36 (with a step-down converter to reduce the power from 24 to 12V). I have the Red wire to V-in of FAN 1 on the EBB36, the Black wire to GND of the RGB header, the brown wire to PA0 and the Yellow wire to PD3 (RGB header). printer.cfg:
[fan]
pin: !toolboard:fan_part_cooling_pin
cycle_time: 0.00004 #25kHz
tachometer_pin:^toolboard:PD3
tachometer_poll_interval: 0.0005
#shutdown_speed: 0
#enable_pin:toolboard:fan_part_cooling_pin
This results in "Always on", also if I remove ! at pin... Could you maybe push me in the right direction (again....)
Wait are you running the entire toolboard on 12V?
HAHA,... no,...(I carefully frased thsi wrong...) Only between the Fan wires is a step down converter
Which fan wires
(these should not be in plural 😄 )
Only the VIN (red) should go through the step down
And you should connect the grounds of the step down and the EBB.
the Red and the Black. (FAN1 Vin and GND)
I guess that should work
Try connecting the black fan wire back to a gnd port on the EBB42
it works now, but goes 100% intill PWM signal is received. I read the part in Klipper config ref, stating:
#enable_pin:
Optional pin to enable power to the fan. This can be useful for fans
with dedicated PWM inputs. Some of these fans stay on even at 0% PWM
input. In such a case, the PWM pin can be used normally, and e.g. a
ground-switched FET(standard fan pin) can be used to control power to
the fan.
But I do not know what to define as enable pin
Obviously still having the step down connected to both VIN and GND.
Yes that is the default. There is no unused controllable pin on the toolboard that can handle the current of that fan.
So either you live with that, or you run the fan ground back to your control board.
Obviously the far easier way to do this is to just run 12V and Ground from your control board.
It's 2 wires. You'll be ok.. 😂
ground connected to a spare heater port on the control board (which you then use as the enable_pin)
Yep, that is most easy, but is against my principles,... \bought the stupid EBB36, Bought the expensive USB cable, designed a tool-board-holder thingy, bought the step down converter,.... only to add 2 wires,... You are right, I know,... but I am not ready for it... :-),... I can learn to live with it, I think!
Thanx! I begin to understand the logic of the Heater pin.... The Board cuts all grounds of heater pins in case of shutdown?
haha i totally get that 🙂
It does that too, but the point is the gnd's are controllable (GPIO + mosfet) on the heater ports, and they're made to handle 4A+, so you can turn them on/off programatically using
enable_pin
.
It also fixes the case where you have a fan that doesn't turn off at 0%Thanx for your assistance again! (Do you actually get any printing done? You must be on Discord 20 hrs/day? Highly appreciate!!!!!!!!!)
Haha, i do get some other stuff done 😄
you're welcome 🙂
Took all night,... set away my pride and principles,... ran 2 wires,...12V now from Manta M8P FAN4, ground to HE3 (PE1) as enable... Just can't get the TACH working on EBB36 RGB header (PD3),... tried
tachometer_pin:^toolboard:PD3
moved the ^,.. till after "toolboard:" (gave error),.. tried removing the ^,... going to see if I have a spare pin left over somewhere else,
connected to connector PB7 and now all works.
For future reference:
[fan] #config for the 4028 12V server fan connected to MantaM8P. 12V to FAN4 VF4, GND to Heater3 PE1 as Enable_pin
pin: !toolboard:fan_part_cooling_pin
cycle_time: 0.00004 #25kHz
tachometer_pin:^toolboard:PB7
tachometer_poll_interval: 0.0005 # will support up to a 30.000 RPM fan with 2 pulses per rotation.
enable_pin:PE1
When my 4028 fan will arrive, probably I will modify klipper firmware sources to output PWM at mcu boot, if I will succeed, will share it there…
@arthur_cos did Sanyo fan completely stop after full boot of klipper? I mean - without extra wires and enable pin.
If this 4028 fans does not stop even at 0 PWM, then probably my fix would be worthless
Well, I sort of listened to @miklschmidt ... I assumed the 100% fan is due to the design of the fan (no pwm is 100% on). When fully booted, the fan goes to 0% (as it receives a 0% PWM signal). Fact remains that if klipper kills itself or you are shutting down or in the process of booting (so no O.S. yet) then there is no PWM, no matter how good of programer you are.... I choose to run 2 wires (12 Volt and GND). Connected the 12V to FAN4 on Manta M8P and connected the ground to a Heater - ground pin which I defined as enable pin. Problem sorted.
So Yes, the fan stops if it receives 0% PWM
Then there is a hope, thanks 8)
It runs at 100% because it does not receive signal from MCU(toolboard), and toolboard won’t send it until receive command from klipper, which well - boots, but it does not mean that MCU is not capable to produce such signal. I guess currently BTT v1.0 boards does the same what I purpose, as by default their heater pin is enabled, but it does not heap up all the time before klipper boots. This solution will still have 100% fan running for some time, but it would be fractions of the second, as firmware on toolboard still needs some time to boot.
But you are right, there is no reason to discuss this topic further until I succeed or fail with this plan😁
Sorry for hijacking of the thread.
Double check, it did so without extra wires connected to heater pins?
@arthur_cos I managed to do it, even without sources modification.
If someone interested in details, feature called CONFIG_INITIAL_PINS in klipper “make menuconfig”, just put there pin number and reflash
Only reason this isn't default already is because it makes all other fans go brrr 🙂
Yep, but - no need for enable pin😂 If you connect to main MCU - not an issue, but toolboards typically have only one heater pin.