Print cooling fan runs at full blast allways
-
@Snippy if you want PWM control, you need to invert the fan pin.
see here for 4 wire fans (towards the bottom of the example)
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Fans_connecting#firmware-settings -
@jay_s_uk
invert what? its a 3 wire fan not 4. -
@Snippy if its a 3 wire fan then you connecting it to the PSU it'll always be on.
You still need to connect it to at least the ground connection of out4.
the tacho connection does nothing more than read the RPM -
@jay_s_uk
Print cooling fan is conected to the duet, out4
Other fans are hooked to the psu directly.I need to controll the fan connected to out4, ofc i cant controll stuff that is directly conected to psu.
-
@Snippy post your whole config
-
; Smart Drivers
M569 P0.0 S1 D3 V2000 ; driver 0.0 goes forwards (extruder 0)
M569 P0.1 S0 D3 V2000 ; driver 0.1 goes forwards (Z axis)
M569 P0.2 S0 D3 V2000 ; driver 0.2 goes forwards (Z axis)
M569 P0.3 S0 D3 V2000 ; driver 0.3 goes backwards (X axis)
M569 P0.4 S0 D3 V2000 ; driver 0.4 goes backwards (Y axis); Motor Idle Current Reduction
M906 I30 ; set motor current idle factor
M84 S30 ; set motor current idle timeout; Axes
M584 X0.3 Y0.4 Z0.1:0.2 ; set axis mapping
M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
M906 X1040 Y1040 Z1040 ; set axis driver currents
M92 X80 Y80 Z800 ; configure steps per mm
M208 X0:400 Y0:400 Z0:220 ; set minimum and maximum axis limits
M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z360 ; set maximum speeds (mm/min)
M201 X500 Y500 Z20 ; set accelerations (mm/s^2); Extruders
M584 E0.0 ; set extruder mapping
M350 E16 I1 ; configure microstepping with interpolation
M906 E940 ; set extruder driver currents
M92 E409 ; configure steps per mm
M566 E120 ; set maximum instantaneous speed changes (mm/min)
M203 E3600 ; set maximum speeds (mm/min)
M201 E250 ; set accelerations (mm/s^2); Kinematics
M669 K1 ; configure CoreXY kinematics; Endstops
M574 X1 P"!io1.in" S1 ; configure X axis endstop
M574 Y1 P"!io2.in" S1 ; configure Y axis endstop
M574 Z1 P"!io3.in" S1 ; configure Z axis endstop; Sensors
M308 S0 P"temp1" Y"thermistor" A"Heated Bed" T100000 B3950 C7.06e-8 ; configure sensor #0
M308 S1 P"temp0" Y"thermistor" A"Nozzle" T100000 B4725 C7.06e-8 ; configure sensor #1; Heaters
M950 H0 C"out0" T0 ; create heater #0
M143 H0 P0 T0 C0 S110 A0 ; configure heater monitor #0 for heater #0
M307 H0 R2.43 D5.5 E1.35 K0.56 B1 V24 ; configure model of heater #0
M950 H1 C"out1" T1 ; create heater #1
M143 H1 P0 T1 C0 S300 A0 ; configure heater monitor #0 for heater #1
M307 H1 R2.43 D5.5 E1.35 K0.56 B0 V24 ; configure model of heater #1; Heated beds
M140 P0 H0 ; configure heated bed #0; Fans
M950 F0 C"out4+out4.tach" ; create fan #0
M106 P0 C"PCF" S0 L0 X1 B0.1 ; configure fan #0; Tools
M563 P0 D0 H1 F0 ; create tool #0
M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C; Miscellaneous
T0 ; select first toolOnly fan connected to the duet is the print cooling
-
@Snippy can you post a photo of your wiring at the duet side?
-
-
@Snippy you have it wired incorrectly
you have it wired into GND, V_OUTLC1 and out4.tach.
The GND connection (black wire) should be connected to out4 otherwise it'll always be on -
@jay_s_uk
Fixed it, now its at 0 or 7500rmp.
aint there suposed to be a Q value on M950 to controll the fan curve? -
@Snippy the Q value if the frequency for the PWM. If your fan control is fine than you probably don't need to change it.
-
@jay_s_uk
There is no Q value, tried 500, no effect, 15000 fan works from 85% on dwc to 99% on fan