Creating thermostatic fan without heater



  • Just trying to setup a thermostatic fan for my duet board cooling using a thermistor on e0temp . Whats tripping me up is would i need to create a new heater or can i just assign a sensor number? im using a thermocouple in place of my old e0 thermistor.

    sample of what im trying put in my config
    Heaters;
    M308 S3 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 3 as thermistor for board temp

    ;fans

    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P1 S1 H# T50 ; set fan 1 value. Thermostatic control is turned on

    Hes a copy of my config, fan2 thermostic control is currently off but the plan is to get it to turn on when e0 temp is above 50c

    ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S115 ; set temperature limit for heater 0 to 115C
    M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create chamber heater output on e1heat and map it to sensor 2
    M307 H2 B1 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit
    M141 H2 ; map chamber to heater 2
    M143 H2 S75 ; set temperature limit for Chamber to 75C

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off


  • administrators

    As you are using RRF3 you can just create a sensor. No heater needed.



  • yes i am. so would i replace h# with s3


  • administrators

    @davidvh86 said in Creating thermostatic fan without heater:

    yes i am. so would i replace h# with s3

    The parameter in M106 is still H but its value in RRF3 is a sensor number, not a heater number.


Log in to reply