Fan Controll Issue
-
Hi all Help Appreciated. So I have everything except my Parts cooling fans working. I cannot get them to turn on when i use the fan slider in the web interface, nor on the panel due. The sliders work OK, in other words what i set the slider % to on the web interface is reflected on the panel due as the same.
However even when i get the temps up on the hot end and even the bed, just in case, the fans do not rotate. I know they work as they where working with a slider on the old firmware, with assignment issues, but they worked. Any help appreciated.
Below are the facts.-
The fans are physically connected to the fan pin 1 not 0. For some reason pin 0 is faulty and hasn't worked, however pin 1 has.
-
The hot end fan is connected to always on and works fine.
I have tried a number of config.g settings but no positive results. It almost like this pin is no not working as well. Not sure if there is something physical to look at like a fuse??
here is part of my config.g settings and a pic.
; ##### Heaters #####
; ===================
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 A94.6 C545.4 D2.4 S1.00 V24.1 B0 ;PID tuning for Bed
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 A309.5 C152.4 D4.9 S1 S1 V24.1 ;PID tuning for Nozzel
M143 H1 S310 ; set temperature limit for heater 1 to 310C; ##### Fans #####
; =================M950 F0 C"fan0" Q500 ; create fan 0 and fan1 on pin0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"Parts Fan" Q500 ; create fan on pin1 and set its frequency
M106 P1 S1 L41 X255 B1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on; ##### Tools #####
; =================
M563 P0 S"Mosquito" D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0CThe fans work together in the red circle, that's OK. The problem is the parts cooling fans on fan pin 1 don't spin up.
Any help or advice appreciated.
-
-
@PeterA said in Fan Controll Issue:
The fans are physically connected to the fan pin 1 not 0
M950 F0 C"fan0" Q500 ; create fan 0 and fan1 on pin0 and set its frequency
do you see the problem?
-
-
@Veti
Not sure, is the F) meant to read F1?
Im no programmer. -
you said its connected to pin 1 but you configured pin0 "fan0" is the pin on the board
-
@Veti said in Fan Controll Issue:
Parts Fan
Ok so should it read
M950 F1 C'fan1" Q500
and then
M950 F1 C"fan1" Q500or do i just put that in once?
-
@PeterA said in Fan Controll Issue:
if you connect the second fan to always on you can not control it.
therefore the config to control the fan is not required
delete
M950 F1 C"Parts Fan" Q500 ; create fan on pin1 and set its frequency
M106 P1 S1 L41 X255 B1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on -
and dont change the f parameter
-
Thank ok ill delete it. then do i change the other code to
M950 F1 C"fan1" Q500Its not my field o expertise?
-
again dont change the f parameter
-
sorry didnt see that
-
if you change the config. its a good idea to read the documentation what the parameters do.
e.g
https://duet3d.dozuki.com/Wiki/Gcode#Section_M950_Create_heater_fan_or_GPIO_servo_pin -
Ok I'm trying this, hope I understood correctly, I've been through that document but I'm not getting it I guess. Its not through lack of trying
; ##### Fans #####
; =================M950 F0 C"fan1" Q500 ; create fan 0 and fan1 on pin0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
;M950 F1 C"Parts Fan" Q500 ; create fan on pin1 and set its frequency
;M106 P1 S1 L41 X255 B1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on -
It's not working. Or did I misunderstand and I cant control them??
-
The tool fan or hot end fan is always on and i don't want to control that, the parts cooling fan is connected to the pin in the diagram that i circled, and that's the one i want to control. I can not get them to come on at all anymore.
-
@PeterA said in Fan Controll Issue:
The tool fan or hot end fan is always on and i don't want to control that, the parts cooling fan is connected to the pin in the diagram that i circled, and that's the one i want to control. I can not get them to come on at all anymore.
check that the fan is working by connecting it to the always on fan.
however, if you for example swapped the polarity by mistake and connect the fan, you can blow the mosfet. then the port will either stay on or off, depending on how the mosfet failed.
-
Thanks, I didn't change the connections and it was working, I'm not sure. The first pin Pin0 failed a while back so if you say the config is ok then I guess i have a failed mosfet. Not sure if that's changeable, I've changed a few on my Arduino board.
-
issue
M106 P0 S1see if the fan turns on.
if not. try fan2 port
-
and just to be sure. you restarted the duet after you made those changes?
-
Thanks ill go try, the software rebooted the duet, ill try turn in off and on physically now