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

Duetwifi solenoid connection

Scheduled Pinned Locked Moved
CNC
duet wifi pwm control
3
18
1.2k
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.
  • undefined
    edmundas323
    last edited by 2 Feb 2020, 10:56

    Hi guys,
    I have a workbee with duetwifi and I am using it for woodworking. At the moment I have attached to my cnc air blow and I use it manually with my hand to open or close before starting a gcode. What I would like to do is to use fan0 pwm port to open or close the valve with gcode command. As I undersrand it is possible with relay, diode and solenoid. Coul you please help me out what is the right way to do it? I am a woodworker and I would appreciate very clear advices and comments as I do not have any electrical background.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 2 Feb 2020, 11:12

      Depending on how much current the solenoid uses, you may be able to drive it directly from a fan output, if the voltage it needs is the same as VIN. if it needs a little more current than a fan output can drive, you cold use a heater output instead, but then you will also need to add a flyback diode.

      Do you have the details of the solenoid?

      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

      undefined 1 Reply Last reply 2 Feb 2020, 11:52 Reply Quote 0
      • undefined
        edmundas323 @dc42
        last edited by 2 Feb 2020, 11:52

        @dc42 I would like to use something like that:

        Solenoid Valve Model : 2W-025-08
        Body Material : Brass
        Working fluid : air, water, oil
        Type : normally closed
        Take over pore diameter : 1/4 "
        Flow pore diameter : 2.5mm
        Seal Material : NBR
        Voltage : 12V DC
        Pressure range : 0 - 1.0Mpa
        Fluid temperature : -5 - 100 ℃

        I would like to connect it to my existing air system with 1/4 inch connection. It seems that it uses 12 DC power. How should I connect it correctly? Should I use realy with diode? If yes, any spwcifig diode and relay needed?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 2 Feb 2020, 13:47

          @edmundas323 said in Duetwifi solenoid connection:

          2W-025-08

          According to https://www.amazon.com/creatorele-2W-025-08-Electric-Solenoid-Diesel/dp/B074BZD4JT that valve draws 1.4A. So you could drive it directly from a fan output. There is also a 24V model, see https://www.amazon.co.uk/Heschen-Electric-Solenoid-Normally-Replacement/dp/B071NVVTTQ.

          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

          undefined 1 Reply Last reply 2 Feb 2020, 18:44 Reply Quote 0
          • undefined
            edmundas323 @dc42
            last edited by 2 Feb 2020, 18:44

            @dc42 I am lost here, so I can connect this solendoid valve even if it is 12V or 24V to the fan0 pwm port? How is it possible ir duet port is just 5V?

            undefined 1 Reply Last reply 3 Feb 2020, 15:14 Reply Quote 0
            • undefined
              dc42 administrators @edmundas323
              last edited by 3 Feb 2020, 15:14

              @edmundas323, what VIN voltage will you provide to the Duet? Normally 12V or 24V.

              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

              undefined 1 Reply Last reply 3 Feb 2020, 15:25 Reply Quote 0
              • undefined
                edmundas323 @dc42
                last edited by 3 Feb 2020, 15:25

                @dc42 I use from Ooznest it is 24.4V. But as I understand fan0 port provides 1.5A and 5V or I am missing here something?

                undefined undefined 2 Replies Last reply 3 Feb 2020, 15:41 Reply Quote 0
                • undefined
                  richardmckenna @edmundas323
                  last edited by 3 Feb 2020, 15:41

                  @edmundas323 there is a jumper just below the fan connectors that allows you to select 5V or VIN. If VIN is selected on the jumper it will supply all the fans with 24V from the power supply.

                  undefined 1 Reply Last reply 3 Feb 2020, 15:52 Reply Quote 0
                  • undefined
                    edmundas323 @richardmckenna
                    last edited by 3 Feb 2020, 15:52

                    @richardmckenna that is an amazing info. I can see where 5V is written the pin is without the cover, and nearly I can see plastic part covering v_fan and vin, so it means it is 24V powered?

                    undefined 1 Reply Last reply 3 Feb 2020, 16:07 Reply Quote 0
                    • undefined
                      dc42 administrators @edmundas323
                      last edited by 3 Feb 2020, 15:58

                      @edmundas323 said in Duetwifi solenoid connection:

                      @dc42 I use from Ooznest it is 24.4V. But as I understand fan0 port provides 1.5A and 5V or I am missing here something?

                      The fan ports are switchable (as a block) between VIN and 5V. So I recommend you purchase the 24V version of that valve. It will also draw half the current of the 12V version. Search for "2W-025-08 24vdc".

                      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

                      undefined 1 Reply Last reply 3 Feb 2020, 16:01 Reply Quote 0
                      • undefined
                        edmundas323 @dc42
                        last edited by 3 Feb 2020, 16:01

                        @dc42 Thank you guys, you are amazing. And the command in the gcode is m106 0 255?

                        undefined 1 Reply Last reply 3 Feb 2020, 16:06 Reply Quote 0
                        • undefined
                          dc42 administrators @edmundas323
                          last edited by 3 Feb 2020, 16:06

                          @edmundas323 said in Duetwifi solenoid connection:

                          @dc42 Thank you guys, you are amazing. And the command in the gcode is m106 0 255?

                          You can use M106 P# S1.0 or M106 P# S255, where # is the fan number. If you will keep the solenoid energised for a long time, then you may wish to reduce the current after a second or so to reduce heating. For example M106 P# S0.5 will reduce it to half current.

                          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

                          undefined 2 Replies Last reply 3 Feb 2020, 16:17 Reply Quote 0
                          • undefined
                            richardmckenna @edmundas323
                            last edited by 3 Feb 2020, 16:07

                            @edmundas323 yeah take a look here https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams you want the jumper on the VIN and V_FAN pins.

                            undefined 1 Reply Last reply 3 Feb 2020, 16:18 Reply Quote 0
                            • undefined
                              edmundas323 @dc42
                              last edited by 3 Feb 2020, 16:17

                              @dc42 thank you for you help. Amazing support.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                edmundas323 @richardmckenna
                                last edited by 3 Feb 2020, 16:18

                                @richardmckenna thank you so much for you support. Very, very helpful.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  edmundas323 @dc42
                                  last edited by 3 Feb 2020, 16:28

                                  @dc42 I am planning to use solenoid open when router bit hits the aluminum surface, basically to blow the mist, usually it takes about 7 minutes, do you think it might be a problem to keep ot open that long?

                                  undefined 1 Reply Last reply 3 Feb 2020, 17:22 Reply Quote 0
                                  • undefined
                                    dc42 administrators @edmundas323
                                    last edited by 3 Feb 2020, 17:22

                                    @edmundas323 said in Duetwifi solenoid connection:

                                    @dc42 I am planning to use solenoid open when router bit hits the aluminum surface, basically to blow the mist, usually it takes about 7 minutes, do you think it might be a problem to keep ot open that long?

                                    Probably not, but it's so easy to reduce the current after pull-in that you might as well. Most solenoids need much less current to hold position than they do to pull in.

                                    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

                                    undefined 1 Reply Last reply 3 Feb 2020, 18:56 Reply Quote 0
                                    • undefined
                                      edmundas323 @dc42
                                      last edited by 3 Feb 2020, 18:56

                                      @dc42 wow, thats a good thing to know. As I understand when I open the valve, I can just after few second use same comand with half of power just to keep everything open. Amazing 🙂

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