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

    Wiring PWM Air Pump

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    10
    874
    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.
    • Surgikillundefined
      Surgikill
      last edited by

      Hey guys. I'm looking to set up a PWM air pump on my printer. I picked one up online and it has 3 wires on it. A positive, a negative, and a signal. I'm not quite sure on how to hook it up. I'm guessing that the signal will go into one of the fan headers, and the positive and negative to the power supply. I don't know how to hook the pwm up to the fan header though. Any ideas?

      1 Reply Last reply Reply Quote 0
      • gtj0undefined
        gtj0
        last edited by

        Are you sure the "signal" wire is a PWM control and not a tachometer output?

        1 Reply Last reply Reply Quote 1
        • Surgikillundefined
          Surgikill
          last edited by

          I just looked at the description and it says that the purple line signal is output, so I'm guessing it is indeed a tachometer. My next dumb question, can I hook this up to a heater output instead of a fan output? I think it's going to draw too much current from the fan mosfets, so I'd rather control it with a heater mosfet. If it's an issue I can run a SSR on it.

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

            Yes you can connect it to a heater output and map a fan to it, using the A parameter in the M106 command.

            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

            Surgikillundefined 1 Reply Last reply Reply Quote 1
            • Surgikillundefined
              Surgikill @dc42
              last edited by

              @dc42 Thanks. Where would I find a pinout for all the logical pins on the duet wifi and the duex5?

              DocTruckerundefined 1 Reply Last reply Reply Quote 0
              • DocTruckerundefined
                DocTrucker @Surgikill
                last edited by DocTrucker

                @surgikill https://github.com/T3P3/Duet

                Edit: if running low on fan outputs I think you could use an SSR/MOSFET board driven ftom the fan output.

                Double check the heater output is protected with flyback/flywheel diodes. Probably best to add those diodes to the motors so your pump power leads don't act like a (noise) transmitting aerial with the inductive kick back.

                Edit 2: I can't see any flyback protection on the heater outputs, most likely allow people to drive the heaters separately without back feeding voltage to the V_IN. Therefore flyback/freewheel diodes on the pump motor are essential.

                Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                1 Reply Last reply Reply Quote 0
                • gavatron3000undefined
                  gavatron3000
                  last edited by

                  I put a fly back diode on my pump and run it from the heater output. Works a charm. I bought an in rush thermistor but haven't installed it and it's been fine so far. Average 7 amps inrush and settles around 1 amp when at speed

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

                    The logical pin mapping is at https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers.

                    As others have already said, when using a heater output to drive a brushed DC motor or other inductive load, you must connect an external flyback diode. The peak current rating of the flyback diode should be at least the maximum motor current. The average rated current can be about half that.

                    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

                    Surgikillundefined 1 Reply Last reply Reply Quote 1
                    • Surgikillundefined
                      Surgikill @dc42
                      last edited by

                      @dc42 This is a brushless setup. Here's a link to it.

                      https://www.ebay.com/itm/Nidec-DC-Brushless-Diaphragm-Pump-Vacuum-Air-Pump-Negative-Pressure-Large-Flow/264045652625?hash=item3d7a58ea91:g:WH8AAOSwoZlb6-aQ\

                      Do I still need a flyback diode for a brushless setup?

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

                        Brushless motors don;t normally need flyback diodes. However, they may not work well with PWM, unless you use an LC smoothing network (and then you also need a flyback diode) before the pump.

                        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

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