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

    Duet Wifi - how to set cooling fan?

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    29
    961
    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.
    • eranglrundefined
      eranglr @jay_s_uk
      last edited by

      @jay_s_uk My cooling fan is connected to FAN0, but when sending M106 S0 it doesn't do anything (it's always on).

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        is it always on when the sd card is not inserted into the board and then the board is powered on?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        eranglrundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @eranglr
          last edited by droftarts

          @eranglr You have it mapped to the tool T0 with M563 P0 D0 H1 F0. So it won't be active until the tool is active. Actually, that's not it at all!

          Check that you have connected the fan to FAN0, and not the 'Always on' pins. See the wiring diagram: https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          eranglrundefined 2 Replies Last reply Reply Quote 0
          • eranglrundefined
            eranglr @droftarts
            last edited by

            @droftarts connected it to FAN0 (not always on).

            The fan is always on even when I turn the duet with no SD card inside.

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • eranglrundefined
              eranglr @droftarts
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @eranglr
                last edited by

                @eranglr Can you send M122 and post the reply?

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                eranglrundefined 1 Reply Last reply Reply Quote 0
                • eranglrundefined
                  eranglr @jay_s_uk
                  last edited by

                  @jay_s_uk yes, it is.
                  Could it be a jumper or something like that?

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • eranglrundefined
                    eranglr @droftarts
                    last edited by

                    @droftarts
                    M122
                    === Diagnostics ===
                    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2.2 running on Duet WiFi 1.02 or later
                    Board ID: 08DJM-9178L-L4MSJ-6J1FL-3SN6T-TV16Q
                    Used output buffers: 3 of 24 (11 max)
                    === RTOS ===
                    Static ram: 23460
                    Dynamic ram: 73136 of which 40 recycled
                    Never used RAM 15444, free system stack 182 words
                    Tasks: NETWORK(ready,188) HEAT(blocked,308) MAIN(running,379) IDLE(ready,20)
                    Owned mutexes: WiFi(NETWORK)
                    === Platform ===
                    Last reset 00:00:43 ago, cause: power up
                    Last software reset at 2021-02-24 17:24, reason: User, GCodes spinning, available RAM 15444, slot 1
                    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
                    Error status: 0x00
                    Aux0 errors 0,0,0
                    MCU temperature: min 35.1, current 38.2, max 38.5
                    Supply voltage: min 26.8, current 26.9, max 27.2, under voltage events: 0, over voltage events: 0, power good: yes
                    Driver 0: position 0, standstill, SG min/max not available
                    Driver 1: position 0, standstill, SG min/max not available
                    Driver 2: position 0, standstill, SG min/max not available
                    Driver 3: position 0, standstill, SG min/max not available
                    Driver 4: position 0, standstill, SG min/max not available
                    Driver 5: position 0
                    Driver 6: position 0
                    Driver 7: position 0
                    Driver 8: position 0
                    Driver 9: position 0
                    Driver 10: position 0
                    Driver 11: position 0
                    Date/time: 2021-02-24 17:40:35
                    Cache data hit count 51187488
                    Slowest loop: 4.02ms; fastest: 0.21ms
                    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                    === Storage ===
                    Free file entries: 10
                    SD card 0 detected, interface speed: 20.0MBytes/sec
                    SD card longest read time 0.9ms, write time 0.0ms, max retries 0
                    === Move ===
                    DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                    === MainDDARing ===
                    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === AuxDDARing ===
                    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === Heat ===
                    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                    === GCodes ===
                    Segments left: 0
                    Movement lock held by null
                    HTTP is idle in state(s) 0
                    Telnet is idle in state(s) 0
                    File is idle in state(s) 0
                    USB is idle in state(s) 0
                    Aux is idle in state(s) 0
                    Trigger is idle in state(s) 0
                    Queue is idle in state(s) 0
                    LCD is idle in state(s) 0
                    Daemon is idle in state(s) 0
                    Autopause is idle in state(s) 0
                    Code queue is empty.
                    === Network ===
                    Slowest loop: 16.13ms; fastest: 0.00ms
                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                    HTTP sessions: 1 of 8

                    • WiFi -
                      Network state is active
                      WiFi module is connected to access point
                      Failed messages: pending 0, notready 0, noresp 0
                      WiFi firmware version 1.23
                      WiFi MAC address bc:dd:c2:31:9f:e7
                      WiFi Vcc 3.37, reset reason Turned on by main processor
                      WiFi flash size 4194304, free heap 24208
                      WiFi IP address 192.168.202.42
                      WiFi signal strength -64dBm, mode none, reconnections 0, sleep mode modem
                      Clock register ffffffff
                      Socket states: 0 0 0 0 0 0 0 0
                    1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @eranglr
                      last edited by

                      @eranglr my guess is you've blown the fan mosfet.
                      Can you take a high quality close up photo of the area around the connector, specifically the area between the fan connectors and the two LCD headers

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      eranglrundefined 1 Reply Last reply Reply Quote 0
                      • eranglrundefined
                        eranglr @jay_s_uk
                        last edited by

                        @jay_s_uk This is a brand new card, so I doubt if I blow the MOSFET.

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk
                          last edited by

                          ok then, i'll let someone else step in and support

                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                          eranglrundefined 1 Reply Last reply Reply Quote 0
                          • eranglrundefined
                            eranglr @jay_s_uk
                            last edited by

                            @jay_s_uk Just for fun, where's the mosfet, and are there 3 mosfet (one for each fan)?

                            1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @eranglr
                              last edited by

                              @eranglr And it would be very unlucky if it's blown all the mosfets, as he said it was the same for FAN1 and FAN2.

                              Is there any chance the fan you are using is shorting out to ground somewhere else? Is it wired directly to the fan pin, or does it go through something else?

                              The MOSFETs work on the negative side of the fan, so the fan gets +ve volts all the time, so if there is a short on the negative side, it will always be on.

                              If you can post a photo of your wiring, that may help.

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              eranglrundefined 2 Replies Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk
                                last edited by

                                they are here for reference 10b2e7f9-cc90-49a5-bcb0-c07ccba44c43-image.png

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                eranglrundefined 1 Reply Last reply Reply Quote 0
                                • eranglrundefined
                                  eranglr @jay_s_uk
                                  last edited by

                                  @jay_s_uk Doesn't look burnt.

                                  1 Reply Last reply Reply Quote 0
                                  • eranglrundefined
                                    eranglr @droftarts
                                    last edited by

                                    @droftarts The fan should be connected directly, but I'll check again to make sure.

                                    1 Reply Last reply Reply Quote 0
                                    • eranglrundefined
                                      eranglr @droftarts
                                      last edited by

                                      @droftarts Well, you were right!!
                                      I connected a different fan directly and it worked perfectly.
                                      I guess that the fan minus is touching the ground somewhere.. I'll need to check where.
                                      Thank you!!

                                      droftartsundefined 1 Reply Last reply Reply Quote 1
                                      • droftartsundefined
                                        droftarts administrators @eranglr
                                        last edited by

                                        @eranglr You're welcome!

                                        Ian

                                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                        eranglrundefined 1 Reply Last reply Reply Quote 0
                                        • eranglrundefined
                                          eranglr @droftarts
                                          last edited by

                                          @droftarts Is there a smart solution to the wiring on my printer:
                                          I have two fans that their negative is shared.
                                          Is there a way to control the cooling fan somehow, or do I have to re-wire the fan to have an isolated ground?

                                          droftartsundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                                          • droftartsundefined
                                            droftarts administrators @eranglr
                                            last edited by

                                            @eranglr I don't really see a way. Fan polarity is important; see https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_fans#Section_Caution
                                            You could wire the positives together, but to switch them individually, you need the negative side connected to individual fan (or heater) MOSFETs. You may also have problems if the fans draw different current. Best to wire them separately.

                                            Ian

                                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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