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

    Control 5V fan speed on 5v_pwm port

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    10
    351
    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.
    • ctilley79undefined
      ctilley79
      last edited by

      Questions about 5V out on a Duet 3 Mini 5

      Ok. I'm trying to pwm control this case fan. I can't seem to find the pin name, and I want to make sure I understand this correctly. It seems pwm for this port is shared with out_6. Does that mean if I have another fan on out_6, the pwm will apply the same value to both the 5v pwm port and fan I have hooked up to the regular out_6? I'm also not sure what buffered means. Can anyone shed some light? Would I be better off using an IO port for the fan?

      b9de096c-2e11-411c-a12d-5384f91e2318-image.png

      jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @ctilley79
        last edited by

        @ctilley79 yes, that pin is shared with out6 so whatevers going on on out6 will go on here too.
        It's buffered because the MCU is 3.3v and the buffered outputs are "buffered" to output 5v

        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

        ctilley79undefined 1 Reply Last reply Reply Quote 0
        • ctilley79undefined
          ctilley79 @jay_s_uk
          last edited by

          @jay_s_uk Ok. so this isn't an option for me then. Can I use an I/O port to power a fan? Is there enough power there?

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

            @ctilley79 no, you can't control a fan from an IO. You could use a spare heater output if you have one

            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

            ctilley79undefined 1 Reply Last reply Reply Quote 0
            • ctilley79undefined
              ctilley79 @jay_s_uk
              last edited by

              @jay_s_uk A spare heater runs at Vin though. I'll probably move my part fan to out_3. That should do the trick.

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

                @ctilley79 PWM switches the negative side, not the positive. So you could probably still use a heater port as @jay_s_uk suggested. This is untested but if you connect the positive side of the fan to a 5v source somewhere, then connect the negative side to the negative of a heater connection, it should work.

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

                jay_s_ukundefined ctilley79undefined 2 Replies Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @deckingman
                  last edited by

                  @deckingman yes, that will work

                  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

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @ctilley79
                    last edited by

                    @ctilley79 is the 5V fan a 2-wire or a 4-wire fan? It should be possible to run a 5V 4-wire fan from that 5V PWM port, but not a 2-wire fan.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    ctilley79undefined 1 Reply Last reply Reply Quote 0
                    • ctilley79undefined
                      ctilley79 @dc42
                      last edited by

                      @dc42 said in Control 5V fan speed on 5v_pwm port:

                      be

                      It's a 2 wire fan, so that probably explains the issue.

                      1 Reply Last reply Reply Quote 0
                      • ctilley79undefined
                        ctilley79 @deckingman
                        last edited by

                        @deckingman That did the trick. Thank you

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