Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Water cooler fan configuration.

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    3
    3
    204
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wladekczundefined
      Wladekcz
      last edited by

      Hello.
      Can you help me create a water cooler temperature sensor and a thermostatically controlled fan from this sensor?
      Please help.
      Duo3 MB6HC + EXP3HC
      I don't want the fan to run with high hotend temperature and low water temperature.

      Władekcz

      jumpedwithbothfeetundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
      • jumpedwithbothfeetundefined
        jumpedwithbothfeet @Wladekcz
        last edited by

        @Wladekcz you need to connect temperature probe to the board and assign it a pin using M950 then assign it to a sensor and a heater

        M308 S1 P"121.TEMP_0" Y"thermistor" A"Hotend" T100000 B4725 C7.06e-8    ; configure sensor 1 as thermistor on pin temp2
        M950 H1 C"121.out0" T1 ; create nozzle heater output on out1 and map it to sensor 1
        M143 H1 S300    ; set temperature limit for heater 1 to 300C
        M307 H1 B0 S1.00   ; disable bang-bang mode for heater  and set PWM limit
        

        then you need to connect the fan/pump and assign it to the heater

        M950 F1 C"121.out2" Q500   ; create fan 1 on pin out.2(toolboard) and set its frequency (Hotend fan)
        M106 P1 H1 T40 C"Hotend fan"   ; set fan 1 value. Thermostatic control is turned on
        
        M563 P0 S"V6" D0:1 H1 F0                      ; define tool 0
        

        it is worth you going through the Gcode dictionary for each Mcode listed and making sure all values match your set up, I don't know your set up so also be mindful your pump and fan current draw you will most likely need a relay to power the pump.

        hope this helps 🙂

        https://docs.duet3d.com/User_manual/Reference/Gcodes

        6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

        1 Reply Last reply Reply Quote 1
        • deckingmanundefined
          deckingman @Wladekcz
          last edited by

          @Wladekcz If you want to have the water cooler run at coolant temperature rather than hot end temperature then you need to do the following:

          1. Install your coolant temperature sensor

          2. Create the sensor using M308. If you already have a bed and hot end temperature sensors, then this likely be sensor number 2 (the others being S0 and S1). So your sensor will be something like this M308 S2 A"Coolant Temp" P"2.temp2" Y"thermistor" T100000 B4725 C7.06e-8. Changer the "P" to suit the pin that the sensor is connected to. Change "Y" if it's not a thermistor. Change the T B and C parameters to suit the sensor that you are using. The example used is for a commonly used E3D type ntc.

          3. Create the fan using M950. e.g M950 F2 C"0.out8". Change the "C" to suit the pin that it's connected to. Change the "F" if you want to some other fan number of your choice. Make sure it doesn't conflict with any other fan numbers that you might have used.

          4. Use M106 to control the fan. e.g. M106 P2 H2 T40. Where P is the fan number, H is the sensor number, T is the temperature that you want it to switch on at.

          Note. You don't need to create a heater. The "H" parameter is the sensor number (confusing I know).

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA